mirror of
git://develop.git.wordpress.org/
synced 2025-03-22 13:00:29 +01:00
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:
parent
65e39deeec
commit
46822ca500
@ -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(
|
||||
|
@ -9816,7 +9816,6 @@ mockedApiResponse.Schema = {
|
||||
"page",
|
||||
"category",
|
||||
"post_tag",
|
||||
"wp_pattern_category",
|
||||
"any"
|
||||
],
|
||||
"type": "string"
|
||||
|
Loading…
x
Reference in New Issue
Block a user