[wp-trac] [WordPress Trac] #35057: bug in new default_hidden_columns filter

WordPress Trac noreply at wordpress.org
Wed Dec 23 09:45:16 UTC 2015


#35057: bug in new default_hidden_columns filter
-------------------------------------+-----------------------------
 Reporter:  dwenaus                  |       Owner:  helen
     Type:  defect (bug)             |      Status:  assigned
 Priority:  normal                   |   Milestone:  4.4.1
Component:  Administration           |     Version:  4.4
 Severity:  normal                   |  Resolution:
 Keywords:  has-patch needs-testing  |     Focuses:  administration
-------------------------------------+-----------------------------

Comment (by Compute):

 Guess it would make sense to check for false. Either that, or do the same
 as the get_hidden_meta_boxes function is doing:


 {{{
         $use_defaults = ! is_array( $hidden );
         // Hide slug boxes by default
         if ( $use_defaults ) {
         ...
 }}}

 Either way I really think that both get_hidden_meta_boxes() and
 get_hidden_columns() should use the same method for consistency.

--
Ticket URL: <https://core.trac.wordpress.org/ticket/35057#comment:5>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list