mirror of
git://develop.git.wordpress.org/
synced 2025-02-24 08:33:35 +01:00
Fix over-aggressive form validation. Props mdawaffe. fixes #6209
git-svn-id: https://develop.svn.wordpress.org/trunk@7385 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
000eee5dab
commit
5f2e606448
@ -2,12 +2,12 @@
|
||||
if ( ! empty($link_id) ) {
|
||||
$heading = __('Edit Link');
|
||||
$submit_text = __('Save Changes');
|
||||
$form = '<form name="editlink" id="editlink" method="post" action="link.php" class="validate">';
|
||||
$form = '<form name="editlink" id="editlink" method="post" action="link.php">';
|
||||
$nonce_action = 'update-bookmark_' . $link_id;
|
||||
} else {
|
||||
$heading = __('Add Link');
|
||||
$submit_text = __('Add Link');
|
||||
$form = '<form name="addlink" id="addlink" method="post" action="link.php" class="validate">';
|
||||
$form = '<form name="addlink" id="addlink" method="post" action="link.php">';
|
||||
$nonce_action = 'add-bookmark';
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user