More phpdoc updates for wp-adming. See #7496 props santosj.
git-svn-id: http://svn.automattic.com/wordpress/trunk@8656 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
@@ -1,4 +1,14 @@
|
||||
<?php
|
||||
/**
|
||||
* Edit page administration panel.
|
||||
*
|
||||
* Manage edit page: post, edit, delete, etc.
|
||||
*
|
||||
* @package WordPress
|
||||
* @subpackage Administration
|
||||
*/
|
||||
|
||||
/** WordPress Administration Bootstrap */
|
||||
require_once('admin.php');
|
||||
|
||||
$parent_file = 'edit.php';
|
||||
@@ -6,6 +16,11 @@ $submenu_file = 'edit-pages.php';
|
||||
|
||||
wp_reset_vars(array('action'));
|
||||
|
||||
/**
|
||||
* Redirect to previous page.
|
||||
*
|
||||
* @param int $page_ID Page ID.
|
||||
*/
|
||||
function redirect_page($page_ID) {
|
||||
$referredby = '';
|
||||
if ( !empty($_POST['referredby']) ) {
|
||||
|
||||
Reference in New Issue
Block a user