[wp-trac] [WordPress Trac] #19972: New Dashboard Welcome Area cannot be changed or removed

WordPress Trac wp-trac at lists.automattic.com
Tue Apr 24 11:07:23 UTC 2012


#19972: New Dashboard Welcome Area cannot be changed or removed
----------------------------+------------------------------
 Reporter:  npetetin        |       Owner:
     Type:  defect (bug)    |      Status:  new
 Priority:  normal          |   Milestone:  Awaiting Review
Component:  Administration  |     Version:  3.3.1
 Severity:  major           |  Resolution:
 Keywords:                  |
----------------------------+------------------------------
Changes (by senlin):

 * cc: senlinonline@… (added)


Comment:

 Clearly and unfortunately this has not been solved for the upcoming
 release. So for now there is only the possibility to hide the panel for
 registered users? Hiding is not the same as removing and as you can remove
 the rest of the dashboard relatively easily, this should definitely be
 possible for this intrusive panel!


 {{{
 // credits EAMann freely adapted from Andrew Nacin:
 http://wordpress.stackexchange.com/a/36404/2015
 add_action( 'load-index.php', 'hide_welcome_panel' );

 function hide_welcome_panel() {
     $user_id = get_current_user_id();

     if ( 1 == get_user_meta( $user_id, 'show_welcome_panel', true ) )
         update_user_meta( $user_id, 'show_welcome_panel', 0 );
 }
 }}}

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/19972#comment:4>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list