[wp-trac] [WordPress Trac] #33829: Comment Offset in Post Edit Screen

WordPress Trac noreply at wordpress.org
Sat Sep 12 02:27:52 UTC 2015


#33829: Comment Offset in Post Edit Screen
--------------------------+-----------------------------------------
 Reporter:  ronalfy       |       Owner:  wonderboymusic
     Type:  defect (bug)  |      Status:  closed
 Priority:  normal        |   Milestone:  4.4
Component:  Comments      |     Version:  4.3
 Severity:  normal        |  Resolution:  fixed
 Keywords:  has-patch     |     Focuses:  javascript, administration
--------------------------+-----------------------------------------
Changes (by wonderboymusic):

 * owner:   => wonderboymusic
 * status:  new => closed
 * resolution:   => fixed


Comment:

 In [changeset:"34069"]:
 {{{
 #!CommitTicketReference repository="" revision="34069"
 When clicking "Show More Comments" in the Comments meta box on the Edit
 Post screen, change the click behavior to call a new class method on
 `commentsBox`, `->load()`, that resets `st` (cool name) to the number of
 visible `<tr>`s before calling `->get()`. This will account for spam'd and
 trash'd comments when returning comments at the proper offset.

 Props utkarshpatel.
 Fixes #33829.
 }}}

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


More information about the wp-trac mailing list