Ticket #40581: #40581.patch
File #40581.patch, 680 bytes (added by , 7 years ago) |
---|
-
wp-admin/includes/class-wp-screen.php
1065 1065 return; 1066 1066 } 1067 1067 1068 $special = array( '_title', 'cb', 'comment', 'media', 'name', 'title', 'username', 'blogname' ); 1069 if ( count( array_intersect ( $special, array_keys( $columns ) ) ) == count( $columns ) ) // if all columns are "special", no columns in screen options 1070 { 1071 return; 1072 } 1073 1068 1074 $legend = ! empty( $columns['_title'] ) ? $columns['_title'] : __( 'Columns' ); 1069 1075 ?> 1070 1076 <fieldset class="metabox-prefs">