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

WordPress Trac noreply at wordpress.org
Thu Apr 29 02:25:59 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 see! Okay, that all makes sense. I wasn't aware of `add_query_arg()`,
 but that fits the bill perfectly. Thanks!

 I agree that the unintended side effect should be fixed to better follow
 the intent of the function, but I'm concerned that some existing themes
 may wind up breaking as a result of relying on this side effect.

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


More information about the wp-trac mailing list