Public repo for the "Disable REST API" WordPress plugin, currently with 90,000+ active installs in the wordpress.org repository
10
stars
9
forks
source link
`Disable_REST_API::get_current_route()`: Check `rest_route` query var existence before access #41
Closed
tangrufus closed 1 year ago
Fix https://wordpress.org/support/topic/php-error-notice-trying-to-access-array-offset-on-value-of-type-null/
Not using null coalescing operator (
??
) because of PHP 5.6 support.