Docs: Correct $revision_id global reference in wp-admin/revision.php.
Follow-up to [25419], [42795]. Props hanimbarek. Fixes #64084. Built from https://develop.svn.wordpress.org/trunk@60912 git-svn-id: http://core.svn.wordpress.org/trunk@60248 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
@@ -15,11 +15,10 @@ require_once __DIR__ . '/admin.php';
|
||||
require ABSPATH . 'wp-admin/includes/revision.php';
|
||||
|
||||
/**
|
||||
* @global int $revision Optional. The revision ID.
|
||||
* @global string $action The action to take.
|
||||
* Accepts 'restore', 'view' or 'edit'.
|
||||
* @global int $from The revision to compare from.
|
||||
* @global int $to Optional, required if revision missing. The revision to compare to.
|
||||
* @global int $revision_id Optional. The revision ID.
|
||||
* @global string $action The action to take. Accepts 'restore', 'view', or 'edit'.
|
||||
* @global int $from The revision to compare from.
|
||||
* @global int $to Optional, required if revision missing. The revision to compare to.
|
||||
*/
|
||||
|
||||
$revision_id = ! empty( $_REQUEST['revision'] ) ? absint( $_REQUEST['revision'] ) : 0;
|
||||
|
||||
@@ -16,7 +16,7 @@
|
||||
*
|
||||
* @global string $wp_version
|
||||
*/
|
||||
$wp_version = '6.9-alpha-60911';
|
||||
$wp_version = '6.9-alpha-60912';
|
||||
|
||||
/**
|
||||
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.
|
||||
|
||||
Reference in New Issue
Block a user