wp core update 6.6
This commit is contained in:
@@ -17,7 +17,9 @@ if ( ! current_user_can( 'manage_links' ) ) {
|
||||
$title = __( 'Add New Link' );
|
||||
$parent_file = 'link-manager.php';
|
||||
|
||||
wp_reset_vars( array( 'action', 'cat_id', 'link_id' ) );
|
||||
$action = ! empty( $_REQUEST['action'] ) ? sanitize_text_field( $_REQUEST['action'] ) : '';
|
||||
$cat_id = ! empty( $_REQUEST['cat_id'] ) ? absint( $_REQUEST['cat_id'] ) : 0;
|
||||
$link_id = ! empty( $_REQUEST['link_id'] ) ? absint( $_REQUEST['link_id'] ) : 0;
|
||||
|
||||
wp_enqueue_script( 'link' );
|
||||
wp_enqueue_script( 'xfn' );
|
||||
|
||||
Reference in New Issue
Block a user