[wp-trac] [WordPress Trac] #24084: Fix possible PHP notices after a user is deleted

WordPress Trac noreply at wordpress.org
Sun Apr 14 22:24:48 UTC 2013


#24084: Fix possible PHP notices after a user is deleted
-----------------------------+--------------------------
 Reporter:  azaozz           |       Type:  defect (bug)
   Status:  new              |   Priority:  normal
Milestone:  Awaiting Review  |  Component:  General
  Version:                   |   Severity:  normal
 Keywords:                   |
-----------------------------+--------------------------
 `get_comment_author()` doesn't check if a user that has commented still
 exists and may throw a notice. Also can return the user_login where a user
 name is expected.

 Same in `edit-form-advanced.php` in the code block that outputs "Last
 edited by ..." under the editor.

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


More information about the wp-trac mailing list