Skip to content

Plugin: Remove PHP functions slated for 5.5. 5.4 removal#14806

Merged
aduth merged 1 commit intomasterfrom
remove/5-5-deprecations
Apr 4, 2019
Merged

Plugin: Remove PHP functions slated for 5.5. 5.4 removal#14806
aduth merged 1 commit intomasterfrom
remove/5-5-deprecations

Conversation

@aduth
Copy link
Copy Markdown
Member

@aduth aduth commented Apr 3, 2019

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

  • The PHP function gutenberg_init has been removed.
  • The PHP function is_gutenberg_page has been removed. Use WP_Screen::is_block_editor instead.
  • The PHP function the_gutenberg_project has been removed.
  • The PHP function gutenberg_default_post_format_template has been removed.
  • The PHP function gutenberg_get_available_image_sizes has been removed.
  • The PHP function gutenberg_get_autosave_newer_than_post_save has been removed.
  • The PHP function gutenberg_editor_scripts_and_styles has been removed.
  • The PHP function gutenberg_load_plugin_textdomain has been removed.
  • The PHP function gutenberg_get_jed_locale_data has been removed.
  • The PHP function 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.

@aduth aduth added Gutenberg Plugin Issues or PRs related to Gutenberg Plugin management related efforts [Release] Do Not Punt Used to indicate the issue or pull request must not be moved from the assigned milestone labels Apr 3, 2019
@aduth aduth added this to the 5.5 (Gutenberg) milestone Apr 3, 2019
- The PHP function `gutenberg_default_post_format_template` has been removed.
- The PHP function `gutenberg_get_available_image_sizes` has been removed.
- The PHP function `gutenberg_get_autosave_newer_than_post_save` has been removed.
- The PHP function `gutenberg_default_post_format_template` has been removed.
Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This was duplicate. See three lines above.

@aduth aduth merged commit 1dcda6f into master Apr 4, 2019
@aduth aduth deleted the remove/5-5-deprecations branch April 4, 2019 20:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Gutenberg Plugin Issues or PRs related to Gutenberg Plugin management related efforts [Release] Do Not Punt Used to indicate the issue or pull request must not be moved from the assigned milestone

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants