File level phpdoc from santosj. fixes #7496
git-svn-id: https://develop.svn.wordpress.org/trunk@8674 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
d93d32ae99
commit
6653fe24e0
@ -1,4 +1,11 @@
|
||||
|
||||
<?php
|
||||
/**
|
||||
* Edit post form for Write Post and for the Bookmarklet mode.
|
||||
*
|
||||
* @package WordPress
|
||||
* @subpackage Administration
|
||||
*/
|
||||
?>
|
||||
<div class="wrap">
|
||||
<h2><?php _e('Write Post'); ?></h2>
|
||||
<form name="post" action="post.php" method="post" id="simple">
|
||||
|
@ -1,6 +1,18 @@
|
||||
<?php
|
||||
/**
|
||||
* Quick way to create a WordPress Post.
|
||||
*
|
||||
* @package WordPress
|
||||
* @subpackage Administration
|
||||
*/
|
||||
|
||||
/**
|
||||
* @var string
|
||||
* @name $mode
|
||||
*/
|
||||
$mode = 'sidebar';
|
||||
|
||||
/** WordPress Administration Bootstrap */
|
||||
require_once('admin.php');
|
||||
|
||||
if ( ! current_user_can('edit_posts') )
|
||||
|
Loading…
Reference in New Issue
Block a user