[wp-trac] [WordPress Trac] #53811: Rename `retrieve_widgets` to `sync_registered_widgets`
WordPress Trac
noreply at wordpress.org
Wed Sep 1 04:46:08 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 peterwilsoncc):
Sorry for coming to this late but I think the docblock for the deprecated
function will need to be updated.
Typically WP keeps the description of what the function does, at least in
summary form. Developer.wordpress.org then picks up the warning from the
docblock, in this case:
{{{
@deprecated 5.8.1 Use sync_registered_widgets()
}}}
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.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/53811#comment:20>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list