Make WordPress Core

Changeset 57044


Ignore:
Timestamp:
11/01/2023 02:48:50 PM (12 months ago)
Author:
hellofromTonya
Message:

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.

Location:
trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-includes/taxonomy.php

    r56680 r57044  
    228228        array( 'wp_block' ),
    229229        array(
    230             'public'             => true,
     230            'public'             => false,
    231231            'publicly_queryable' => false,
    232232            'hierarchical'       => false,
  • trunk/tests/qunit/fixtures/wp-api-generated.js

    r56819 r57044  
    98179817                                    "category",
    98189818                                    "post_tag",
    9819                                     "wp_pattern_category",
    98209819                                    "any"
    98219820                                ],
Note: See TracChangeset for help on using the changeset viewer.