File level phpdoc from santosj. fixes #7496
git-svn-id: http://svn.automattic.com/wordpress/trunk@8674 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
543eb608c9
commit
aab36bea4e
|
@ -1,4 +1,11 @@
|
||||||
|
<?php
|
||||||
|
/**
|
||||||
|
* Edit post form for Write Post and for the Bookmarklet mode.
|
||||||
|
*
|
||||||
|
* @package WordPress
|
||||||
|
* @subpackage Administration
|
||||||
|
*/
|
||||||
|
?>
|
||||||
<div class="wrap">
|
<div class="wrap">
|
||||||
<h2><?php _e('Write Post'); ?></h2>
|
<h2><?php _e('Write Post'); ?></h2>
|
||||||
<form name="post" action="post.php" method="post" id="simple">
|
<form name="post" action="post.php" method="post" id="simple">
|
||||||
|
|
|
@ -1,6 +1,18 @@
|
||||||
<?php
|
<?php
|
||||||
|
/**
|
||||||
|
* Quick way to create a WordPress Post.
|
||||||
|
*
|
||||||
|
* @package WordPress
|
||||||
|
* @subpackage Administration
|
||||||
|
*/
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @var string
|
||||||
|
* @name $mode
|
||||||
|
*/
|
||||||
$mode = 'sidebar';
|
$mode = 'sidebar';
|
||||||
|
|
||||||
|
/** WordPress Administration Bootstrap */
|
||||||
require_once('admin.php');
|
require_once('admin.php');
|
||||||
|
|
||||||
if ( ! current_user_can('edit_posts') )
|
if ( ! current_user_can('edit_posts') )
|
||||||
|
|
Loading…
Reference in New Issue