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
This commit is contained in:
Jb Audras
2021-12-01 11:40:08 +00:00
parent 6c2ff0fbba
commit 6050e9aa0b

View File

@@ -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 ) {