Fix typo in edit-tags.php (proper patch), props nacin, fixes #11350 for trunk

git-svn-id: http://svn.automattic.com/wordpress/trunk@12444 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
azaozz 2009-12-18 06:30:16 +00:00
parent 61dda68ef7
commit 29f3124366
1 changed files with 2 additions and 2 deletions

View File

@ -27,7 +27,7 @@ if ( isset( $_GET['action'] ) && isset($_GET['delete_tags']) && ( 'delete' == $_
switch($action) {
case 'addtag':
case 'add-tag':
check_admin_referer('add-tag');
@ -281,7 +281,7 @@ else
<div class="form-wrap">
<h3><?php _e('Add a New Tag'); ?></h3>
<form id="addtag" method="post" action="edit-tags.php" class="validate">
<input type="hidden" name="action" value="addtag" />
<input type="hidden" name="action" value="add-tag" />
<input type="hidden" name="taxonomy" value="<?php echo esc_attr($taxonomy); ?>" />
<?php wp_nonce_field('add-tag'); ?>