From 6050e9aa0b5f2ebdc5fe038f252acac39193ddf1 Mon Sep 17 00:00:00 2001 From: Jb Audras Date: Wed, 1 Dec 2021 11:40:08 +0000 Subject: [PATCH] Docs: Docblock corrections in `_disable_block_editor_for_navigation_post_type()`. Follow-up to [52145]. See #53399. git-svn-id: https://develop.svn.wordpress.org/trunk@52298 602fd350-edb4-49c9-b593-d223f7449a82 --- src/wp-admin/includes/post.php | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/wp-admin/includes/post.php b/src/wp-admin/includes/post.php index a3aa86aff1..f84b24c27f 100644 --- a/src/wp-admin/includes/post.php +++ b/src/wp-admin/includes/post.php @@ -2465,8 +2465,7 @@ function the_block_editor_meta_box_post_form_hidden_fields( $post ) { * * @param bool $value Whether the CPT supports block editor or not. * @param string $post_type Post type. - * - * @return bool + * @return bool Whether the block editor should be disabled or not. */ function _disable_block_editor_for_navigation_post_type( $value, $post_type ) { if ( 'wp_navigation' === $post_type ) {