[wp-trac] [WordPress Trac] #56696: Twenty Eleven: Correctly escape stylesheet URL

WordPress Trac noreply at wordpress.org
Fri Sep 30 16:47:40 UTC 2022


#56696: Twenty Eleven: Correctly escape stylesheet URL
-----------------------------------------+------------------------------
 Reporter:  Alberuni Azad.               |       Owner:  (none)
     Type:  defect (bug)                 |      Status:  new
 Priority:  normal                       |   Milestone:  Awaiting Review
Component:  Bundled Theme                |     Version:  3.2
 Severity:  normal                       |  Resolution:
 Keywords:  has-patch changes-requested  |     Focuses:
-----------------------------------------+------------------------------

Comment (by sabernhardt):

 1. Could we use the `get_stylesheet_uri()` function instead of
 `get_bloginfo`?
 2. The stylesheet version date will be updated on #56450 (already
 mentioned in [https://github.com/WordPress/wordpress-
 develop/pull/3148#pullrequestreview-1126879360 PR 3148 review]).
 3. The same escaping could be added in Twenty Ten's header.php.
 4. The template directory function is also unescaped for Twenty Twelve to
 Twenty Fourteen, but we may remove those HTML5 scripts soon anyway
 (#56699). Twenty Fifteen already escapes the function.

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


More information about the wp-trac mailing list