[wp-trac] [WordPress Trac] #53811: Rename `retrieve_widgets` to `sync_registered_widgets`

WordPress Trac noreply at wordpress.org
Wed Sep 1 09:23:27 UTC 2021


#53811: Rename `retrieve_widgets` to `sync_registered_widgets`
---------------------------------------------+-----------------------------
 Reporter:  zieladam                         |       Owner:  hellofromTonya
     Type:  defect (bug)                     |      Status:  reopened
 Priority:  normal                           |   Milestone:  5.8.1
Component:  Widgets                          |     Version:
 Severity:  normal                           |  Resolution:
 Keywords:  has-patch has-unit-tests commit  |     Focuses:
---------------------------------------------+-----------------------------

Comment (by zieladam):

 > My inclination is to hold of deprecating this until a major release
 (either hard or soft deprecation) as the function has been around since WP
 2.8 so there isn't any urgency for limiting the use of the function in the
 wild.

 @peterwilsoncc pardon my ignorance but just to make sure we are on the
 same page – is the argument here basically keeping the `retrieve_widgets`
 docs on developer.wordpress.org for a little bit longer? I'm asking
 because the intention is very much to keep the function usable. nothing
 changes there.

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


More information about the wp-trac mailing list