2
10
require_once('admin.php');
6
14
wp_enqueue_script('autosave');
7
15
wp_enqueue_script('page');
8
16
if ( user_can_richedit() )
9
17
wp_enqueue_script('editor');
11
19
wp_enqueue_script('media-upload');
21
22
if ( current_user_can('edit_pages') ) {
23
24
$post = get_default_page_to_edit();
25
26
include('edit-page-form.php');