CoreFiles by mySites.guru
page-new.php30 lines, 756 bytes, from wordpress-1.5.1.zip
Raw History Compare with 1.2.2
md5
332c357720b0a8730645657d0949de87
sha1
100bb505efad1eea11db6eedd58414ee842ab656
sha256
9d77bd124a99460837877d161f1d7c51c6b3f72afc5b72e7de5462f5551099e3
<?php
require_once('admin.php');
$title = __('New Page');
$parent_file = 'post.php';
require_once('admin-header.php');

get_currentuserinfo();
?>

<?php if ( isset($_GET['saved']) ) : ?>
<div class="updated"><p><strong><?php _e('Page saved.') ?> <a href="edit-pages.php"><?php _e('Manage pages'); ?> &raquo;</a></strong></p></div>
<?php endif; ?>

<?php
if ($user_level > 0) {
	$action = 'post';
	get_currentuserinfo();
	//set defaults
	$post_status = 'static';
	$comment_status = get_settings('default_comment_status');
	$ping_status = get_settings('default_ping_status');
	$post_pingback = get_settings('default_pingback_flag');
	$post_parent = 0;
	$page_template = 'default';

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

<?php include('admin-footer.php'); ?> 

The same content is in 6 releases, WordPress 1.5-strayhorn to 1.5.2. See them all, or every version of this file.