Make WordPress Core


Ignore:
Timestamp:
11/01/2023 03:03:01 PM (3 years 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].

Reviewed by azaozz, mikeschroder.
Merges [57044] to the 6.4 branch.

Props vrajadas, glendaviesnz, hellofromTonya, ramonopoly.
Fixes #59569.

Location:
branches/6.4
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • branches/6.4

  • branches/6.4/src/wp-includes/taxonomy.php

    r56680 r57045  
    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.