Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Merged
merged 1 commit into from
Apr 4, 2019

Conversation

aduth
Copy link
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
@@ -10,7 +10,6 @@ For features included in the Gutenberg plugin, the deprecation policy is intende
- 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
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