From 5a64ea52c38f9b2cf8439731335e9569926d54ad Mon Sep 17 00:00:00 2001 From: ryan Date: Tue, 13 Mar 2007 23:54:45 +0000 Subject: [PATCH] Rephrase category delete AYS prompt. Props rob1n. fixes #3464 git-svn-id: http://svn.automattic.com/wordpress/trunk@5033 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-admin/admin-functions.php | 2 +- wp-admin/categories.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/wp-admin/admin-functions.php b/wp-admin/admin-functions.php index 9468d7c29..e39ca492a 100644 --- a/wp-admin/admin-functions.php +++ b/wp-admin/admin-functions.php @@ -797,7 +797,7 @@ function _cat_row( $category, $level, $name_override = false ) { $default_link_cat_id = get_option( 'default_link_category' ); if ( ($category->cat_ID != $default_cat_id ) && ($category->cat_ID != $default_link_cat_id ) ) - $edit .= "cat_ID ) . "' onclick=\"return deleteSomething( 'cat', $category->cat_ID, '" . js_escape(sprintf( __("You are about to delete the category '%s'.\nAll of its posts will go into the default category of '%s'\nAll of its bookmarks will go into the default category of '%s'.\n'OK' to delete, 'Cancel' to stop." ), $category->cat_name, get_catname( $default_cat_id ), get_catname( $default_link_cat_id ) )) . "' );\" class='delete'>".__( 'Delete' ).""; + $edit .= "cat_ID ) . "' onclick=\"return deleteSomething( 'cat', $category->cat_ID, '" . js_escape(sprintf( __("You are about to delete the category '%s'.\nAll posts that were only assigned to this category will be assigned to the '%s' category.\nAll links that were only assigned to this category will be assigned to the '%s' category.\n'OK' to delete, 'Cancel' to stop." ), $category->cat_name, get_catname( $default_cat_id ), get_catname( $default_link_cat_id ) )) . "' );\" class='delete'>".__( 'Delete' ).""; else $edit .= "".__( "Default" ); } else diff --git a/wp-admin/categories.php b/wp-admin/categories.php index 08e80c3d8..5e77e0fd6 100644 --- a/wp-admin/categories.php +++ b/wp-admin/categories.php @@ -114,7 +114,7 @@ cat_rows();
-

Note:
Deleting a category does not delete the posts and links in that category. Instead, posts in the deleted category are set to the category %s and links are set to %s.'), apply_filters('the_category', get_catname(get_option('default_category'))), apply_filters('the_category', get_catname(get_option('default_link_category')))) ?>

+

Note:
Deleting a category does not delete the posts and links in that category. Instead, posts that were only assigned to the deleted category are set to the category %s and links that were only assigned to the deleted category are set to %s.'), apply_filters('the_category', get_catname(get_option('default_category'))), apply_filters('the_category', get_catname(get_option('default_link_category')))) ?>