[wp-trac] [WordPress Trac] #48760: Adjust argument type for wp_dequeue_style/wp_dequeue_script

WordPress Trac noreply at wordpress.org
Sun Feb 2 05:07:27 UTC 2020


#48760: Adjust argument type for wp_dequeue_style/wp_dequeue_script
--------------------------------------+-----------------------------
 Reporter:  vanyukov                  |       Owner:  SergeyBiryukov
     Type:  enhancement               |      Status:  closed
 Priority:  normal                    |   Milestone:  5.4
Component:  Script Loader             |     Version:
 Severity:  normal                    |  Resolution:  fixed
 Keywords:  good-first-bug has-patch  |     Focuses:
--------------------------------------+-----------------------------
Changes (by SergeyBiryukov):

 * status:  reviewing => closed
 * resolution:   => fixed


Comment:

 Thanks for the ticket and the patch! This appears to be addressed in
 [46661].

 Both `WP_Dependencies::enqueue()` and `::dequeue()` now have the
 `$handles` parameter documented as `string|string[]` instead of `mixed`.

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


More information about the wp-trac mailing list