Make WordPress Core


Ignore:
Timestamp:
09/07/2013 06:16:09 PM (13 years ago)
Author:
SergeyBiryukov
Message:

Avoid PHP notices when configuring the Incoming Links dashboard widget. fixes #25250.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-admin/includes/dashboard.php

    r25091 r25298  
    10961096        $_POST['widget-rss'][$number] = wp_unslash( $_POST['widget-rss'][$number] );
    10971097        $widget_options[$widget_id] = wp_widget_rss_process( $_POST['widget-rss'][$number] );
     1098        $widget_options[$widget_id]['number'] = $number;
    10981099        // title is optional. If black, fill it if possible
    10991100        if ( !$widget_options[$widget_id]['title'] && isset($_POST['widget-rss'][$number]['title']) ) {
Note: See TracChangeset for help on using the changeset viewer.