From 24f43065b9cbfca1c8d70e1fb499b0f3e6ff1db3 Mon Sep 17 00:00:00 2001 From: Sergey Biryukov Date: Thu, 8 Mar 2018 03:53:34 +0000 Subject: [PATCH] Docs: Document globals in `wp-admin/revision.php` as `@global` instead of `@param`. See #42505. Built from https://develop.svn.wordpress.org/trunk@42795 git-svn-id: http://core.svn.wordpress.org/trunk@42625 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-admin/revision.php | 13 +++++++------ wp-includes/version.php | 2 +- 2 files changed, 8 insertions(+), 7 deletions(-) diff --git a/wp-admin/revision.php b/wp-admin/revision.php index 18719a1dde..e6ae445293 100644 --- a/wp-admin/revision.php +++ b/wp-admin/revision.php @@ -7,12 +7,6 @@ * @package WordPress * @subpackage Administration * @since 2.6.0 - * - * @param int revision Optional. The revision ID. - * @param string action The action to take. - * Accepts 'restore', 'view' or 'edit'. - * @param int from The revision to compare from. - * @param int to Optional, required if revision missing. The revision to compare to. */ /** WordPress Administration Bootstrap */ @@ -20,6 +14,13 @@ require_once( dirname( __FILE__ ) . '/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. + */ wp_reset_vars( array( 'revision', 'action', 'from', 'to' ) ); $revision_id = absint( $revision ); diff --git a/wp-includes/version.php b/wp-includes/version.php index fd85527863..10711034f6 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -4,7 +4,7 @@ * * @global string $wp_version */ -$wp_version = '5.0-alpha-42794'; +$wp_version = '5.0-alpha-42795'; /** * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.