mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-10-07 08:07:16 +00:00
More screen icons and fixes, includes patch by johnconners, fixes #8380
git-svn-id: https://develop.svn.wordpress.org/trunk@9912 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -16,14 +16,14 @@ if ( ! empty($cat_ID) ) {
|
||||
/**
|
||||
* @var string
|
||||
*/
|
||||
$heading = '<h2>' . __('Edit Category') . '</h2>';
|
||||
$heading = '<h2>' . __('Edit Link Category') . '</h2>';
|
||||
$submit_text = __('Edit Category');
|
||||
$form = '<form name="editcat" id="editcat" method="post" action="link-category.php" class="validate">';
|
||||
$action = 'editedcat';
|
||||
$nonce_action = 'update-link-category_' . $cat_ID;
|
||||
do_action('edit_link_category_form_pre', $category);
|
||||
} else {
|
||||
$heading = '<h2>' . __('Add Category') . '</h2>';
|
||||
$heading = '<h2>' . __('Add Link Category') . '</h2>';
|
||||
$submit_text = __('Add Category');
|
||||
$form = '<form name="addcat" id="addcat" class="add:the-list: validate" method="post" action="link-category.php">';
|
||||
$action = 'addcat';
|
||||
@@ -53,6 +53,7 @@ _fill_empty_link_category($category);
|
||||
?>
|
||||
|
||||
<div class="wrap">
|
||||
<?php screen_icon(); ?>
|
||||
<?php echo $heading ?>
|
||||
<div id="ajax-response"></div>
|
||||
<?php echo $form ?>
|
||||
|
||||
Reference in New Issue
Block a user