Changeset 22018 for trunk/wp-admin/includes/screen.php
- Timestamp:
- 09/26/2012 07:44:43 PM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-admin/includes/screen.php
r21982 r22018 938 938 meta_box_prefs( $this ); 939 939 940 if ( 'dashboard' === $this->id && current_user_can( 'edit_theme_options' ) ) {940 if ( 'dashboard' === $this->id && has_action( 'welcome_panel' ) && current_user_can( 'edit_theme_options' ) ) { 941 941 if ( isset( $_GET['welcome'] ) ) { 942 942 $welcome_checked = empty( $_GET['welcome'] ) ? 0 : 1;
Note: See TracChangeset
for help on using the changeset viewer.