From 8af8f5f8f23179023da6a4e42035654a196adff9 Mon Sep 17 00:00:00 2001 From: Scott Taylor Date: Sun, 18 May 2014 22:06:22 +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. git-svn-id: https://develop.svn.wordpress.org/trunk@28485 602fd350-edb4-49c9-b593-d223f7449a82 --- src/wp-admin/edit-link-form.php | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/src/wp-admin/edit-link-form.php b/src/wp-admin/edit-link-form.php index 5355fbdbdd..610240a0c4 100644 --- a/src/wp-admin/edit-link-form.php +++ b/src/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' );

+