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.

git-svn-id: https://develop.svn.wordpress.org/branches/6.4@57045 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Tonya Mork 2023-11-01 15:03:01 +00:00
parent 65e39deeec
commit 46822ca500
2 changed files with 1 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

@ -9816,7 +9816,6 @@ mockedApiResponse.Schema = {
"page",
"category",
"post_tag",
"wp_pattern_category",
"any"
],
"type": "string"