[wp-trac] [WordPress Trac] #49742: No longer able to enqueue multiple Google Fonts with wp_enqueue_style

WordPress Trac noreply at wordpress.org
Wed May 6 18:57:22 UTC 2020


#49742: No longer able to enqueue multiple Google Fonts with wp_enqueue_style
---------------------------+------------------------------
 Reporter:  tannerm        |       Owner:  (none)
     Type:  defect (bug)   |      Status:  new
 Priority:  normal         |   Milestone:  Awaiting Review
Component:  Script Loader  |     Version:
 Severity:  normal         |  Resolution:
 Keywords:                 |     Focuses:
---------------------------+------------------------------

Comment (by Otto42):

 Copied from #50106 as it is relevant information:

 Replying to [comment:2 ocean90]:
 > Noting that `wp_parse_str()` is currently a simple wrapper for PHP's own
 `parse_str()` function. The behaviour we are seeing here is also
 [https://www.php.net/manual/en/function.parse-str.php#76792 documented in
 a user note].
 >
 > Since we already have this wrapper we could include a possible fix
 there.


 While this behavior does ultimately come from PHP's implementation of
 parse_str, it seems like something that we should probably handle in the
 wrapper.

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


More information about the wp-trac mailing list