Skip to content

Hook rest_enabled deprecated in /bloat-eliminator/bloat-eliminator-actions.php #1297

@brighterwebsites

Description

@brighterwebsites

You MUST include a clear description of the bug and EXACT steps to reproduce the bug or IT WILL BE CLOSED:

For example:

  1. Enable BD
  2. Turn on Debug
  3. Save a page or post
  4. Check debug log
    The full text of any error messages are helpful. Screenshots are also helpful.

PHP Deprecated: Hook 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. in /home/domain.com.au/public_html/wp-includes/functions.php on line 6131

Confirmed via:
grep -R "rest_enabled" /home/domain.com.au/public_html
/home/domain.com.au/public_html/wp-content/plugins/breakdance/plugin/bloat-eliminator/bloat-eliminator-actions.php: add_filter('rest_enabled', '__return_false');

You should also include the following information:

  • Breakdance 2.6.1
  • Browser & OS Chrome/Win
  • php 8.3/WP 6.9.1

*Also reported in Facebook group 14/4/2025 by Peter Sinisa Gjuga

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions