CoreFiles by mySites.guru
page-new.php23 lines, 659 bytes, from wordpress-2.0.8.zip
Raw History Compare with 2.0.7
md5
0c4ac87701f9a9307de0ba51eac2b131
sha1
3621ac20d785dcac6ecf943729e7c86feab6b1ef
sha256
86c03499e4355bde15324771e9012ba83abfde66125fc14d8ebaae7967337aa0
<?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.') ?></strong> <a href="edit-pages.php"><?php _e('Manage pages'); ?></a> | <a href="<?php echo get_page_link( $_GET['saved'] ); ?>"><?php _e('View page'); ?> &raquo;</a></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 22 releases, WordPress 2.0.5-RC1 to 2.0.11. See them all, or every version of this file.