From 2b3347332eaeb99253fe97f3be1a65af90ebba80 Mon Sep 17 00:00:00 2001 From: Scott Taylor Date: Mon, 21 Sep 2015 15:17:29 +0000 Subject: [PATCH] Meta Boxes: In `post_categories_meta_box()`, convert some spaces to tabs. Props miyauchi. Fixes #33945. git-svn-id: https://develop.svn.wordpress.org/trunk@34364 602fd350-edb4-49c9-b593-d223f7449a82 --- src/wp-admin/includes/meta-boxes.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/wp-admin/includes/meta-boxes.php b/src/wp-admin/includes/meta-boxes.php index 670e02b5b3..5adfdba39d 100644 --- a/src/wp-admin/includes/meta-boxes.php +++ b/src/wp-admin/includes/meta-boxes.php @@ -475,9 +475,9 @@ function post_categories_meta_box( $post, $box ) {
"; // Allows for an empty term set to be sent. 0 is an invalid Term ID and will be ignored by empty() checks. - ?> + $name = ( $tax_name == 'category' ) ? 'post_category' : 'tax_input[' . $tax_name . ']'; + echo ""; // Allows for an empty term set to be sent. 0 is an invalid Term ID and will be ignored by empty() checks. + ?>