[wp-trac] [WordPress Trac] #43857: Show the comment / awaiting moderation message even without opt-in

WordPress Trac noreply at wordpress.org
Mon Jan 21 01:33:55 UTC 2019


#43857: Show the comment / awaiting moderation message even without opt-in
--------------------------+---------------------
 Reporter:  imath         |       Owner:  pento
     Type:  defect (bug)  |      Status:  closed
 Priority:  normal        |   Milestone:  5.1
Component:  Privacy       |     Version:  4.9.6
 Severity:  normal        |  Resolution:  fixed
 Keywords:  has-patch     |     Focuses:
--------------------------+---------------------
Changes (by pento):

 * status:  accepted => closed
 * resolution:   => fixed


Comment:

 In [changeset:"44659" 44659]:
 {{{
 #!CommitTicketReference repository="" revision="44659"
 Comments: Show the "awaiting moderation" message when comment cookies are
 disabled.

 The "Your comment is awaiting moderation." message relied upon the comment
 author cookie being set. However, since it's now possible to opt-out of
 that cookie, submitting a comment won't show the comment preview when the
 comment is placed in moderation.

 To avoid this issue, we now include a hash in the redirect URL, allowing
 the site to identify that a preview of the moderated comment should be
 displayed.

 Props imath, tomdxw, birgire, lakenh, azaozz, pento.
 Fixes #43857.
 }}}

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


More information about the wp-trac mailing list