From 628a5453698c609755648e4635c0b86118d5272a Mon Sep 17 00:00:00 2001 From: Jake Spurlock Date: Thu, 26 Sep 2019 00:36:20 +0000 Subject: [PATCH] General: Further phpcs cleanup. In [46312] and [46313] we attempted to do some phpcs cleanup. This commit cleans up three issues that were introduced in [46309]. Fixes #48142. Props: whyisjake, garrett-eclipse, desrosj git-svn-id: https://develop.svn.wordpress.org/trunk@46314 602fd350-edb4-49c9-b593-d223f7449a82 --- src/wp-admin/includes/class-wp-links-list-table.php | 2 +- tests/phpunit/tests/multisite/network.php | 2 +- tests/phpunit/tests/term/getTerms.php | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/wp-admin/includes/class-wp-links-list-table.php b/src/wp-admin/includes/class-wp-links-list-table.php index 89204d3421..9f1edeef3a 100644 --- a/src/wp-admin/includes/class-wp-links-list-table.php +++ b/src/wp-admin/includes/class-wp-links-list-table.php @@ -117,7 +117,7 @@ class WP_Links_List_Table extends WP_List_Table { echo ''; wp_dropdown_categories( $dropdown_options ); submit_button( __( 'Filter' ), '', 'filter_action', false, array( 'id' => 'post-query-submit' ) ); - ?> + ?> assertEquals( array( WP_PLUGIN_DIR . '/hello.php' ), $active_plugins ); //deactivate the plugin diff --git a/tests/phpunit/tests/term/getTerms.php b/tests/phpunit/tests/term/getTerms.php index e517974c11..b40f0d64a3 100644 --- a/tests/phpunit/tests/term/getTerms.php +++ b/tests/phpunit/tests/term/getTerms.php @@ -173,7 +173,7 @@ class Tests_Term_getTerms extends WP_UnitTestCase { // Force last_changed to bump. wp_delete_term( $terms[0]->term_id, 'post_tag' ); - $num_queries = $wpdb->num_queries; + $num_queries = $wpdb->num_queries; $this->assertNotEquals( $time1, $time2 = wp_cache_get( 'last_changed', 'terms' ) ); // last_changed and num_queries should bump after a term is deleted.