[wp-trac] [WordPress Trac] #29044: TypeError: Cannot read property 'avatar' of undefined

WordPress Trac noreply at wordpress.org
Sun Nov 16 03:33:59 UTC 2014


#29044: TypeError: Cannot read property 'avatar' of undefined
--------------------------+-------------------------
 Reporter:  michalzuber   |       Owner:
     Type:  defect (bug)  |      Status:  new
 Priority:  normal        |   Milestone:  4.1
Component:  Revisions     |     Version:  3.6
 Severity:  minor         |  Resolution:
 Keywords:  has-patch     |     Focuses:  javascript
--------------------------+-------------------------
Changes (by johnbillion):

 * keywords:  has-patch dev-feedback => has-patch
 * milestone:  Awaiting Review => 4.1


Comment:

 `strtotime( $post->$modified_gmt )` should say `strtotime(
 $post->post_modified_gmt )`. Apart from that, it's good to go.

 Note that when viewing the first revision it gets compared to the
 autosave, not to the current post. That can go into another ticket.

--
Ticket URL: <https://core.trac.wordpress.org/ticket/29044#comment:7>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list