Make WordPress Core


Ignore:
Timestamp:
06/06/2020 09:51:22 AM (6 years ago)
Author:
SergeyBiryukov
Message:

Comments: Ensure that unmoderated comments won't be search indexed.

After a comment is submitted, only allow a brief window where the comment is live on the site.

Props jonkolbert, ayeshrajans, Asif2BD, peterwilsoncc, imath, audrasjb, jonoaldersonwp, whyisjake, SergeyBiryukov.
Merges [47887] and [47889] to the 5.3 branch.
See #49956.

Location:
branches/5.3
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • branches/5.3

  • branches/5.3/src/wp-includes/comment-template.php

    r46886 r47916  
    998998         *
    999999         * @param string          $comment_text Text of the current comment.
    1000          * @param WP_Comment|null $comment      The comment object.
     1000         * @param WP_Comment|null $comment      The comment object. Null if not found.
    10011001         * @param array           $args         An array of arguments.
    10021002         */
Note: See TracChangeset for help on using the changeset viewer.