#53511 closed defect (bug) (invalid)
Deprecated: block_categories / block_editor_preload_paths is deprecated since version 5.8.0!
Reported by: | oldrup | Owned by: | |
---|---|---|---|
Milestone: | Priority: | normal | |
Severity: | minor | Version: | |
Component: | Editor | Keywords: | |
Focuses: | Cc: |
Description
Hey
When testing WordPress 5.8 beta 3 with debug on, I get these errors in the post editor if any plugin adding blocks or shortcodes is activated:
Deprecated: block_editor_preload_paths is deprecated since version 5.8.0! Use block_editor_rest_api_preload_paths instead. in /home/oldrupdk/oldrup.net/wp-includes/functions.php on line 5465 Deprecated: block_categories is deprecated since version 5.8.0! Use block_categories_all instead. in /home/oldrupdk/oldrup.net/wp-includes/functions.php on line 5465 Deprecated: block_categories is deprecated since version 5.8.0! Use block_categories_all instead. in /home/oldrupdk/oldrup.net/wp-includes/functions.php on line 5465
The editor somewhat covers the errors, in this screenshot turned down a bit to make the error visible : https://snipboard.io/b9q87r.jpg
Are those issues that should be examined by the plugin developers, or is it a core thing? I'm in doubt as the errors are thrown by /wp-includes/functions.php on line 5465
Bjarne
Change History (3)
#1
@
4 years ago
- Component changed from General to Editor
- Milestone Awaiting Review deleted
- Resolution set to invalid
- Status changed from new to closed
#2
@
4 years ago
If you need to figure out exactly where the deprecation notice is coming from, https://wordpress.org/plugins/log-deprecated-notices/ can be useful for that when used on a staging site.
Note: See
TracTickets for help on using
tickets.
Hi @oldrup,
This is a notice used to inform developers of a change to how something works or should be used within the code base. The site should continue working without issues if
WP_DEBUG
is set tofalse
, but these will be displayed otherwise.The errors come from
functions.php
because that's whereapply_filters_deprecated()
is defined.