Ticket #19650: alwaysapplyfilters.patch
File alwaysapplyfilters.patch, 622 bytes (added by , 13 years ago) |
---|
-
wp-admin/includes/screen.php
21 21 static $column_headers = array(); 22 22 23 23 if ( ! isset( $column_headers[ $screen->id ] ) ) 24 $column_headers[ $screen->id ] = apply_filters( 'manage_' . $screen->id . '_columns', array() ); 24 $column_headers[ $screen->id ] = array(); 25 $column_headers[ $screen->id ] = apply_filters( 'manage_' . $screen->id . '_columns', $column_headers[ $screen->id ] ); 25 26 26 27 return $column_headers[ $screen->id ]; 27 28 }