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:
ryan 2008-08-19 21:02:06 +00:00
parent 543eb608c9
commit aab36bea4e
2 changed files with 20 additions and 1 deletions

View File

@ -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">

View File

@ -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') )