root/trunk/wp-admin/link-add.php

Revision 1522, 0.6 kB (checked in by donncha, 3 days ago)

WP Merge with revision 9730

  • Property svn:eol-style set to native
Line 
1 <?php
2 /**
3  * Add Link Administration Panel.
4  *
5  * @package WordPress
6  * @subpackage Administration
7  */
8
9 /** Load WordPress Administration Bootstrap */
10 require_once('admin.php');
11
12 $title = __('Add New Link');
13 $parent_file = 'link-manager.php';
14
15 wp_reset_vars(array('action', 'cat_id', 'linkurl', 'name', 'image',
16     'description', 'visible', 'target', 'category', 'link_id',
17     'submit', 'order_by', 'links_show_cat_id', 'rating', 'rel',
18     'notes', 'linkcheck[]'));
19
20 wp_enqueue_script('link');
21 wp_enqueue_script('xfn');
22
23 $link = get_default_link_to_edit();
24 include('edit-link-form.php');
25
26 require('admin-footer.php');
27 ?>
28
Note: See TracBrowser for help on using the browser.