Git Product home page Git Product logo

wp-rest-api-cache's People

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

wp-rest-api-cache's Issues

Clear cache on post update

Does the cache clear when a post (or page, custom post, etc) is updated or created? Or is there a way I can do that programmatically, eg, a function I can call on the post_updated hook?

POST requests have cache !

Hello,
My POST requests have cache, so how do you disable the cache for POST requests but not for GET requests on the URL wp-json/wp/v2/comments
thanks you
Your plugin is amazing !

Cache producing wrong result when caching Custom Post Types with _embed option

I'm trying to query my custom post type over the WP REST API with the cache plugin enabled.

On first call, or without cache, it renders the following correct JSON output:

[{
    "id": 4220,
    "date": "2016-11-18T15:03:52",
    "date_gmt": "2016-11-18T14:03:52",
    "guid": {
        "rendered": "https:\/\/www.studioimnetz.de\/?post_type=bswp_paedi_winners&p=4220"
    },
    "modified": "2017-08-13T17:57:21",
    "modified_gmt": "2017-08-13T15:57:21",
    "slug": "mrwissen2go",
    "status": "publish",
    "type": "bswp_paedi_winners",
    "link": "http:\/\/localhost\/wordpress_40\/paedi-winners\/mrwissen2go\/",
    "title": {
        "rendered": "MrWissen2go"
    },
    "content": {
        "rendered": "",
        "protected": false
    },
    "author": 1,
    "featured_media": 0,
    "template": "",
    "meta": [],
    "platforms": [2],
    "_links": {
        "self": [{
            "href": "http:\/\/localhost\/wordpress_40\/wp-json\/wp\/v2\/paedi_winners\/4220"
        }],
        "collection": [{
            "href": "http:\/\/localhost\/wordpress_40\/wp-json\/wp\/v2\/paedi_winners"
        }],
        "about": [{
            "href": "http:\/\/localhost\/wordpress_40\/wp-json\/wp\/v2\/types\/bswp_paedi_winners"
        }],
        "author": [{
            "embeddable": true,
            "href": "http:\/\/localhost\/wordpress_40\/wp-json\/wp\/v2\/users\/1"
        }],
        "version-history": [{
            "href": "http:\/\/localhost\/wordpress_40\/wp-json\/wp\/v2\/paedi_winners\/4220\/revisions"
        }],
        "wp:attachment": [{
            "href": "http:\/\/localhost\/wordpress_40\/wp-json\/wp\/v2\/media?parent=4220"
        }],
        "wp:term": [{
            "taxonomy": "platform",
            "embeddable": true,
            "href": "http:\/\/localhost\/wordpress_40\/wp-json\/wp\/v2\/platforms?post=4220"
        }],
        "curies": [{
            "name": "wp",
            "href": "https:\/\/api.w.org\/{rel}",
            "templated": true
        }]
    },
    "_embedded": {
        "author": [{
            "id": 1,
            "name": "benjamin.jentsch",
            "url": "",
            "description": "",
            "link": "http:\/\/localhost\/wordpress_40\/author\/benjamin-jentsch\/",
            "slug": "benjamin-jentsch",
            "avatar_urls": {
                "24": "http:\/\/2.gravatar.com\/avatar\/83bdd363b7932e80b3e1a8d989dc3238?s=24&d=mm&r=g",
                "48": "http:\/\/2.gravatar.com\/avatar\/83bdd363b7932e80b3e1a8d989dc3238?s=48&d=mm&r=g",
                "96": "http:\/\/2.gravatar.com\/avatar\/83bdd363b7932e80b3e1a8d989dc3238?s=96&d=mm&r=g"
            },
            "_links": {
                "self": [{
                    "href": "http:\/\/localhost\/wordpress_40\/wp-json\/wp\/v2\/users\/1"
                }],
                "collection": [{
                    "href": "http:\/\/localhost\/wordpress_40\/wp-json\/wp\/v2\/users"
                }]
            }
        }],
        "wp:term": [
            [{
                "id": 2,
                "link": "http:\/\/localhost\/wordpress_40\/platform\/web\/",
                "name": "Web",
                "slug": "web",
                "taxonomy": "platform",
                "_links": {
                    "self": [{
                        "href": "http:\/\/localhost\/wordpress_40\/wp-json\/wp\/v2\/platforms\/2"
                    }],
                    "collection": [{
                        "href": "http:\/\/localhost\/wordpress_40\/wp-json\/wp\/v2\/platforms"
                    }],
                    "about": [{
                        "href": "http:\/\/localhost\/wordpress_40\/wp-json\/wp\/v2\/taxonomies\/platform"
                    }],
                    "wp:post_type": [{
                        "href": "http:\/\/localhost\/wordpress_40\/wp-json\/wp\/v2\/paedi_winners?platforms=2"
                    }],
                    "curies": [{
                        "name": "wp",
                        "href": "https:\/\/api.w.org\/{rel}",
                        "templated": true
                    }]
                }
            }]
        ]
    }
}]

