]> scripts.mit.edu Git - autoinstalls/wordpress.git/blobdiff - wp-admin/page-new.php
Wordpress 2.0.4
[autoinstalls/wordpress.git] / wp-admin / page-new.php
index 4defde1667267fe0b046f5ed64c6825bb2ca92b6..4157e8c6dc28e075a82247cadfedf2fd5947f753 100644 (file)
@@ -13,8 +13,6 @@ require_once('admin-header.php');
 <?php
 if ( current_user_can('edit_pages') ) {
        $action = 'post';
 <?php
 if ( current_user_can('edit_pages') ) {
        $action = 'post';
-       get_currentuserinfo();
-       
        $post = get_default_post_to_edit();
        $post->post_status = 'static';
 
        $post = get_default_post_to_edit();
        $post->post_status = 'static';