[wp-trac] [WordPress Trac] #24733: Unused code in WP_Widgets::update_callback()

WordPress Trac noreply at wordpress.org
Fri Feb 21 17:18:43 UTC 2014


#24733: Unused code in WP_Widgets::update_callback()
--------------------------+------------------
 Reporter:  jdgrimes      |       Owner:
     Type:  defect (bug)  |      Status:  new
 Priority:  normal        |   Milestone:  3.9
Component:  Widgets       |     Version:
 Severity:  minor         |  Resolution:
 Keywords:  needs-patch   |     Focuses:
--------------------------+------------------

Comment (by SergeyBiryukov):

 The original code was introduced in [10764]. `$widget_args` was used in
 `control_callback()`.

 In [10798], `control_callback()` was renamed to `update_callback()`, and
 `$widget_args` usage was moved to `form_callback()`.

 So, yeah, unused since [10798].

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


More information about the wp-trac mailing list