WordPress.org

Make WordPress Core

Changes between Initial Version and Version 1 of Ticket #22000


Ignore:
Timestamp:
09/26/12 08:05:37 (22 months ago)
Author:
nacin
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #22000 – Description

    initial v1  
    11"Reply and Approve" should approve parent comment first. If you receive a stream of updates (emails, jabber, etc.), you'd end up with the comments out of order. 
    22 
    3 Fairly simple fix — take the block that starts with "// automatically approve parent comment" and move it above the wp_new_comment() call. 
     3Fairly simple fix — take the block in wp_ajax_replyto_comment() that starts with "automatically approve parent comment" and move it above the wp_new_comment() call. 
    44 
    55If for some reason wp_new_comment() fails (as we account for currently, minimally), we should probably just let the parent comment stand as approved, no need to try to revert.