#10035 closed defect (bug) (wontfix)
Allow to override the widget's option name
| Reported by: |
|
Owned by: |
|
|---|---|---|---|
| Priority: | normal | Milestone: | |
| Component: | Widgets | Version: | 2.8 |
| Severity: | blocker | Keywords: | has-patch tested commit |
| Cc: |
Description
See attached patch. Not all plugins use the widget_[name] convention, and the patch allows to readily migrate old widgets to their new format.
Attachments (1)
Change History (4)
Denis-de-Bernardy
— 4 years ago
comment:2
Denis-de-Bernardy
— 4 years ago
it might be worth documenting it a bit more than it already is, in the widget's constructor et al.
comment:3
Denis-de-Bernardy
— 4 years ago
- Milestone 2.8 deleted
Note: See
TracTickets for help on using
tickets.
The alt_option_name can be used to solve this similarly to WP_Widget_Recent_Comments and WP_Widget_Recent_Posts.