Changeset 41829 for trunk/src/wp-admin/edit-form-advanced.php
- Timestamp:
- 10/11/2017 12:05:21 PM (9 years ago)
- File:
-
- 1 edited
-
trunk/src/wp-admin/edit-form-advanced.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-admin/edit-form-advanced.php
r41783 r41829 17 17 */ 18 18 global $post_type, $post_type_object, $post; 19 20 if ( is_multisite() ) { 21 add_action( 'admin_footer', '_admin_notice_post_locked' ); 22 } else { 23 $check_users = get_users( array( 'fields' => 'ID', 'number' => 2 ) ); 24 25 if ( count( $check_users ) > 1 ) 26 add_action( 'admin_footer', '_admin_notice_post_locked' ); 27 28 unset( $check_users ); 29 } 19 30 20 31 wp_enqueue_script('post');
Note: See TracChangeset
for help on using the changeset viewer.