Make WordPress Core

Opened 11 years ago

Closed 11 years ago

#25250 closed defect (bug) (fixed)

PHP Notices when editing dashboard widgets

Reported by: wikicms's profile wikicms Owned by: sergeybiryukov's profile SergeyBiryukov
Milestone: 3.7 Priority: normal
Severity: normal Version: 3.6
Component: Widgets Keywords: has-patch
Focuses: Cc:

Description

Step to reproduce:

  1. Install blog
  2. Set WP_DEBUG to TRUE
  3. Click "configure" Incoming Links widget and Submit changes

We get PHP Notices
Undefined index: title in \wp-includes\default-widgets.php on line 1003
Undefined variable: number in \wp-includes\default-widgets.php on line 933

PHP 5.4.17

Attachments (1)

25250.patch (2.3 KB) - added by SergeyBiryukov 11 years ago.

Download all attachments as: .zip

Change History (3)

#1 @SergeyBiryukov
11 years ago

  • Keywords has-patch added; needs-patch removed
  • Milestone changed from Awaiting Review to 3.7

#2 @SergeyBiryukov
11 years ago

  • Owner set to SergeyBiryukov
  • Resolution set to fixed
  • Status changed from new to closed

In 25298:

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

Note: See TracTickets for help on using tickets.