mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-08-16 14:50:29 +00:00
Collapse crazyhorse to trunk. Incoming! see #7552
git-svn-id: https://develop.svn.wordpress.org/trunk@8691 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -11,7 +11,8 @@ require_once('admin.php');
|
||||
|
||||
$title = __('Add Link');
|
||||
$this_file = 'link-manager.php';
|
||||
$parent_file = 'post-new.php';
|
||||
$parent_file = 'edit.php';
|
||||
$submenu_file = 'link-manager.php';
|
||||
|
||||
|
||||
wp_reset_vars(array('action', 'cat_id', 'linkurl', 'name', 'image',
|
||||
@@ -22,6 +23,10 @@ wp_reset_vars(array('action', 'cat_id', 'linkurl', 'name', 'image',
|
||||
wp_enqueue_script('link');
|
||||
wp_enqueue_script('xfn');
|
||||
|
||||
$link_added = ( isset($_GET['added']) && '' != $_POST['link_name'] ) ?
|
||||
'<div id="message" class="updated fade"><p>' . __('Link added.') . '</p></div>' : '';
|
||||
|
||||
$fixed_bar = true;
|
||||
require('admin-header.php');
|
||||
?>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user