Edit File by line
/home/barbar84/public_h.../wp-admin
File: link-add.php
<?php
[0] Fix | Delete
/**
[1] Fix | Delete
* Add Link Administration Screen.
[2] Fix | Delete
*
[3] Fix | Delete
* @package WordPress
[4] Fix | Delete
* @subpackage Administration
[5] Fix | Delete
*/
[6] Fix | Delete
[7] Fix | Delete
/** Load WordPress Administration Bootstrap */
[8] Fix | Delete
require_once __DIR__ . '/admin.php';
[9] Fix | Delete
[10] Fix | Delete
if ( ! current_user_can( 'manage_links' ) ) {
[11] Fix | Delete
wp_die( __( 'Sorry, you are not allowed to add links to this site.' ) );
[12] Fix | Delete
}
[13] Fix | Delete
[14] Fix | Delete
$title = __( 'Add New Link' );
[15] Fix | Delete
$parent_file = 'link-manager.php';
[16] Fix | Delete
[17] Fix | Delete
wp_reset_vars( array( 'action', 'cat_id', 'link_id' ) );
[18] Fix | Delete
[19] Fix | Delete
wp_enqueue_script( 'link' );
[20] Fix | Delete
wp_enqueue_script( 'xfn' );
[21] Fix | Delete
[22] Fix | Delete
if ( wp_is_mobile() ) {
[23] Fix | Delete
wp_enqueue_script( 'jquery-touch-punch' );
[24] Fix | Delete
}
[25] Fix | Delete
[26] Fix | Delete
$link = get_default_link_to_edit();
[27] Fix | Delete
require ABSPATH . 'wp-admin/edit-link-form.php';
[28] Fix | Delete
[29] Fix | Delete
require_once ABSPATH . 'wp-admin/admin-footer.php';
[30] Fix | Delete
[31] Fix | Delete
It is recommended that you Edit text format, this type of Fix handles quite a lot in one request
Function