[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 26 03:22:37 UTC 2012


#21018: get_the_password_form() inserting two </p> before the </form> causing W3C
validation error
----------------------------------------+---------------------
 Reporter:  kevinhaig                   |       Owner:  nacin
     Type:  defect (bug)                |      Status:  closed
 Priority:  normal                      |   Milestone:  3.4.1
Component:  Formatting                  |     Version:  3.4
 Severity:  normal                      |  Resolution:  fixed
 Keywords:  has-patch needs-unit-tests  |
----------------------------------------+---------------------
Changes (by nacin):

 * milestone:  Awaiting Review => 3.4.1


Comment:

 Replying to [comment:1 duck_]:
 > 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.

 Not entirely sure the best way to turn this into a bug report. duck_, can
 you open a new ticket for 3.5?

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


More information about the wp-trac mailing list