#10162 closed defect (bug) (fixed)
Dashboard fails on anonymous comment after upgrading to 2.8
Reported by: |
|
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)
Change History (5)
Note: See
TracTickets for help on using
tickets.
Somebody could be changed to Anonymous, but this definitely needs to get checked in. (The RSS widget had the same issue at one point.)