[wp-trac] [WordPress Trac] #30770: Twenty Fifteen: Theme Review: Stylesheets and Scripts

WordPress Trac noreply at wordpress.org
Tue Jan 6 04:37:40 UTC 2015


#30770: Twenty Fifteen: Theme Review: Stylesheets and Scripts
---------------------------+-----------------------
 Reporter:  emiluzelac     |       Owner:
     Type:  defect (bug)   |      Status:  reopened
 Priority:  normal         |   Milestone:  4.2
Component:  Bundled Theme  |     Version:  4.1
 Severity:  normal         |  Resolution:
 Keywords:  has-patch      |     Focuses:
---------------------------+-----------------------

Comment (by peterwilsoncc):

 That works too.

 You will need to use the regexp `/\bno-js\b/` to ensure it only replaces
 the `no-js` class. ATM you'll catch anything containing the sub-string,
 say `casino-jschiffer`.

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


More information about the wp-trac mailing list