Plugin: Remove PHP functions slated for 5.5. 5.4 removal #14806
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This pull request seeks to remove PHP functions slated for removal in the 5.5 release. It also includes deprecations which should have been — but were not — removed as of Gutenberg 5.4.
https://wordpress.org/gutenberg/handbook/designers-developers/developers/backward-compatibility/deprecations/#5-5-0
gutenberg_init
has been removed.is_gutenberg_page
has been removed. UseWP_Screen::is_block_editor
instead.the_gutenberg_project
has been removed.gutenberg_default_post_format_template
has been removed.gutenberg_get_available_image_sizes
has been removed.gutenberg_get_autosave_newer_than_post_save
has been removed.gutenberg_editor_scripts_and_styles
has been removed.gutenberg_load_plugin_textdomain
has been removed.gutenberg_get_jed_locale_data
has been removed.gutenberg_load_locale_data
has been removed.Testing Instructions:
Verify there are no errors in the load or general use of the editor.
Ensure that all referenced deprecated functions are no longer present in the codebase.