diff --git a/src/wp-admin/includes/class-walker-nav-menu-checklist.php b/src/wp-admin/includes/class-walker-nav-menu-checklist.php index d518280f34..3cc4401884 100644 --- a/src/wp-admin/includes/class-walker-nav-menu-checklist.php +++ b/src/wp-admin/includes/class-walker-nav-menu-checklist.php @@ -98,10 +98,10 @@ class Walker_Nav_Menu_Checklist extends Walker_Nav_Menu { $output .= isset( $title ) ? esc_html( $title ) : esc_html( $item->title ); - if ( empty( $item->label ) && isset( $item->post_type ) && 'page' === $item->post_type ) { - // Append post states. - $output .= _post_states( $item, false ); - } + if ( empty( $item->label ) && isset( $item->post_type ) && 'page' === $item->post_type ) { + // Append post states. + $output .= _post_states( $item, false ); + } $output .= ''; 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 83869e0ec4..b1cf980e5d 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 b40f0d64a3..e517974c11 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.