From 52a22941a5cbdc5353304bde573a89dedf4132d6 Mon Sep 17 00:00:00 2001 From: hellofromTonya Date: Wed, 1 Nov 2023 14:50:24 +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]. Props vrajadas, glendaviesnz, hellofromTonya, ramonopoly. Fixes #59569. Built from https://develop.svn.wordpress.org/trunk@57044 git-svn-id: http://core.svn.wordpress.org/trunk@56555 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 c76779011c..9b87345958 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -16,7 +16,7 @@ * * @global string $wp_version */ -$wp_version = '6.5-alpha-57042'; +$wp_version = '6.5-alpha-57044'; /** * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.