Death to trailing tabs. Props Mark J. fixes #2405
git-svn-id: http://svn.automattic.com/wordpress/trunk@3517 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
@@ -27,7 +27,7 @@ case 'addcat':
|
||||
|
||||
if ( !current_user_can('manage_categories') )
|
||||
die (__('Cheatin’ uh?'));
|
||||
|
||||
|
||||
wp_insert_category($_POST);
|
||||
|
||||
header('Location: categories.php?message=1#addcat');
|
||||
@@ -96,7 +96,7 @@ break;
|
||||
case 'editedcat':
|
||||
if ( !current_user_can('manage_categories') )
|
||||
die (__('Cheatin’ uh?'));
|
||||
|
||||
|
||||
wp_update_category($_POST);
|
||||
|
||||
header('Location: categories.php?message=3');
|
||||
|
||||
Reference in New Issue
Block a user