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.

git-svn-id: https://develop.svn.wordpress.org/trunk@57044 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Tonya Mork 2023-11-01 14:48:50 +00:00
parent 01c842a25f
commit f6905ebced
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"