WordPress.org

Make WordPress Core

Opened 5 years ago

Closed 5 years ago

Last modified 5 years ago

#10162 closed defect (bug) (fixed)

Dashboard fails on anonymous comment after upgrading to 2.8

Reported by: jikamens Owned by:
Milestone: 2.8.1 Priority: high
Severity: blocker Version: 2.8
Component: General Keywords: commit
Focuses: Cc:

Description

Seeing this in my httpd error log after upgrading to 2.8:

[Sun Jun 14 15:42:15 2009] [error] [client 24.218.221.24] PHP Fatal error: Call to a member function get_link() on a non-object in /home/jik/public_html/wordpress/wp-admin/includes/dashboard.php on line 647, referer: http://blog.kamens.brookline.ma.us/~jik/wordpress/wp-admin/options-general.php

The attached patch should be obvious. Don't know if it's the right fix, but it works for me ;-)

Attachments (1)

dashboard.patch (695 bytes) - added by jikamens 5 years ago.

Download all attachments as: .zip

Change History (5)

jikamens5 years ago

comment:1 Denis-de-Bernardy5 years ago

  • Milestone changed from Unassigned to 2.8.1
  • Priority changed from normal to high
  • Severity changed from normal to blocker
  • Version set to 2.8

comment:2 Denis-de-Bernardy5 years ago

  • Keywords commit added

Somebody could be changed to Anonymous, but this definitely needs to get checked in. (The RSS widget had the same issue at one point.)

comment:3 ryan5 years ago

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

(In [11569]) Fix fatal error in incoming links dashboard module when author not defined. Props jikamens. fixes #10162 for trunk

comment:4 ryan5 years ago

(In [11570]) Fix fatal error in incoming links dashboard module when author not defined. Props jikamens. fixes #10162 for 2.8.1

Note: See TracTickets for help on using tickets.