However, when the cache delivers the cached version from the database, the result is as follows:

[{
    "id": 4220,
    "date": "2016-11-18T15:03:52",
    "date_gmt": "2016-11-18T14:03:52",
    "guid": {
        "rendered": "https:\/\/www.studioimnetz.de\/?post_type=bswp_paedi_winners&p=4220"
    },
    "modified": "2017-08-13T17:57:21",
    "modified_gmt": "2017-08-13T15:57:21",
    "slug": "mrwissen2go",
    "status": "publish",
    "type": "bswp_paedi_winners",
    "link": "http:\/\/localhost\/wordpress_40\/paedi-winners\/mrwissen2go\/",
    "title": {
        "rendered": "MrWissen2go"
    },
    "content": {
        "rendered": "",
        "protected": false
    },
    "author": 1,
    "featured_media": 0,
    "template": "",
    "meta": [],
    "platforms": [2],
    "_links": {
        "self": [{
            "href": "http:\/\/localhost\/wordpress_40\/wp-json\/wp\/v2\/paedi_winners\/4220"
        }],
        "collection": [{
            "href": "http:\/\/localhost\/wordpress_40\/wp-json\/wp\/v2\/paedi_winners"
        }],
        "about": [{
            "href": "http:\/\/localhost\/wordpress_40\/wp-json\/wp\/v2\/types\/bswp_paedi_winners"
        }],
        "author": [{
            "embeddable": true,
            "href": "http:\/\/localhost\/wordpress_40\/wp-json\/wp\/v2\/users\/1"
        }],
        "version-history": [{
            "href": "http:\/\/localhost\/wordpress_40\/wp-json\/wp\/v2\/paedi_winners\/4220\/revisions"
        }],
        "wp:attachment": [{
            "href": "http:\/\/localhost\/wordpress_40\/wp-json\/wp\/v2\/media?parent=4220"
        }],
        "wp:term": [{
            "taxonomy": "platform",
            "embeddable": true,
            "href": "http:\/\/localhost\/wordpress_40\/wp-json\/wp\/v2\/platforms?post=4220"
        }],
        "curies": [{
            "name": "wp",
            "href": "https:\/\/api.w.org\/{rel}",
            "templated": true
        }]
    },
    "_embedded": {
        "author": [
            [{
                "id": 4220,
                "date": "2016-11-18T15:03:52",
                "date_gmt": "2016-11-18T14:03:52",
                "guid": {
                    "rendered": "https:\/\/www.studioimnetz.de\/?post_type=bswp_paedi_winners&p=4220"
                },
                "modified": "2017-08-13T17:57:21",
                "modified_gmt": "2017-08-13T15:57:21",
                "slug": "mrwissen2go",
                "status": "publish",
                "type": "bswp_paedi_winners",
                "link": "http:\/\/localhost\/wordpress_40\/paedi-winners\/mrwissen2go\/",
                "title": {
                    "rendered": "MrWissen2go"
                },
                "content": {
                    "rendered": "",
                    "protected": false
                },
                "author": 1,
                "featured_media": 0,
                "template": "",
                "meta": [],
                "platforms": [2],
                "_links": {
                    "self": [{
                        "href": "http:\/\/localhost\/wordpress_40\/wp-json\/wp\/v2\/paedi_winners\/4220"
                    }],
                    "collection": [{
                        "href": "http:\/\/localhost\/wordpress_40\/wp-json\/wp\/v2\/paedi_winners"
                    }],
                    "about": [{
                        "href": "http:\/\/localhost\/wordpress_40\/wp-json\/wp\/v2\/types\/bswp_paedi_winners"
                    }],
                    "author": [{
                        "embeddable": true,
                        "href": "http:\/\/localhost\/wordpress_40\/wp-json\/wp\/v2\/users\/1"
                    }],
                    "version-history": [{
                        "href": "http:\/\/localhost\/wordpress_40\/wp-json\/wp\/v2\/paedi_winners\/4220\/revisions"
                    }],
                    "wp:attachment": [{
                        "href": "http:\/\/localhost\/wordpress_40\/wp-json\/wp\/v2\/media?parent=4220"
                    }],
                    "wp:term": [{
                        "taxonomy": "platform",
                        "embeddable": true,
                        "href": "http:\/\/localhost\/wordpress_40\/wp-json\/wp\/v2\/platforms?post=4220"
                    }],
                    "curies": [{
                        "name": "wp",
                        "href": "https:\/\/api.w.org\/{rel}",
                        "templated": true
                    }]
                }
            }]
        ],
        "wp:term": [
            [{
                "id": 4220,
                "date": "2016-11-18T15:03:52",
                "date_gmt": "2016-11-18T14:03:52",
                "guid": {
                    "rendered": "https:\/\/www.studioimnetz.de\/?post_type=bswp_paedi_winners&p=4220"
                },
                "modified": "2017-08-13T17:57:21",
                "modified_gmt": "2017-08-13T15:57:21",
                "slug": "mrwissen2go",
                "status": "publish",
                "type": "bswp_paedi_winners",
                "link": "http:\/\/localhost\/wordpress_40\/paedi-winners\/mrwissen2go\/",
                "title": {
                    "rendered": "MrWissen2go"
                },
                "content": {
                    "rendered": "",
                    "protected": false
                },
                "author": 1,
                "featured_media": 0,
                "template": "",
                "meta": [],
                "platforms": [2],
                "_links": {
                    "self": [{
                        "href": "http:\/\/localhost\/wordpress_40\/wp-json\/wp\/v2\/paedi_winners\/4220"
                    }],
                    "collection": [{
                        "href": "http:\/\/localhost\/wordpress_40\/wp-json\/wp\/v2\/paedi_winners"
                    }],
                    "about": [{
                        "href": "http:\/\/localhost\/wordpress_40\/wp-json\/wp\/v2\/types\/bswp_paedi_winners"
                    }],
                    "author": [{
                        "embeddable": true,
                        "href": "http:\/\/localhost\/wordpress_40\/wp-json\/wp\/v2\/users\/1"
                    }],
                    "version-history": [{
                        "href": "http:\/\/localhost\/wordpress_40\/wp-json\/wp\/v2\/paedi_winners\/4220\/revisions"
                    }],
                    "wp:attachment": [{
                        "href": "http:\/\/localhost\/wordpress_40\/wp-json\/wp\/v2\/media?parent=4220"
                    }],
                    "wp:term": [{
                        "taxonomy": "platform",
                        "embeddable": true,
                        "href": "http:\/\/localhost\/wordpress_40\/wp-json\/wp\/v2\/platforms?post=4220"
                    }],
                    "curies": [{
                        "name": "wp",
                        "href": "https:\/\/api.w.org\/{rel}",
                        "templated": true
                    }]
                }
            }]
        ]
    }
}]

