[wp-trac] [WordPress Trac] #53108: `get_theme_file_uri()` fails with query params

WordPress Trac noreply at wordpress.org
Thu Apr 29 02:44:02 UTC 2021


#53108: `get_theme_file_uri()` fails with query params
-------------------------+------------------------------
 Reporter:  zulaica      |       Owner:  (none)
     Type:  enhancement  |      Status:  new
 Priority:  normal       |   Milestone:  Awaiting Review
Component:  Themes       |     Version:  5.7.1
 Severity:  normal       |  Resolution:
 Keywords:               |     Focuses:
-------------------------+------------------------------

Comment (by zulaica):

 I can also see the argument against fixing the unintended side effect,
 that `get_theme_file_uri ()` should handle query params given that a query
 is part of a URI's syntax. I have no strong opinion either way, just
 trying to consider potential complications.

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


More information about the wp-trac mailing list