[wp-trac] [WordPress Trac] #32655: Don't save screen options (table column) in post edit page and maybe other pages

WordPress Trac noreply at wordpress.org
Mon Jun 15 23:53:55 UTC 2015


#32655: Don't save screen options (table column) in post edit page and maybe other
pages
--------------------------+-----------------------------
 Reporter:  Juriy         |      Owner:
     Type:  defect (bug)  |     Status:  new
 Priority:  normal        |  Milestone:  Awaiting Review
Component:  Users         |    Version:  4.1
 Severity:  normal        |   Keywords:
  Focuses:                |
--------------------------+-----------------------------
 I fixed it so...
 wp-includes/user.php
 row 364
 {{{
 if ( $user->has_prop( $option ) )
         $result = $user->get( $option );
 elseif ( $user->has_prop( $prefix . $option ) )
         $result = $user->get( $prefix . $option );
 else
         $result = false;

 ----

         //todo bag user options delete this
 //      if ( $user->has_prop( $prefix . $option ) ) // Blog specific
 //              $result = $user->get( $prefix . $option );
 //      elseif ( $user->has_prop( $option ) ) // User specific and cross-
 blog
 //              $result = $user->get( $option );
 //      else
 //              $result = false;
 }}}

--
Ticket URL: <https://core.trac.wordpress.org/ticket/32655>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list