Changeset 24543
- Timestamp:
- 07/03/2013 01:50:39 AM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-admin/post-new.php
r22858 r24543 49 49 wp_enqueue_script( 'autosave' ); 50 50 51 if ( is_multisite() ) { 52 add_action( 'admin_footer', '_admin_notice_post_locked' ); 53 } else { 54 $check_users = get_users( array( 'fields' => 'ID', 'number' => 2 ) ); 55 56 if ( count( $check_users ) > 1 ) 57 add_action( 'admin_footer', '_admin_notice_post_locked' ); 58 59 unset( $check_users ); 60 } 61 51 62 // Show post form. 52 63 $post = get_default_post_to_edit( $post_type, true );
Note: See TracChangeset
for help on using the changeset viewer.