Sha256: 9e3653da4601dfe6489ec9a2f3d3a00d42bdb94b436c7920c099a4474863ed1d

Contents?: true

Size: 712 Bytes

Versions: 6

Compression:

Stored size: 712 Bytes

Contents

<?php
/**
 * Add Link Administration Screen.
 *
 * @package WordPress
 * @subpackage Administration
 */

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

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

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

wp_reset_vars( array('action', 'cat_id', 'link_id' ) );

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

if ( wp_is_mobile() )
	wp_enqueue_script( 'jquery-touch-punch' );

$link = get_default_link_to_edit();
include( ABSPATH . 'wp-admin/edit-link-form.php' );

require( ABSPATH . 'wp-admin/admin-footer.php' );

Version data entries

6 entries across 6 versions & 2 rubygems

Version Path
boot-cli-1.0.0 lib/templates/wordpress/wp-admin/link-add.php
boot-cli-0.3.1 lib/templates/wordpress/wp-admin/link-add.php
boot-cli-0.3.0 lib/templates/wordpress/wp-admin/link-add.php
stump-cli-0.1.3 lib/wp/wp-admin/link-add.php
stump-cli-0.1.2 lib/wp/wp-admin/link-add.php
stump-cli-0.1.1 lib/wp/wp-admin/link-add.php