[wp-trac] [WordPress Trac] #10162: Dashboard fails on anonymous comment after upgrading to 2.8

WordPress Trac wp-trac at lists.automattic.com
Sun Jun 14 19:49:21 GMT 2009


#10162: Dashboard fails on anonymous comment after upgrading to 2.8
--------------------------+-------------------------------------------------
 Reporter:  jikamens      |       Owner:            
     Type:  defect (bug)  |      Status:  new       
 Priority:  normal        |   Milestone:  Unassigned
Component:  General       |     Version:            
 Severity:  normal        |    Keywords:            
--------------------------+-------------------------------------------------
 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 ;-)

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/10162>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list