[wp-trac] [WordPress Trac] #37944: review of opening tags immediately followed by closing tags of same type
WordPress Trac
noreply at wordpress.org
Mon Sep 5 01:50:17 UTC 2016
#37944: review of opening tags immediately followed by closing tags of same type
--------------------------+------------------------------
Reporter: Presskopp | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: General | Version: trunk
Severity: normal | Resolution:
Keywords: | Focuses:
--------------------------+------------------------------
Comment (by dd32):
> `<div></div>` & `<span></span>`
The ones I can find appear to be needed, based on their locations
> `<ul></ul>`
Appears that this would get filled with `<li>`'s from an ajax request
> `<li></li>`
I don't see any of those
All in all, these tags are usually like this within either HTML templates
for JS actions, or are used for styling purposes (for example, nested
`:before`'s.
If you can find any in the UI which have no styling or JS interacting with
them, then we can clean them up, but you'll need to list the specific
instances of the tags which are unused.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/37944#comment:1>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list