CoreFiles by mySites.guru
page-new.php23 lines, 570 bytes, from wordpress-2.0.4.zip
Raw History Compare with 2.0.1
md5
1252485eb5c04146876a3724eab9a2f3
sha1
80a6741a838ae207b138362bb102f6c74d51215a
sha256
6e4b1a756035ee568fe12e8892f78b746f17802077de8c2cca4e95002831efa9
<?php
require_once('admin.php');
$title = __('New Page');
$parent_file = 'post.php';
$editing = true;
require_once('admin-header.php');
?>

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

<?php
if ( current_user_can('edit_pages') ) {
	$action = 'post';
	$post = get_default_post_to_edit();
	$post->post_status = 'static';

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

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

The same content is in 2 releases, WordPress 2.0.4 to 2.0.5-beta-1. See them all, or every version of this file.