Make WordPress Core

Opened 13 years ago

Closed 13 years ago

#25250 closed defect (bug) (fixed)

PHP Notices when editing dashboard widgets

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

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 13 years ago.

Download all attachments as: .zip

Change History (3)

#1 @SergeyBiryukov
13 years ago

  • Keywords has-patch added; needs-patch removed
  • Milestone Awaiting Review → 3.7

#2 @SergeyBiryukov
13 years ago

  • Owner set to SergeyBiryukov
  • Resolution → fixed
  • Status new → closed

In 25298:

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

Note: See TracTickets for help on using tickets.