Make WordPress Core


Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-admin/post.php

    r17228 r17962  
    128128        // output the quickpress dashboard widget
    129129        require_once(ABSPATH . 'wp-admin/includes/dashboard.php');
    130         wp_dashboard_quick_press_output();
     130        wp_dashboard_quick_press();
    131131        exit;
    132132    }
     
    162162        $parent_file = "edit.php";
    163163        $submenu_file = "edit.php";
     164        $post_new_file = "post-new.php";
    164165    } else {
    165166        if ( isset( $post_type_object ) && $post_type_object->show_in_menu && $post_type_object->show_in_menu !== true )
     
    168169            $parent_file = "edit.php?post_type=$post_type";
    169170        $submenu_file = "edit.php?post_type=$post_type";
     171        $post_new_file = "post-new.php?post_type=$post_type";
    170172    }
    171173
Note: See TracChangeset for help on using the changeset viewer.