mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-07-01 15:50:09 +00:00
Improvements to page handling. Move form to own page, put under "Write", ambiguiate language, and fix redirect.
git-svn-id: https://develop.svn.wordpress.org/trunk@1857 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -54,23 +54,9 @@ $class = ('alternate' == $class) ? '' : 'alternate';
|
||||
<?php
|
||||
} // end if ($posts)
|
||||
?>
|
||||
|
||||
<p><?php _e('Pages are like posts except they live outside of the normal blog chronology. You can use pages to organize and manage any amount of content.'); ?></p>
|
||||
<h3><a href="page-new.php"><?php _e('Create New Page'); ?> »</a></h3>
|
||||
</div>
|
||||
|
||||
<?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'); ?>
|
||||
Reference in New Issue
Block a user