(138 . 13)(138 . 6)
30009 exit();
30010 }
30011
30012 wp_enqueue_script('post');
30013 add_thickbox();
30014 wp_enqueue_script('media-upload');
30015 wp_enqueue_script('word-count');
30016 wp_enqueue_script( 'admin-comments' );
30017 enqueue_comment_hotkeys_js();
30018
30019 if ( current_user_can('edit_post', $post_ID) ) {
30020 if ( $last = wp_check_post_lock( $post->ID ) ) {
30021 $last_user = get_userdata( $last );
(154 . 7)(147 . 6)
30023 add_action('admin_notices', create_function( '', "echo '$message';" ) );
30024 } else {
30025 wp_set_post_lock( $post->ID );
30026 wp_enqueue_script('autosave');
30027 }
30028 }
30029