(0 . 0)(1 . 31)
54553 <?php
54554 /**
54555 * New page administration panel.
54556 *
54557 * @package WordPress
54558 * @subpackage Administration
54559 */
54560
54561 /** WordPress Administration Bootstrap */
54562 require_once('admin.php');
54563 $title = __('Add New Page');
54564 $parent_file = 'edit-pages.php';
54565 $editing = true;
54566 wp_enqueue_script('autosave');
54567 wp_enqueue_script('page');
54568 if ( user_can_richedit() )
54569 wp_enqueue_script('editor');
54570 add_thickbox();
54571 wp_enqueue_script('media-upload');
54572 wp_enqueue_script('word-count');
54573
54574 if ( current_user_can('edit_pages') ) {
54575 $action = 'post';
54576 $post = get_default_page_to_edit();
54577
54578 include('edit-page-form.php');
54579 }
54580
54581 include('admin-footer.php');
54582
54583 ?>