[wp-trac] [WordPress Trac] #56696: Twenty Eleven: Correctly escape stylesheet URL
WordPress Trac
noreply at wordpress.org
Sat Oct 1 14:59:04 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 Alberuni Azad.):
Hi @sabernhardt
1. Since {{{get_bloginfo( 'stylesheet_url' )}}} function using the
{{{get_stylesheet_uri()}}} we can directly call that function instead of
the bloginfo function.
2. I'm unsure which version this patch will be added, so I think once the
ticket is confirmed, we can update the version date.
3 & 4. Yes, I've checked those files and noticed that the function is
unescaped. Should I upload another patch for those themes too?
Anyway, Thank you so much for reviewing this ticket.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/56696#comment:6>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list