Taxonomy: Set "public" to "false" for user pattern categories.

Changes the `'wp_pattern_category'` taxonomy's `'public'` argument to `false`.

Follow-up to [56642].

Reviewed by azaozz, mikeschroder.
Merges [57044] to the 6.4 branch.

Props vrajadas, glendaviesnz, hellofromTonya, ramonopoly.
Fixes #59569.
Built from https://develop.svn.wordpress.org/branches/6.4@57045


git-svn-id: http://core.svn.wordpress.org/branches/6.4@56556 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
hellofromTonya 2023-11-01 15:05:20 +00:00
parent 4cff8f4ca9
commit 997dd351eb
2 changed files with 2 additions and 2 deletions

View File

@ -227,7 +227,7 @@ function create_initial_taxonomies() {
'wp_pattern_category',
array( 'wp_block' ),
array(
'public' => true,
'public' => false,
'publicly_queryable' => false,
'hierarchical' => false,
'labels' => array(

View File

@ -16,7 +16,7 @@
*
* @global string $wp_version
*/
$wp_version = '6.4-RC2-57043';
$wp_version = '6.4-RC2-57045';
/**
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.