[wp-trac] [WordPress Trac] #44979: Parameter 1 to wp_default_styles() expected to be a reference, value given

WordPress Trac noreply at wordpress.org
Sat Aug 3 18:39:17 UTC 2019


#44979: Parameter 1 to wp_default_styles() expected to be a reference, value given
---------------------------+-----------------------------
 Reporter:  jqz            |       Owner:  SergeyBiryukov
     Type:  defect (bug)   |      Status:  accepted
 Priority:  normal         |   Milestone:  5.3
Component:  Script Loader  |     Version:
 Severity:  normal         |  Resolution:
 Keywords:  needs-patch    |     Focuses:
---------------------------+-----------------------------

Comment (by killerbishop):

 I've added the patch with `do_action()` left intact. I did have to switch
 the noop.php script to disable `do_action()` instead of
 `do_action_ref_array()` since I changed to that. I tested to make sure
 scripts/styles are still loading as expected in prodction and debug mode.
 Here is my cloned repo's PR if needed:

 https://github.com/killerbishop/wordpress-develop/pull/3

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


More information about the wp-trac mailing list