mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-10-06 23:58:03 +00:00
More phpdoc updates for wp-adming. See #7496 props santosj.
git-svn-id: https://develop.svn.wordpress.org/trunk@8656 602fd350-edb4-49c9-b593-d223f7449a82
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