From e917c14144ca221089a172c5a0af7ca568feab97 Mon Sep 17 00:00:00 2001 From: Scott Taylor Date: Sun, 18 May 2014 22:07:15 +0000 Subject: [PATCH] In `edit-link-form.php`, `hackificator` bails because there is a `` with no open `
`. It exists, but is needlessly constructed with PHP. It always returns a ``, only the `id` and `name` are different. The dynamic piece just returns the ID now. See #27881. Built from https://develop.svn.wordpress.org/trunk@28485 git-svn-id: http://core.svn.wordpress.org/trunk@28311 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-admin/edit-link-form.php | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/wp-admin/edit-link-form.php b/wp-admin/edit-link-form.php index 5355fbdbdd..610240a0c4 100644 --- a/wp-admin/edit-link-form.php +++ b/wp-admin/edit-link-form.php @@ -13,12 +13,12 @@ if ( !defined('ABSPATH') ) if ( ! empty($link_id) ) { $heading = sprintf( __( 'Links / Edit Link' ), 'link-manager.php' ); $submit_text = __('Update Link'); - $form = ''; + $form_name = 'editlink'; $nonce_action = 'update-bookmark_' . $link_id; } else { $heading = sprintf( __( 'Links / Add New Link' ), 'link-manager.php' ); $submit_text = __('Add Link'); - $form = ''; + $form_name = 'addlink'; $nonce_action = 'add-bookmark'; } @@ -76,11 +76,11 @@ require_once( ABSPATH . 'wp-admin/admin-header.php' );

+