mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-06-11 14:00:13 +00:00
General: Fix some precision alignment formatting warnings.
The WPCS `WordPress.WhiteSpace.PrecisionAlignment` rule throws warnings for a bunch of code that will likely cause issues for `wpcbf`. Fixing these manually beforehand gives us better auto-fixed results later. See #41057. git-svn-id: https://develop.svn.wordpress.org/trunk@42228 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -131,7 +131,7 @@ class Tests_Comment_GetCommentsPagesCount extends WP_UnitTestCase {
|
||||
/**
|
||||
* Validate max_num_comment_pages logic of get_comment_pages_count
|
||||
*/
|
||||
function test_max_num_comment_pages() {
|
||||
function test_max_num_comment_pages() {
|
||||
global $wp_query;
|
||||
$wp_query = new WP_Query();
|
||||
|
||||
@@ -144,5 +144,5 @@ class Tests_Comment_GetCommentsPagesCount extends WP_UnitTestCase {
|
||||
$this->assertEquals( 0, get_comment_pages_count( array(), null, null ) );
|
||||
|
||||
$wp_query->max_num_comment_pages = $org_max_num_comment_pages;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user