wordpress-develop/src/wp-includes/rest-api
Timothy Jacobs 1f2695ed1f REST API: Fix fatal error on multisite when calling the single item plugin routes.
The `is_network_only_plugin` and `is_plugin_active` functions are not available in a front-end context and must be specifically loaded.

Props oakesjosh.
Fixes #52205.


git-svn-id: https://develop.svn.wordpress.org/trunk@49952 602fd350-edb4-49c9-b593-d223f7449a82
2021-01-09 20:20:44 +00:00
..
endpoints REST API: Fix fatal error on multisite when calling the single item plugin routes. 2021-01-09 20:20:44 +00:00
fields Docs: Promote many bool types to true or false where only that value is used. 2021-01-03 22:02:13 +00:00
search Docs: Fix some docblock issues introduced in 5.6. 2020-12-10 23:25:26 +00:00
class-wp-rest-request.php Docs: Promote many bool types to true or false where only that value is used. 2021-01-03 22:02:13 +00:00
class-wp-rest-response.php Docs: Corrections and improvements to inline docs relating to the REST API. 2020-11-16 11:02:32 +00:00
class-wp-rest-server.php Plugins: Replace usage of $this in action and filter parameter docblocks with more appropriate variable names. 2021-01-08 14:28:46 +00:00