[wp-trac] [WordPress Trac] #60438: Remove unused `WP_Scripts::get_unaliased_deps()` method

WordPress Trac noreply at wordpress.org
Mon Feb 5 09:41:42 UTC 2024


#60438: Remove unused `WP_Scripts::get_unaliased_deps()` method
---------------------------+-------------------------
 Reporter:  swissspidy     |       Owner:  swissspidy
     Type:  defect (bug)   |      Status:  closed
 Priority:  normal         |   Milestone:  6.5
Component:  Script Loader  |     Version:
 Severity:  normal         |  Resolution:  fixed
 Keywords:                 |     Focuses:
---------------------------+-------------------------
Changes (by swissspidy):

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


Comment:

 In [changeset:"57533" 57533]:
 {{{
 #!CommitTicketReference repository="" revision="57533"
 Script Loader: Remove unused `WP_Scripts::get_unaliased_deps()` method.

 This private method was introduced in [56033] / #12009 but it's not
 actually used.
 It was part of the inline script implementation which was later reverted
 before final merge.
 The method can be safely removed because it’s private and cannot be used
 by extenders.

 Props joemcgill.
 Fixes #60438.
 }}}

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


More information about the wp-trac mailing list