Make WordPress Core


Ignore:
Timestamp:
11/01/2023 02:48:50 PM (9 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.

File:
1 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,
Note: See TracChangeset for help on using the changeset viewer.