From 1e02e0f0493a1d6f013dcf5142efac489524941c Mon Sep 17 00:00:00 2001 From: Sergey Biryukov Date: Sat, 22 May 2021 13:09:56 +0000 Subject: [PATCH] Docs: Use 3-digit, x.x.x-style semantic versioning for two `_doing_it_wrong()` calls. Follow-up to [37985], [38420], [39021]. See #52628. Built from https://develop.svn.wordpress.org/trunk@50952 git-svn-id: http://core.svn.wordpress.org/trunk@50561 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-includes/pluggable.php | 2 +- wp-includes/rest-api/endpoints/class-wp-rest-controller.php | 2 +- wp-includes/version.php | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/wp-includes/pluggable.php b/wp-includes/pluggable.php index 68e24b11ec..f164eb2cbb 100644 --- a/wp-includes/pluggable.php +++ b/wp-includes/pluggable.php @@ -1221,7 +1221,7 @@ if ( ! function_exists( 'check_ajax_referer' ) ) : */ function check_ajax_referer( $action = -1, $query_arg = false, $die = true ) { if ( -1 == $action ) { - _doing_it_wrong( __FUNCTION__, __( 'You should specify an action to be verified by using the first parameter.' ), '4.7' ); + _doing_it_wrong( __FUNCTION__, __( 'You should specify an action to be verified by using the first parameter.' ), '4.7.0' ); } $nonce = ''; diff --git a/wp-includes/rest-api/endpoints/class-wp-rest-controller.php b/wp-includes/rest-api/endpoints/class-wp-rest-controller.php index 06913af48f..3417a6fe75 100644 --- a/wp-includes/rest-api/endpoints/class-wp-rest-controller.php +++ b/wp-includes/rest-api/endpoints/class-wp-rest-controller.php @@ -50,7 +50,7 @@ abstract class WP_REST_Controller { 'WP_REST_Controller::register_routes', /* translators: %s: register_routes() */ sprintf( __( "Method '%s' must be overridden." ), __METHOD__ ), - '4.7' + '4.7.0' ); } diff --git a/wp-includes/version.php b/wp-includes/version.php index 5da20218b6..935cfe79c7 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -13,7 +13,7 @@ * * @global string $wp_version */ -$wp_version = '5.8-alpha-50951'; +$wp_version = '5.8-alpha-50952'; /** * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.