Make WordPress Core

Opened 14 years ago

Closed 14 years ago

#12138 closed defect (bug) (fixed)

Fatal Error on Admin Notice Feed

Reported by: ocean90's profile ocean90 Owned by:
Milestone: 3.0 Priority: normal
Severity: normal Version: 3.0
Component: Feeds Keywords: has-patch
Focuses: multisite Cc:


If the feed, which I set for the 'Admin Notice Feed', doesn't exist or has an errror I get this message on Dashboard:

Fatal error: Call to undefined method WP_Error::get_item() in /var/www/web31/html/wp-admin/includes/ms.php on line 629

Attachments (1)

12138.diff (2.2 KB) - added by nacin 14 years ago.

Download all attachments as: .zip

Change History (3)

#1 @nacin
14 years ago

  • Component changed from General to Feeds
  • Keywords has-patch added
  • Milestone changed from Unassigned to 3.0

Nice catch, we should be checking for is_wp_error() (explanation in #12059).

Patching up.

14 years ago

#2 @dd32
14 years ago

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

(In [12965]) Cleanup admin_notice_feed(). Props nacin. Fixes #12138

Note: See TracTickets for help on using tickets.