From 20d1625207aef894256645d06938dc13120c2a42 Mon Sep 17 00:00:00 2001 From: youknowriad Date: Tue, 23 Jan 2024 08:30:11 +0000 Subject: [PATCH] Editor: Set show_tagcloud to false for Pattern Categories. Pattern Categories is a taxonomy used to categories the patterns in the site editor. It is not meant to be shown in the frontend and show tag clouds. Props wildworks, mukesh27. Fixes #60119. Built from https://develop.svn.wordpress.org/trunk@57331 git-svn-id: http://core.svn.wordpress.org/trunk@56837 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-includes/taxonomy.php | 1 + wp-includes/version.php | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/wp-includes/taxonomy.php b/wp-includes/taxonomy.php index b64a2f08db..a572f727a3 100644 --- a/wp-includes/taxonomy.php +++ b/wp-includes/taxonomy.php @@ -241,6 +241,7 @@ function create_initial_taxonomies() { 'show_in_nav_menus' => false, 'show_in_rest' => true, 'show_admin_column' => true, + 'show_tagcloud' => false, ) ); } diff --git a/wp-includes/version.php b/wp-includes/version.php index 03a64eede1..c250c83074 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -16,7 +16,7 @@ * * @global string $wp_version */ -$wp_version = '6.5-alpha-57330'; +$wp_version = '6.5-alpha-57331'; /** * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.