[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:18:28 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:  Formatting                  |     Version:  3.4
 Severity:  normal                      |  Resolution:
 Keywords:  has-patch needs-unit-tests  |
----------------------------------------+------------------------------

Comment (by nacin):

 Let's remove the extra tab before `</form>` to fix this in the 3.4 branch.
 We can look into wpautop() in 3.5, with unit tests.

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


More information about the wp-trac mailing list