[wp-trac] [WordPress Trac] #58951: Meta and Link tags contain trailing slashes

WordPress Trac noreply at wordpress.org
Tue Aug 1 09:30:06 UTC 2023


#58951: Meta and Link tags contain trailing slashes
--------------------------+-----------------------------
 Reporter:  simbaclaws    |      Owner:  (none)
     Type:  defect (bug)  |     Status:  new
 Priority:  normal        |  Milestone:  Awaiting Review
Component:  General       |    Version:  6.2.2
 Severity:  normal        |   Keywords:
  Focuses:                |
--------------------------+-----------------------------
 Dear wordpress core,

 I'm trying to remove all of the trailing slashes in wordpress core from
 the meta and link tags according to the W3C.

 Whenever I have a blank wordpress site, and check that site with the w3c
 validator, I get a lot of info messages with the following text in it:
 Info: Trailing slash on void elements has no effect and interacts badly
 with unquoted attribute values.

 I made a fork of the wordpress master repository, and created a branch
 named trailingslash, where I think I've succesfully removed most if not
 all trailing slashes.

 Please review my code.

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/58951>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list