Skip to content

Commit 7962e11

Browse files
committed
Tests: Use multi-line block comment style in get_feed_build_date test.
Follow WordPress inline documentation standards section 5.2 — multi-line comments use /* */ with leading asterisks, not repeated //. Addresses follow-up feedback from @westonruter. Props westonruter. See #59956.
1 parent 6b4c4c3 commit 7962e11

1 file changed

Lines changed: 6 additions & 4 deletions

File tree

tests/phpunit/tests/date/getFeedBuildDate.php

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -57,10 +57,12 @@ public function test_should_not_error_when_modified_times_is_empty() {
5757
)
5858
);
5959

60-
// Use a query where have_posts() is true but wp_list_pluck()
61-
// returns an empty array because the posts array contains scalar
62-
// values (neither objects nor arrays). This triggers the _doing_it_wrong
63-
// notice in WP_List_Util::pluck() and produces an empty result.
60+
/*
61+
* Use a query where have_posts() is true but wp_list_pluck()
62+
* returns an empty array because the posts array contains scalar
63+
* values (neither objects nor arrays). This triggers the _doing_it_wrong
64+
* notice in WP_List_Util::pluck() and produces an empty result.
65+
*/
6466
query_posts(
6567
array(
6668
'posts__in' => array( $id ),

0 commit comments

Comments
 (0)