Skip to content

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

Merged
oandregal merged 2 commits intotrunkfrom
update/rename-gutenberg-to-wp-prefix
Nov 26, 2021
Merged

Rename gutenberg_ to wp_ for some functions that land in WordPress 5.9#36913
oandregal merged 2 commits intotrunkfrom
update/rename-gutenberg-to-wp-prefix

Conversation

@oandregal
Copy link
Copy Markdown
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 Beta/RC 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 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