Skip to content

Commit c65a43e

Browse files
committed
Fix _disable_block_editor_for_navigation_post_type args
1 parent 1178be7 commit c65a43e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/wp-includes/default-filters.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -583,7 +583,7 @@
583583
add_action( 'admin_footer-post-new.php', 'wp_add_iframed_editor_assets_html' );
584584
add_action( 'admin_footer-widgets.php', 'wp_add_iframed_editor_assets_html' );
585585

586-
add_action( 'use_block_editor_for_post_type', '_disable_block_editor_for_navigation_post_type' );
586+
add_action( 'use_block_editor_for_post_type', '_disable_block_editor_for_navigation_post_type', 10, 2 );
587587
add_action( 'edit_form_after_title', '_disable_content_editor_for_navigation_post_type' );
588588
add_action( 'edit_form_after_editor', '_enable_content_editor_for_navigation_post_type' );
589589

0 commit comments

Comments
 (0)