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

Rename gutenberg_ to wp_ for some functions that land in WordPress 5.9 #36913

Merged
merged 2 commits into from
Nov 26, 2021

Conversation

oandregal
Copy link
Member

A follow up to #36907

This PR renames gutenberg_* to wp_* in some functions that are part of lib/compat/wordpress-5.9. The rationale is the same as in #36907 (function name stability, make it available to WordPress 5.8, and making it easy to do the backports and remove the folder once the minimum plugin version is updated).

@oandregal oandregal self-assigned this Nov 26, 2021
@oandregal oandregal added [Type] Code Quality Issues or PRs that relate to code quality Backport to WP 6.7 Beta/RC Pull request that needs to be backported to the WordPress major release that's currently in beta Global Styles Anything related to the broader Global Styles efforts, including Styles Engine and theme.json labels Nov 26, 2021
@oandregal oandregal merged commit 75078c8 into trunk Nov 26, 2021
@oandregal oandregal deleted the update/rename-gutenberg-to-wp-prefix branch November 26, 2021 13:52
@github-actions github-actions bot added this to the Gutenberg 12.1 milestone Nov 26, 2021
@noisysocks noisysocks removed the Backport to WP 6.7 Beta/RC Pull request that needs to be backported to the WordPress major release that's currently in beta label Nov 29, 2021
noisysocks pushed a commit that referenced this pull request Nov 29, 2021
…s 5.9 (#36913)

* Rename gutenberg_json_file_decode to wp_json_file_decode

* Rename gutenberg_translate_settings_using_i18n_schema to wp_translate_settings_using_i18n_schema
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Global Styles Anything related to the broader Global Styles efforts, including Styles Engine and theme.json [Type] Code Quality Issues or PRs that relate to code quality
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants