mirror of
https://github.com/WordPress/WordPress.git
synced 2024-10-31 07:49:38 +01:00
19 lines
422 B
PHP
19 lines
422 B
PHP
|
<?php
|
||
|
/**
|
||
|
* Draft Post 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 Drafts');
|
||
|
require_once('edit.php');
|
||
|
|
||
|
?>
|