From c1827f73cd7b8ba82c043032574f8bda4b3ae2ce Mon Sep 17 00:00:00 2001 From: "Dominik Schilling (ocean90)" Date: Tue, 27 Aug 2013 21:24:59 +0000 Subject: [PATCH] Replace duplicated lines in [25143] with an assignment. see #18714. git-svn-id: https://develop.svn.wordpress.org/trunk@25144 602fd350-edb4-49c9-b593-d223f7449a82 --- src/wp-admin/edit-tags.php | 10 +--------- 1 file changed, 1 insertion(+), 9 deletions(-) diff --git a/src/wp-admin/edit-tags.php b/src/wp-admin/edit-tags.php index a8f6e00861..51f96143b9 100644 --- a/src/wp-admin/edit-tags.php +++ b/src/wp-admin/edit-tags.php @@ -271,15 +271,7 @@ $messages['category'] = array( 5 => __( 'Category not updated.' ), 6 => __( 'Categories deleted.' ) ); -$messages['link_category'] = array( - 0 => '', // Unused. Messages start at index 1. - 1 => __( 'Category added.' ), - 2 => __( 'Category deleted.' ), - 3 => __( 'Category updated.' ), - 4 => __( 'Category not added.' ), - 5 => __( 'Category not updated.' ), - 6 => __( 'Categories deleted.' ) -); +$messages['link_category'] = $messages['category']; $messages['post_tag'] = array( 0 => '', // Unused. Messages start at index 1. 1 => __( 'Tag added.' ),