CoreFiles by mySites.guru
link-add.php30 lines, 739 bytes, from wordpress-2.9.2.zip
Raw History Compare with 2.9.1
md5
796d273d6569da0534a5622cf41a7b8f
sha1
3c3435c6e6f501c7b6dd54a6860319c7507e019b
sha256
9c7e7146f60e4bfb3ab5a9056bea31f78c0b445be6f6dc2d3a6b77e22e1975cc
<?php
/**
 * Add Link Administration Panel.
 *
 * @package WordPress
 * @subpackage Administration
 */

/** Load WordPress Administration Bootstrap */
require_once('admin.php');

if ( ! current_user_can('manage_links') )
	wp_die(__('You do not have sufficient permissions to add links to this blog.'));

$title = __('Add New Link');
$parent_file = 'link-manager.php';

wp_reset_vars(array('action', 'cat_id', 'linkurl', 'name', 'image',
	'description', 'visible', 'target', 'category', 'link_id',
	'submit', 'order_by', 'links_show_cat_id', 'rating', 'rel',
	'notes', 'linkcheck[]'));

wp_enqueue_script('link');
wp_enqueue_script('xfn');

$link = get_default_link_to_edit();
include('edit-link-form.php');

require('admin-footer.php');
?>

The same content is in 15 releases, WordPress 2.8.3 to 3.0-beta1. See them all, or every version of this file.