Ticket #30254: 30254.patch
File 30254.patch, 747 bytes (added by , 10 years ago) |
---|
-
wp-admin/includes/class-wp-list-table.php
481 481 * @access protected 482 482 */ 483 483 protected function months_dropdown( $post_type ) { 484 /** 485 * Bypass filter to remove the 'Months' drop-down all together. 486 * 487 * @since 488 * 489 * @param bool The default to include the dropdown 490 * @param string $post_type The post type. 491 */ 492 if ( false === apply_filters( 'include_months_dropdown', true, $post_type ) ) { 493 return; 494 } 495 484 496 global $wpdb, $wp_locale; 485 497 486 498 $months = $wpdb->get_results( $wpdb->prepare( "