Deprecated filter
-
Hi guys,
Many thanks for the great plugin.
There is a deprecated filter usage at clearfy/includes/classes/class.configurate-performance.php: add_filter(‘rest_enabled’, ‘__return_false’);
this filter is deprecated and it triggers following notice
PHP Notice: rest_enabled is deprecated since version 4.7.0! Use rest_authentication_errors instead. The REST API can no longer be completely disabled, the rest_authentication_errors filter can be used to restrict access to the API, instead.
It should be replaced with ‘rest_authentication_errors’
Kindly please include the fix in your next update.
Thanks,
Keep it up.
Viewing 5 replies - 1 through 5 (of 5 total)
Viewing 5 replies - 1 through 5 (of 5 total)
- The topic ‘Deprecated filter’ is closed to new replies.