mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-10-06 07:36:58 +00:00
Coding Standards: Remove superfluous blank lines at the end of various functions.
Note: This is enforced by WPCS 3.0.0. Follow-up to [56536], [56547]. Props jrf. See #59161, #58831. git-svn-id: https://develop.svn.wordpress.org/trunk@56548 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -425,7 +425,6 @@ class Tests_Term_getTerms extends WP_UnitTestCase {
|
||||
);
|
||||
|
||||
$this->assertSame( array( $term_id2, $term_id22 ), $terms );
|
||||
|
||||
}
|
||||
|
||||
/**
|
||||
@@ -801,7 +800,6 @@ class Tests_Term_getTerms extends WP_UnitTestCase {
|
||||
),
|
||||
$terms
|
||||
);
|
||||
|
||||
}
|
||||
|
||||
/**
|
||||
@@ -2939,7 +2937,6 @@ class Tests_Term_getTerms extends WP_UnitTestCase {
|
||||
$num_queries = get_num_queries();
|
||||
$term0 = get_term( $terms[0] );
|
||||
$this->assertSame( $num_queries, get_num_queries() );
|
||||
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
@@ -146,7 +146,6 @@ class Tests_Term_WpInsertTerm extends WP_UnitTestCase {
|
||||
_unregister_taxonomy( 'wptests_tax' );
|
||||
|
||||
$this->assertSame( 'quality', $term->slug );
|
||||
|
||||
}
|
||||
|
||||
public function test_wp_insert_term_slug_whitespace_string() {
|
||||
@@ -851,7 +850,6 @@ class Tests_Term_WpInsertTerm extends WP_UnitTestCase {
|
||||
$term_2 = get_term( $t2, 'wptests_tax' );
|
||||
$this->assertSame( $t2, $term_2->term_id );
|
||||
$this->assertSame( 'Foo', $term_2->name );
|
||||
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
@@ -302,7 +302,6 @@ class Tests_Term_WpSetObjectTerms extends WP_UnitTestCase {
|
||||
|
||||
// Make sure the term taxonomy ID for 'bar' matches.
|
||||
$this->assertSame( $tt_1[1], $tt_2[0] );
|
||||
|
||||
}
|
||||
|
||||
/**
|
||||
@@ -346,7 +345,6 @@ class Tests_Term_WpSetObjectTerms extends WP_UnitTestCase {
|
||||
|
||||
// Make sure the term taxonomy ID for 'bar' matches.
|
||||
$this->assertEquals( $tt_1[1], $tt_2[0] );
|
||||
|
||||
}
|
||||
|
||||
public function test_should_create_term_that_does_not_exist() {
|
||||
|
||||
@@ -97,7 +97,6 @@ class Tests_WP_Taxonomy extends WP_UnitTestCase {
|
||||
|
||||
$this->assertSame( 10, $has_action );
|
||||
$this->assertFalse( $has_action_after );
|
||||
|
||||
}
|
||||
|
||||
public function test_applies_registration_args_filters() {
|
||||
|
||||
Reference in New Issue
Block a user