Opened 8 years ago
Closed 8 years ago
#41592 closed defect (bug) (fixed)
Correct $wp_registered_widget_controls global reference in wp_register_sidebar_widget()
Reported by: |
|
Owned by: |
|
---|---|---|---|
Milestone: | 4.9 | Priority: | normal |
Severity: | normal | Version: | |
Component: | Widgets | Keywords: | |
Focuses: | docs | Cc: |
Description
the function in define global variable is $wp_registered_widget_controls but comments in define$wp_register_widget_defaults
Attachments (1)
Change History (3)
Note: See
TracTickets for help on using
tickets.
Introduced in [30776]. Looks like
$wp_register_widget_defaults
never existed. The description should probably be updated as well.@upadalavipul Thanks for the patch! In the future, it would be helpful to provide a more descriptive summary when creating Trac tickets. "Needs documents improvement" is exceptionally vague :)
I've gone ahead and updated the summary here to demonstrate what you should be aiming for.