CoreFiles by mySites.guru
page-new.php31 lines, 617 bytes, from wordpress-2.9.2.zip
Raw History Compare with 2.9.1
md5
e1e8672b04a7fbddd99b79eee8bb80ce
sha1
56fef5802f5b02a665117e28f25dbc5bf8260504
sha256
0ddcc2bc104f6102c98f9bf60a5ec00e5d87fa3845c397349eb75e93e1612f73
<?php
/**
 * New page administration panel.
 *
 * @package WordPress
 * @subpackage Administration
 */

/** WordPress Administration Bootstrap */
require_once('admin.php');
$title = __('Add New Page');
$parent_file = 'edit-pages.php';
$editing = true;
wp_enqueue_script('autosave');
wp_enqueue_script('post');
if ( user_can_richedit() )
	wp_enqueue_script('editor');
add_thickbox();
wp_enqueue_script('media-upload');
wp_enqueue_script('word-count');

if ( current_user_can('edit_pages') ) {
	$action = 'post';
	$post = get_default_page_to_edit();

	include('edit-page-form.php');
}

include('admin-footer.php');

?>

The same content is in 8 releases, WordPress 2.9-beta-1 to 2.9.2. See them all, or every version of this file.