WordPress.org

Make WordPress Core

Changeset 49952


Ignore:
Timestamp:
01/09/2021 08:20:44 PM (10 months ago)
Author:
TimothyBlynJacobs
Message:

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.

File:
1 edited

Legend:

Unmodified
Added
Removed
Note: See TracChangeset for help on using the changeset viewer.