Changeset 36155
- Timestamp:
- 01/02/2016 04:44:30 AM (9 years ago)
- Location:
- branches/4.4
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/4.4
-
branches/4.4/src/wp-admin/includes/screen.php
r34169 r36155 58 58 $hidden = get_user_option( 'manage' . $screen->id . 'columnshidden' ); 59 59 60 if ( ! $hidden ) { 60 $use_defaults = ! is_array( $hidden ); 61 62 if ( $use_defaults ) { 61 63 $hidden = array(); 62 64 … … 76 78 * 77 79 * @since 4.4.0 80 * @since 4.4.1 Added the `use_defaults` parameter. 78 81 * 79 82 * @param array $hidden An array of hidden columns. 80 83 * @param WP_Screen $screen WP_Screen object of the current screen. 84 * @param bool $use_defaults Whether to show the default columns. 81 85 */ 82 return apply_filters( 'hidden_columns', $hidden, $screen );86 return apply_filters( 'hidden_columns', $hidden, $screen, $use_defaults ); 83 87 } 84 88
Note: See TracChangeset
for help on using the changeset viewer.