mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-06-28 22:30:04 +00:00
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:
@@ -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 ) {
|
||||
|
||||
Reference in New Issue
Block a user