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

Remove reference to gutenberg_, swap with wp_ #36651

Closed
kebbet opened this issue Nov 19, 2021 · 0 comments · Fixed by #36652
Closed

Remove reference to gutenberg_, swap with wp_ #36651

kebbet opened this issue Nov 19, 2021 · 0 comments · Fixed by #36652
Assignees
Labels
[Status] In Progress Tracking issues with work in progress

Comments

@kebbet
Copy link
Contributor

kebbet commented Nov 19, 2021

Description

https://core.trac.wordpress.org/ticket/54446
In https://github.com/WordPress/wordpress-develop/blob/trunk/src/wp-includes/blocks/calendar.php on line 103 (in the function block_core_calendar_update_has_published_posts) the option is named gutenberg_calendar_block_has_published_posts. Should it be called something else? The option is retrieved in the function block_core_calendar_has_published_posts some lines above, and may be updated as well.

Should be backported to WordPress 5.9.

Swapped gutenberg_* with wp_* in the option name.

Step-by-step reproduction instructions

See patch in the linked branch.

Screenshots, screen recording, code snippet

No response

Environment info

WordPress trunk

No response

Please confirm that you have searched existing issues in the repo.

Yes

Please confirm that you have tested with all plugins deactivated except Gutenberg.

Yes

@github-actions github-actions bot added the [Status] In Progress Tracking issues with work in progress label Nov 19, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
[Status] In Progress Tracking issues with work in progress
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant