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

Move image and gallery blocks to dynamic block registration #2009

Closed

Conversation

ocean90
Copy link
Member

@ocean90 ocean90 commented Dec 5, 2021

Trac ticket: https://core.trac.wordpress.org/ticket/54487

See WordPress/gutenberg#35975. This currently blocked by WordPress/gutenberg#37132 which is already merged but not yet released.


This Pull Request is for code review only. Please keep all other discussion in the Trac ticket. Do not merge this Pull Request. See GitHub Pull Requests for Code Review in the Core Handbook for more details.

@ocean90 ocean90 force-pushed the fix/gallery-image-dynamic-blocks branch from 237da97 to 4ff3085 Compare December 8, 2021 20:27
@@ -307,6 +307,8 @@ function _unhook_block_registration() {
remove_action( 'init', 'register_block_core_calendar' );
remove_action( 'init', 'register_block_core_categories' );
remove_action( 'init', 'register_block_core_file' );
remove_action( 'init', 'gutenberg_register_block_core_gallery', 20 );
Copy link
Member Author

Choose a reason for hiding this comment

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

Todo: Remove gutenberg_ prefix.

@noisysocks
Copy link
Member

Merged into #2048.

@noisysocks noisysocks closed this Dec 14, 2021
@ocean90 ocean90 deleted the fix/gallery-image-dynamic-blocks branch November 22, 2022 19:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants