mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-08-16 23:00:21 +00:00
h2 removal per wireframes. Props Viper007Bond. see #7552
git-svn-id: https://develop.svn.wordpress.org/trunk@9032 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -16,14 +16,14 @@ if ( ! empty($cat_ID) ) {
|
||||
/**
|
||||
* @var string
|
||||
*/
|
||||
$heading = __('Edit Category');
|
||||
$heading = '';
|
||||
$submit_text = __('Edit Category');
|
||||
$form = '<form name="editcat" id="editcat" method="post" action="categories.php" class="validate">';
|
||||
$action = 'editedcat';
|
||||
$nonce_action = 'update-category_' . $cat_ID;
|
||||
do_action('edit_category_form_pre', $category);
|
||||
} else {
|
||||
$heading = __('Add Category');
|
||||
$heading = '<h2>' . __('Add Category') . '</h2>';
|
||||
$submit_text = __('Add Category');
|
||||
$form = '<form name="addcat" id="addcat" method="post" action="categories.php" class="add:the-list: validate">';
|
||||
$action = 'addcat';
|
||||
@@ -56,7 +56,7 @@ _fill_empty_category($category);
|
||||
?>
|
||||
|
||||
<div class="wrap">
|
||||
<h2><?php echo $heading ?></h2>
|
||||
<?php echo $heading ?>
|
||||
<div id="ajax-response"></div>
|
||||
<?php echo $form ?>
|
||||
<input type="hidden" name="action" value="<?php echo $action ?>" />
|
||||
|
||||
Reference in New Issue
Block a user