[wp-trac] [WordPress Trac] #21018: get_the_password_form() inserting two </p> before the </form> causing W3C validation error

WordPress Trac wp-trac at lists.automattic.com
Tue Jun 19 07:35:47 UTC 2012


#21018: get_the_password_form() inserting two </p> before the </form> causing W3C
validation error
--------------------------+------------------------------
 Reporter:  kevinhaig     |       Owner:
     Type:  defect (bug)  |      Status:  new
 Priority:  normal        |   Milestone:  Awaiting Review
Component:  General       |     Version:  3.4
 Severity:  normal        |  Resolution:
 Keywords:  has-patch     |
--------------------------+------------------------------
Changes (by duck_):

 * keywords:   => has-patch


Comment:

 I thought that we had fixed this in #16456.

 After some quick investigation it appears that the problem is that the
 spacing before the closing </form> tag is being captured in paragraph
 tags. Removing <p> tags from around block-level elements first fixes this.
 However, it will need a lot more testing.

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/21018#comment:1>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list