Changes between Initial Version and Version 1 of Ticket #19239, comment 5
- Timestamp:
- 01/10/2013 06:08:46 AM (12 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #19239, comment 5
initial v1 7 7 Looking at how the configuration options are currently done, it appears that all four built-in RSS widgets (three Dashboard widgets and a sidebar widget) use the same form which is generated by `wp_widget_rss_form()`. 8 8 9 In my reading of the existing setup, we'd need to add a couple of additional arguments to the array passed via `wp_dashboard_newsfeed_control()` to `wp_dashboard_rss_control()` as well as `$_POST` handlers for that data. `wp_widget_rss_form()` would need corresponding key/value pairs too. Then there'd need to be a switchedbased on the `$widget_id` to activate the secondary title and URL fields.9 In my reading of the existing setup, we'd need to add a couple of additional arguments to the array passed via `wp_dashboard_newsfeed_control()` to `wp_dashboard_rss_control()` as well as `$_POST` handlers for that data. `wp_widget_rss_form()` would need corresponding key/value pairs too. Then there'd need to be a check based on the `$widget_id` to activate the secondary title and URL fields. 10 10 11 11 That's if we stick with modifying the existing rss control, CMIIW.