mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-07-01 15:50:09 +00:00
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:
@@ -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',
|
||||
|
||||
Reference in New Issue
Block a user