Ticket #48142: 48142.diff
| File 48142.diff, 2.5 KB (added by , 7 years ago) |
|---|
-
src/wp-admin/includes/class-walker-nav-menu-checklist.php
98 98 99 99 $output .= isset( $title ) ? esc_html( $title ) : esc_html( $item->title ); 100 100 101 if ( empty( $item->label ) && isset( $item->post_type ) && 'page' === $item->post_type ) {102 // Append post states.103 $output .= _post_states( $item, false );104 }101 if ( empty( $item->label ) && isset( $item->post_type ) && 'page' === $item->post_type ) { 102 // Append post states. 103 $output .= _post_states( $item, false ); 104 } 105 105 106 106 $output .= '</label>'; 107 107 -
src/wp-admin/includes/class-wp-links-list-table.php
117 117 echo '<label class="screen-reader-text" for="cat_id">' . __( 'Filter by category' ) . '</label>'; 118 118 wp_dropdown_categories( $dropdown_options ); 119 119 submit_button( __( 'Filter' ), '', 'filter_action', false, array( 'id' => 'post-query-submit' ) ); 120 ?>120 ?> 121 121 </div> 122 122 <?php 123 123 } -
tests/phpunit/tests/multisite/network.php
274 274 275 275 // activate the plugin sitewide 276 276 activate_plugin( $path, '', $network_wide = true ); 277 $active_plugins = wp_get_active_network_plugins();277 $active_plugins = wp_get_active_network_plugins(); 278 278 $this->assertEquals( array( WP_PLUGIN_DIR . '/hello.php' ), $active_plugins ); 279 279 280 280 //deactivate the plugin -
tests/phpunit/tests/term/getTerms.php
173 173 // Force last_changed to bump. 174 174 wp_delete_term( $terms[0]->term_id, 'post_tag' ); 175 175 176 $num_queries = $wpdb->num_queries;176 $num_queries = $wpdb->num_queries; 177 177 $this->assertNotEquals( $time1, $time2 = wp_cache_get( 'last_changed', 'terms' ) ); 178 178 179 179 // last_changed and num_queries should bump after a term is deleted.