From 2e3b292924e98fd8c4e94bd96f3e0ac6ca54d198 Mon Sep 17 00:00:00 2001 From: Riad Benguella Date: Tue, 23 Jan 2024 08:28:49 +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. git-svn-id: https://develop.svn.wordpress.org/trunk@57331 602fd350-edb4-49c9-b593-d223f7449a82 --- src/wp-includes/taxonomy.php | 1 + 1 file changed, 1 insertion(+) diff --git a/src/wp-includes/taxonomy.php b/src/wp-includes/taxonomy.php index b64a2f08db..a572f727a3 100644 --- a/src/wp-includes/taxonomy.php +++ b/src/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, ) ); }