Ticket #49239: index.php.patch
| File index.php.patch, 609 bytes (added by , 6 years ago) |
|---|
-
index.php
120 120 121 121 $option = get_user_meta( get_current_user_id(), 'show_welcome_panel', true ); 122 122 // 0 = hide, 1 = toggled to show or single site creator, 2 = multisite site owner 123 $hide = 0 == $option || ( 2 == $option && wp_get_current_user()->user_email != get_option( 'admin_email' ) );123 $hide = 0 == $option || ( 2 === $option && wp_get_current_user()->user_email !== get_option( 'admin_email' ) ); 124 124 if ( $hide ) { 125 125 $classes .= ' hidden'; 126 126 }