So the diff would be:

--- paedi_winners.json    Tue Aug 15 16:11:58 2017
+++ paedi_winners_cached.json Tue Aug 15 16:11:58 2017
@@ -55,46 +55,115 @@
         }]
     },
     "_embedded": {
-        "author": [{
-            "id": 1,
-            "name": "benjamin.jentsch",
-            "url": "",
-            "description": "",
-            "link": "http:\/\/localhost\/wordpress_40\/author\/benjamin-jentsch\/",
-            "slug": "benjamin-jentsch",
-            "avatar_urls": {
-                "24": "http:\/\/2.gravatar.com\/avatar\/83bdd363b7932e80b3e1a8d989dc3238?s=24&d=mm&r=g",
-                "48": "http:\/\/2.gravatar.com\/avatar\/83bdd363b7932e80b3e1a8d989dc3238?s=48&d=mm&r=g",
-                "96": "http:\/\/2.gravatar.com\/avatar\/83bdd363b7932e80b3e1a8d989dc3238?s=96&d=mm&r=g"
-            },
-            "_links": {
-                "self": [{
-                    "href": "http:\/\/localhost\/wordpress_40\/wp-json\/wp\/v2\/users\/1"
-                }],
-                "collection": [{
-                    "href": "http:\/\/localhost\/wordpress_40\/wp-json\/wp\/v2\/users"
-                }]
-            }
-        }],
+        "author": [
+            [{
+                "id": 4220,
+                "date": "2016-11-18T15:03:52",
+                "date_gmt": "2016-11-18T14:03:52",
+                "guid": {
+                    "rendered": "https:\/\/www.studioimnetz.de\/?post_type=bswp_paedi_winners&p=4220"
+                },
+                "modified": "2017-08-13T17:57:21",
+                "modified_gmt": "2017-08-13T15:57:21",
+                "slug": "mrwissen2go",
+                "status": "publish",
+                "type": "bswp_paedi_winners",
+                "link": "http:\/\/localhost\/wordpress_40\/paedi-winners\/mrwissen2go\/",
+                "title": {
+                    "rendered": "MrWissen2go"
+                },
+                "content": {
+                    "rendered": "",
+                    "protected": false
+                },
+                "author": 1,
+                "featured_media": 0,
+                "template": "",
+                "meta": [],
+                "platforms": [2],
+                "_links": {
+                    "self": [{
+                        "href": "http:\/\/localhost\/wordpress_40\/wp-json\/wp\/v2\/paedi_winners\/4220"
+                    }],
+                    "collection": [{
+                        "href": "http:\/\/localhost\/wordpress_40\/wp-json\/wp\/v2\/paedi_winners"
+                    }],
+                    "about": [{
+                        "href": "http:\/\/localhost\/wordpress_40\/wp-json\/wp\/v2\/types\/bswp_paedi_winners"
+                    }],
+                    "author": [{
+                        "embeddable": true,
+                        "href": "http:\/\/localhost\/wordpress_40\/wp-json\/wp\/v2\/users\/1"
+                    }],
+                    "version-history": [{
+                        "href": "http:\/\/localhost\/wordpress_40\/wp-json\/wp\/v2\/paedi_winners\/4220\/revisions"
+                    }],
+                    "wp:attachment": [{
+                        "href": "http:\/\/localhost\/wordpress_40\/wp-json\/wp\/v2\/media?parent=4220"
+                    }],
+                    "wp:term": [{
+                        "taxonomy": "platform",
+                        "embeddable": true,
+                        "href": "http:\/\/localhost\/wordpress_40\/wp-json\/wp\/v2\/platforms?post=4220"
+                    }],
+                    "curies": [{
+                        "name": "wp",
+                        "href": "https:\/\/api.w.org\/{rel}",
+                        "templated": true
+                    }]
+                }
+            }]
+        ],
         "wp:term": [
             [{
-                "id": 2,
-                "link": "http:\/\/localhost\/wordpress_40\/platform\/web\/",
-                "name": "Web",
-                "slug": "web",
-                "taxonomy": "platform",
+                "id": 4220,
+                "date": "2016-11-18T15:03:52",
+                "date_gmt": "2016-11-18T14:03:52",
+                "guid": {
+                    "rendered": "https:\/\/www.studioimnetz.de\/?post_type=bswp_paedi_winners&p=4220"
+                },
+                "modified": "2017-08-13T17:57:21",
+                "modified_gmt": "2017-08-13T15:57:21",
+                "slug": "mrwissen2go",
+                "status": "publish",
+                "type": "bswp_paedi_winners",
+                "link": "http:\/\/localhost\/wordpress_40\/paedi-winners\/mrwissen2go\/",
+                "title": {
+                    "rendered": "MrWissen2go"
+                },
+                "content": {
+                    "rendered": "",
+                    "protected": false
+                },
+                "author": 1,
+                "featured_media": 0,
+                "template": "",
+                "meta": [],
+                "platforms": [2],
                 "_links": {
                     "self": [{
-                        "href": "http:\/\/localhost\/wordpress_40\/wp-json\/wp\/v2\/platforms\/2"
+                        "href": "http:\/\/localhost\/wordpress_40\/wp-json\/wp\/v2\/paedi_winners\/4220"
                     }],
                     "collection": [{
-                        "href": "http:\/\/localhost\/wordpress_40\/wp-json\/wp\/v2\/platforms"
+                        "href": "http:\/\/localhost\/wordpress_40\/wp-json\/wp\/v2\/paedi_winners"
                     }],
                     "about": [{
-                        "href": "http:\/\/localhost\/wordpress_40\/wp-json\/wp\/v2\/taxonomies\/platform"
+                        "href": "http:\/\/localhost\/wordpress_40\/wp-json\/wp\/v2\/types\/bswp_paedi_winners"
                     }],
-                    "wp:post_type": [{
-                        "href": "http:\/\/localhost\/wordpress_40\/wp-json\/wp\/v2\/paedi_winners?platforms=2"
+                    "author": [{
+                        "embeddable": true,
+                        "href": "http:\/\/localhost\/wordpress_40\/wp-json\/wp\/v2\/users\/1"
+                    }],
+                    "version-history": [{
+                        "href": "http:\/\/localhost\/wordpress_40\/wp-json\/wp\/v2\/paedi_winners\/4220\/revisions"
+                    }],
+                    "wp:attachment": [{
+                        "href": "http:\/\/localhost\/wordpress_40\/wp-json\/wp\/v2\/media?parent=4220"
+                    }],
+                    "wp:term": [{
+                        "taxonomy": "platform",
+                        "embeddable": true,
+                        "href": "http:\/\/localhost\/wordpress_40\/wp-json\/wp\/v2\/platforms?post=4220"
                     }],
                     "curies": [{
                         "name": "wp",

As you can see, the author and wp:term fields get replaced with the custom post type's content, which is not exactly what I want.

I'm not quite sure if this is a WP REST API Cache bug or a wordpress API core bug.

cache woocommerce rest api v3 with products updated weekly: how to?

Hi, I need to cache the rest api v3 of woocommerce. The products are updated weekly and I need to cache the woocommerce rest api v3 because it is used from the android and ios app to read the products to show and they are loading very slowly: it need about 1 second for each product to load. I think that caching the results should show these result faster.

Clear cache

Hi airesvsg.

Is it possible to clear cache only for specific endpoints? I would like to clear cache immediately only for specific post types when I create new post or update existing.

Request: Add cache cleared callback hook

[Enhancement]
So that a developer could trigger subsequent functions once the cache has been cleared. It would be great to have a way to hook into a successful clear. Perhaps something like rest_cache_cleared?

Setting Content-Length

I'm trying to build a progress bar for calls to my cached REST API. I'm able to set headers using "rest_cache_header", but I need a bit of help setting the proper value. It seems that strlen($response) would work if $response were accessible. Any help would be greatly appreciated!

add_filter( 'rest_cache_headers', function( $headers ) {
	$headers['Content-Length'] = VALUE;
	return $headers;
} );

Enabled but no time difference

For an API request to get all posts (/wp-json/wp/v2/posts) it takes around 4000ms.

When I enable the plugin it has no time difference. I assumed with the cache enabled this would be instant - as it would cache?

Perhaps there is a step I'm missing with installation.

WP REST API:
Version 2.0-beta15

WP REST API Cache:
Version 1.2.0

Custom routes permission_callback is ignored once the route is cached

Hi,

Using register_rest_route, I have set the following permission_callback on my custom route : 'permission_callback' => [$this, 'checkAPIAccess'.

The first time I call my route, the permission_callback is executed. Once the route is cached, the response is sent without checking my permission_callback function.

Thanks.

Is this just browser-level caching?

I'm not seeing any noticeable speed improvements using this plugin, is this just browser level caching or does it persist something to disk/mysql to speed up future requests for the same data?

Object Cache support missing

If you use a persistent object cache with WordPress (Memcached, Redis, etc), transients are stored there rather than in the database, so the clear_cache function will not work with that setup

Cache is not getting Updated after post publish

Hello,

I have installed WP REST API Cache and it is caching the rest api. However, the cache is not getting cleared after the new post publish

I have added the following code, but it is still not working

add_action( 'save_post', function( $post_id ) {
  if ( class_exists( 'WP_REST_Cache' ) ) {
    WP_REST_Cache::empty_cache();
  }
} );

Also, when I try to delete cache manually, the newest post is not appearing on the rest API. The API is getting updated only when I disable this plugin

Could you please let me know how I can fix this issue?

Response not caching

Hi, I see this is quite a new plugin but it's just what I needed at the moment, so thanks!

However, the plugin doesn't seem to be working for me. My setup is that I have one domain and server hosting the wordpress site setup with the REST API and also with this plugin installed, and I have another domain and server hosting a frontend site that make GET request calls to the wordpress site for json data and I want that data to be cached.

I'm still developing the frontend locally at the moment and it's not cache the data. Am I missing some steps or something? Thanks again.

Disable cache for custom routes

Hi @airesvsg,

I use "wp-rest-api-cache" plugin and I would like to disable the cache specifically for a custom route (using register_rest_route() method).
Is there a way to do that?

Thanks

Embedded Media is not cached properly

I am embedding related media in my requests for a custom post type. When I get a cached response, the media array (post._embedded['wp:featuredmedia']) contains a copy of the array of posts I just received ( minus the _embedded property on each of the elements ).

Incompatible with Gutenberg

When activated on a site with the Gutenberg plugin installed, the gutenberg editor just goes to a white screen. There are no console errors, no php errors, just a blank white screen when you put a post in edit mode.

Caching Custom Endpoints

I have modified my theme's functions.php to allow an unlimited maximum number of posts. My API call is: 'wp-json/wp/v2/posts?page=1&per_page=1000'

My functions.php modification is:

add_filter( 'rest_endpoints', function( $endpoints ){
    if ( ! isset( $endpoints['/wp/v2/posts'] ) ) {
        return $endpoints;
    }
    unset( $endpoints['/wp/v2/posts'][0]['args']['per_page']['maximum'] );
    return $endpoints;
});

The caching function is working great, substantially reducing load times as expected! The issue I'm having is that for unclear reasons and after anywhere from 4-24 hours, the served cached file no stops including all posts and reverts to serving only the most recent 10 posts (as if the per_page parameter were ignored).

I am currently solving the issue by emptying the cache, after which it resumed working as expected. I've tried the following steps without success:

  • Changed cache time
  • Changed API call (removing "page=1")

My current solution is to regularly monitor the cached file and manually empty the cache when I note that it is no longer serving the full number of posts. Any ideas on what might be going on?

Uncaught Exception: Serialization of 'Closure' is not allowed

I'm getting this kind of error just by installing & enabling the plugin:

[21-Mar-2017 08:46:03 UTC] PHP Fatal error:  Uncaught Exception: Serialization of 'Closure' is not allowed in [].../wordpress/wp-includes/functions.php:435
Stack trace:
#0 [...]/wordpress/wp-includes/functions.php(435): serialize(Object(WP_REST_Response))
#1 [...]/wordpress/wp-includes/option.php(427): maybe_serialize(Object(WP_REST_Response))
#2 [...]/wordpress/wp-includes/option.php(730): add_option('_transient_rest...', Object(WP_REST_Response), '', 'no')
#3 [...]/dm-collection/plugins/wp-rest-api-cache/class-wp-rest-cache.php(63): set_transient('rest_cache_/wp-...', Object(WP_REST_Response), 3600)
#4 [...]/wordpress/wp-includes/class-wp-hook.php(298): WP_REST_Cache::pre_dispatch(Object(WP_REST_Response), Object(WP_REST_Server in [].../wordpress/wp-includes/functions.php on line 435

Any idea what's wrong?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.