Docs: Improve inline comments per the documentation standards.

Includes minor code layout fixes for better readability.

See #48303.

git-svn-id: https://develop.svn.wordpress.org/trunk@47122 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Sergey Biryukov
2020-01-29 00:43:23 +00:00
parent bd2cd572aa
commit cfc3b57488
810 changed files with 9893 additions and 8384 deletions

View File

@@ -38,7 +38,7 @@ class Tests_Comment_GetCommentsPagesCount extends WP_UnitTestCase {
* Validate get_comments_pages_count for empty comments
*/
function test_empty() {
//setup post and comments
// Setup post and comments.
$post_id = self::factory()->post->create(
array(
'post_title' => 'comment--post',
@@ -65,7 +65,7 @@ class Tests_Comment_GetCommentsPagesCount extends WP_UnitTestCase {
* Validate get_comments_pages_count for treaded comments
*/
function test_threaded_comments() {
//setup post and comments
// Setup post and comments.
$post = self::factory()->post->create_and_get(
array(
'post_title' => 'comment--post',
@@ -86,7 +86,7 @@ class Tests_Comment_GetCommentsPagesCount extends WP_UnitTestCase {
*/
function test_option_thread_comments() {
//setup post and comments
// Setup post and comments.
$post = self::factory()->post->create_and_get(
array(
'post_title' => 'comment--post',