mirror of
https://github.com/WordPress/WordPress.git
synced 2024-08-18 11:42:57 +02:00
20 lines
434 B
PHP
20 lines
434 B
PHP
|
<?php
|
||
|
/**
|
||
|
* Draft Page Administration Panel.
|
||
|
*
|
||
|
* This was created for the administration navigation instead of using a query
|
||
|
* for the drafts.
|
||
|
*
|
||
|
* @package WordPress
|
||
|
* @subpackage Administration
|
||
|
*/
|
||
|
|
||
|
/** Locks the post status to draft to prevent premature posting. */
|
||
|
$locked_post_status = 'draft';
|
||
|
$_GET['post_status'] = 'draft';
|
||
|
require_once('admin.php');
|
||
|
$title = __('View Draft Pages');
|
||
|
require_once('edit-pages.php');
|
||
|
|
||
|
?>
|