Editor: Set show_tagcloud to false for Pattern Categories.

Pattern Categories is a taxonomy used to categories the patterns in the site editor.
It is not meant to be shown in the frontend and show tag clouds.

Props wildworks, mukesh27.
Fixes #60119.
Built from https://develop.svn.wordpress.org/trunk@57331


git-svn-id: http://core.svn.wordpress.org/trunk@56837 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
youknowriad 2024-01-23 08:30:11 +00:00
parent 4ed526c748
commit 20d1625207
2 changed files with 2 additions and 1 deletions

View File

@ -241,6 +241,7 @@ function create_initial_taxonomies() {
'show_in_nav_menus' => false, 'show_in_nav_menus' => false,
'show_in_rest' => true, 'show_in_rest' => true,
'show_admin_column' => true, 'show_admin_column' => true,
'show_tagcloud' => false,
) )
); );
} }

View File

@ -16,7 +16,7 @@
* *
* @global string $wp_version * @global string $wp_version
*/ */
$wp_version = '6.5-alpha-57330'; $wp_version = '6.5-alpha-57331';
/** /**
* 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.