WordPress.org

Make WordPress Core

Changeset 21124


Ignore:
Timestamp:
06/26/12 03:20:51 (22 months ago)
Author:
nacin
Message:

Fix validation issue in get_the_password_form() caused by wpautop(). see #21018 for trunk.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-includes/post-template.php

    r21054 r21124  
    12211221    <p>' . __("This post is password protected. To view it please enter your password below:") . '</p> 
    12221222    <p><label for="' . $label . '">' . __("Password:") . ' <input name="post_password" id="' . $label . '" type="password" size="20" /></label> <input type="submit" name="Submit" value="' . esc_attr__("Submit") . '" /></p> 
    1223     </form> 
     1223</form> 
    12241224    '; 
    12251225    return apply_filters('the_password_form', $output); 
Note: See TracChangeset for help on using the changeset viewer.