From 997dd351ebebefdb76660ea0b45f31e7b6baf47f Mon Sep 17 00:00:00 2001 From: hellofromTonya Date: Wed, 1 Nov 2023 15:05:20 +0000 Subject: [PATCH] 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. Built from https://develop.svn.wordpress.org/branches/6.4@57045 git-svn-id: http://core.svn.wordpress.org/branches/6.4@56556 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-includes/taxonomy.php | 2 +- wp-includes/version.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/wp-includes/taxonomy.php b/wp-includes/taxonomy.php index f0e3be17d3..59ec5345fe 100644 --- a/wp-includes/taxonomy.php +++ b/wp-includes/taxonomy.php @@ -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( diff --git a/wp-includes/version.php b/wp-includes/version.php index 1371ca0b54..242faeb5ef 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -16,7 +16,7 @@ * * @global string $wp_version */ -$wp_version = '6.4-RC2-57043'; +$wp_version = '6.4-RC2-57045'; /** * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.