Make WordPress Core

Opened 17 years ago

Closed 17 years ago

#12138 closed defect (bug) (fixed)

Fatal Error on Admin Notice Feed

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

Description

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

Download all attachments as: .zip

Change History (3)

#1 @nacin
17 years ago

  • Component GeneralFeeds
  • Keywords has-patch added
  • Milestone Unassigned3.0

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

Patching up.

@nacin
17 years ago

#2 @dd32
17 years ago

  • Resolutionfixed
  • Status newclosed

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

Note: See TracTickets for help on using tickets.