~canonical-sysadmins/wordpress/4.8.1

« back to all changes in this revision

Viewing changes to wp-admin/link-add.php

  • Committer: Barry Price
  • Date: 2016-08-17 04:49:28 UTC
  • mto: This revision was merged to the branch mainline in revision 22.
  • Revision ID: barry.price@canonical.com-20160817044928-viijiwb4tl8jwzmp
new upstream release 4.6

Show diffs side-by-side

added added

removed removed

Lines of Context:
10
10
require_once( dirname( __FILE__ ) . '/admin.php' );
11
11
 
12
12
if ( ! current_user_can('manage_links') )
13
 
        wp_die(__('You do not have sufficient permissions to add links to this site.'));
 
13
        wp_die(__('Sorry, you are not allowed to add links to this site.'));
14
14
 
15
15
$title = __('Add New Link');
16
16
$parent_file = 'link-manager.php';