wordpress-develop/tests/phpunit/tests/comment
Aaron Jorbin cefe2c7f7c General: Update code for readability and inclusion
There are two pieces in here:

1) The update to change blacklist to blocklist is moved to disallowed_list. "Block" has a meaning in our code, and there could be ambiguity between this code and code related to blocks.

2) This improves backwards compatibility for code that was accessing the now deprecated code.

Previously: [48477], [48405], [48400], [48121], [48122], [48124], [48142], [48566]

Props: desrosj, SergeyBiryukov, johnjamesjacoby
Fixes: #50413



git-svn-id: https://develop.svn.wordpress.org/trunk@48575 602fd350-edb4-49c9-b593-d223f7449a82
2020-07-23 03:12:49 +00:00
..
checkComment.php General: Remove “whitelist” and “blacklist” in favor of more clear and inclusive language. 2020-06-22 17:24:34 +00:00
commentForm.php Accessibility: Comments: In comment_form(), remove aria-describedby attribute from the email field if there's no associated description in the comment_notes_before argument. 2019-09-11 01:50:23 +00:00
commentsTemplate.php Date/Time: Replace all instances of date() with gmdate(). 2019-05-26 00:11:37 +00:00
dateQuery.php Docs: Improve inline comments per the documentation standards. 2020-01-29 00:43:23 +00:00
getCommentAuthorEmailLink.php Code is Poetry. 2017-11-30 23:09:33 +00:00
getCommentAuthorUrl.php Code is Poetry. 2017-11-30 23:09:33 +00:00
getCommentAuthorUrlLink.php Coding Standards: Fix the Squiz.PHP.DisallowMultipleAssignments violations in tests. 2019-07-02 04:43:01 +00:00
getCommentClass.php Unit Tests: after [35225], make factory a method/getter on WP_UnitTestCase and add magic methods for BC for every plugin that is extending WP_UnitTestCase and accessing the $factory instance prop. 2015-10-17 18:02:16 +00:00
getCommentCount.php Comments: Ensure all elements in the array returned by get_comment_count() are integers. 2020-03-28 20:42:31 +00:00
getCommentExcerpt.php Code is Poetry. 2017-11-30 23:09:33 +00:00
getCommentLink.php Date/Time: Replace all instances of date() with gmdate(). 2019-05-26 00:11:37 +00:00
getCommentReplyLink.php Comments: Avoid PHP notice in get_comment_reply_link() for null comment. 2019-09-27 14:45:49 +00:00
getCommentsPagesCount.php Docs: Improve inline comments per the documentation standards. 2020-01-29 00:43:23 +00:00
getPageOfComment.php Comments: Ensure the proper comment count and pages for unapproved comments. 2020-06-23 05:22:39 +00:00
isAvatarCommentType.php Docs: Fix some incorrect return tags in docblocks. 2019-11-03 22:21:20 +00:00
lastCommentModified.php Code is Poetry. 2017-11-30 23:09:33 +00:00
metaCache.php Date/Time: Replace all instances of date() with gmdate(). 2019-05-26 00:11:37 +00:00
query.php Docs: Improve inline comments per the documentation standards. 2020-01-29 00:43:23 +00:00
slashes.php Docs: Improve inline comments per the documentation standards. 2020-01-29 00:43:23 +00:00
template.php Comments: Restore the fourth parameter of comments_number() as $post_id, for consistency with get_comments_number_text(). 2020-02-25 17:32:34 +00:00
walker.php Docs: Improve inline comments per the documentation standards. 2020-01-29 00:43:23 +00:00
wpAllowComment.php General: Remove “whitelist” and “blacklist” in favor of more clear and inclusive language. 2020-06-22 17:24:34 +00:00
wpBlacklistCheck.php General: Update code for readability and inclusion 2020-07-23 03:12:49 +00:00
wpComment.php Coding Standards: Upgrade WPCS to 1.0.0 2018-08-17 01:50:26 +00:00
wpCountComments.php Code is Poetry. 2017-11-30 23:09:33 +00:00
wpListComments.php Docs: Improve inline comments per the documentation standards. 2020-01-29 00:43:23 +00:00
wpUpdateCommentCountNow.php Correct usage of Covers for Tests_Update_Comment_Count_Now 2016-05-17 20:19:50 +00:00