Changeset 39932 for trunk/src/wp-admin/includes/dashboard.php
- Timestamp:
- 01/20/2017 05:32:13 PM (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-admin/includes/dashboard.php
r39326 r39932 488 488 $user_id = get_current_user_id(); 489 489 // Don't create an option if this is a super admin who does not belong to this site. 490 if ( ! ( is_super_admin( $user_id ) && ! in_array( get_current_blog_id(), array_keys( get_blogs_of_user( $user_id )) ) ) )490 if ( in_array( get_current_blog_id(), array_keys( get_blogs_of_user( $user_id ) ) ) ) 491 491 update_user_option( $user_id, 'dashboard_quick_press_last_post_id', (int) $post->ID ); // Save post_ID 492 492 }
Note: See TracChangeset
for help on using the changeset viewer.