WordPress.org

Make WordPress Core

Changes between Initial Version and Version 1 of Ticket #19239, comment 5


Ignore:
Timestamp:
01/10/13 06:08:46 (16 months ago)
Author:
DrewAPicture
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #19239, comment 5

    initial v1  
    77Looking 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()`.  
    88 
    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 switched based on the `$widget_id` to activate the secondary title and URL fields. 
     9In 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. 
    1010 
    1111That's if we stick with modifying the existing rss control, CMIIW.