[wp-trac] [WordPress Trac] #22476: Remove optional single and double quotes in CSS url()s

WordPress Trac noreply at wordpress.org
Fri Nov 16 18:53:17 UTC 2012


#22476: Remove optional single and double quotes in CSS url()s
-------------------------+------------------------------
 Reporter:  TobiasBg     |       Owner:
     Type:  enhancement  |      Status:  new
 Priority:  normal       |   Milestone:  Awaiting Review
Component:  General      |     Version:
 Severity:  trivial      |  Resolution:
 Keywords:  has-patch    |
-------------------------+------------------------------

Comment (by TobiasBg):

 Personally, I don't actually prefer the without-quotes version either. I
 justed wanted some consistency, and as quotes are optional, and as recent
 commits with new CSS also left them out, additionally to a lot of url()s
 already being without them, I decided to go that way in the patch.

 It might indeed be better to add " everywhere, according to the Coding
 Standards, and then maybe hope that the CSS minifier will someday
 automatically strip them to save the bytes in the .min.css version.

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


More information about the wp-trac mailing list