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

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

Follow-up to [56642].

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


git-svn-id: http://core.svn.wordpress.org/trunk@56555 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
hellofromTonya 2023-11-01 14:50:24 +00:00
parent 448bde29ad
commit 52a22941a5
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.5-alpha-57042';
$wp_version = '6.5-alpha-57044';
/**
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.