mirror of
https://github.com/WordPress/WordPress.git
synced 2024-09-29 23:57:41 +02:00
Docs: Docblock corrections in _disable_block_editor_for_navigation_post_type()
.
Follow-up to [52145]. See #53399. Built from https://develop.svn.wordpress.org/trunk@52298 git-svn-id: http://core.svn.wordpress.org/trunk@51890 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
980ea5611a
commit
15d7d368f3
@ -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 bool $value Whether the CPT supports block editor or not.
|
||||||
* @param string $post_type Post type.
|
* @param string $post_type Post type.
|
||||||
*
|
* @return bool Whether the block editor should be disabled or not.
|
||||||
* @return bool
|
|
||||||
*/
|
*/
|
||||||
function _disable_block_editor_for_navigation_post_type( $value, $post_type ) {
|
function _disable_block_editor_for_navigation_post_type( $value, $post_type ) {
|
||||||
if ( 'wp_navigation' === $post_type ) {
|
if ( 'wp_navigation' === $post_type ) {
|
||||||
|
@ -16,7 +16,7 @@
|
|||||||
*
|
*
|
||||||
* @global string $wp_version
|
* @global string $wp_version
|
||||||
*/
|
*/
|
||||||
$wp_version = '5.9-beta1-52297';
|
$wp_version = '5.9-beta1-52298';
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.
|
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.
|
||||||
|
Loading…
Reference in New Issue
Block a user