[wp-trac] [WordPress Trac] #32660: 'style_loader_tag' should receive a `$src` parameter

WordPress Trac noreply at wordpress.org
Tue Jun 16 13:40:57 UTC 2015


#32660: 'style_loader_tag' should receive a `$src` parameter
---------------------------+----------------------------------------
 Reporter:  boonebgorges   |      Owner:
     Type:  defect (bug)   |     Status:  new
 Priority:  normal         |  Milestone:  Future Release
Component:  Script Loader  |    Version:
 Severity:  normal         |   Keywords:  needs-patch good-first-bug
  Focuses:                 |
---------------------------+----------------------------------------
 The 'script_loader_tag' gets three arguments: `$tag` (the markup),
 `$handle`, and `$src` (the asset URL). 'style_loader_tag' only gets the
 first two of these. It should get `$src` as well. Patches should update
 the docs as required - and make sure you catch all instances of
 'style_loader_tag'.

 See [30403].

--
Ticket URL: <https://core.trac.wordpress.org/ticket/32660>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list