[wp-trac] [WordPress Trac] #32010: get_archives_link breaks HTML5 validation (is in XHTML)

WordPress Trac noreply at wordpress.org
Mon Apr 20 18:26:42 UTC 2015


#32010: get_archives_link breaks HTML5 validation (is in XHTML)
-------------------------+------------------------------
 Reporter:  conraid      |       Owner:
     Type:  enhancement  |      Status:  new
 Priority:  normal       |   Milestone:  Awaiting Review
Component:  General      |     Version:  4.1.1
 Severity:  normal       |  Resolution:
 Keywords:               |     Focuses:
-------------------------+------------------------------

Comment (by dd32):

 Replying to [comment:2 xavivars]:
 > If I read it properly, it actually says just the opposite:
 >
 > > Void elements only have a start tag; end tags must not be specified
 for void elements
 >
 > so they CAN'T have an end tag.

 This simply means they can't have an end tag `<tag />` is valid,
 `<tag></tag>` is not, check `8.1.2.1 Start tags` point 6 for validation of
 that.

--
Ticket URL: <https://core.trac.wordpress.org/ticket/32010#comment:3>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list