Ticket #16322: 16322.always-show-path-column.diff

File 16322.always-show-path-column.diff, 657 bytes (added by nacin, 2 years ago)
Line 
1Index: wp-admin/includes/template.php
2===================================================================
3--- wp-admin/includes/template.php      (revision 17329)
4+++ wp-admin/includes/template.php      (working copy)
5@@ -1729,7 +1729,7 @@
6                <h5><?php echo ( isset( $columns['_title'] ) ?  $columns['_title'] :  _x('Show on screen', 'Columns') ) ?></h5>
7                <div class="metabox-prefs">
8 <?php
9-       $special = array('_title', 'cb', 'comment', 'media', 'name', 'title', 'username');
10+       $special = array('_title', 'cb', 'comment', 'media', 'name', 'title', 'username', 'blogname');
11 
12        foreach ( $columns as $column => $title ) {
13                // Can't hide these for they are special