From 7152c73f6a09a468640657035126fd1ed86c6980 Mon Sep 17 00:00:00 2001 From: Dominik Schilling Date: Mon, 1 Jun 2020 16:27:15 +0000 Subject: [PATCH] Editor: Fix code style for constructor arguments added in [47875]. Also revert unintended changes to `WP_Block_Type::__construct()` DocBlock. See #48529. Built from https://develop.svn.wordpress.org/trunk@47876 git-svn-id: http://core.svn.wordpress.org/trunk@47650 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-includes/class-wp-block-type.php | 9 ++++----- wp-includes/version.php | 2 +- 2 files changed, 5 insertions(+), 6 deletions(-) diff --git a/wp-includes/class-wp-block-type.php b/wp-includes/class-wp-block-type.php index 4d7ba9bd26..bd1109fb8f 100644 --- a/wp-includes/class-wp-block-type.php +++ b/wp-includes/class-wp-block-type.php @@ -137,14 +137,13 @@ class WP_Block_Type { * * Will populate object properties from the provided arguments. * + * @since 5.0.0 + * + * @see register_block_type() + * * @param string $block_type Block type name including namespace. * @param array|string $args Optional. Array or string of arguments for registering a block type. * Default empty array. - * - * @since 5.0.0 - * - * @see register_block_type() - * */ public function __construct( $block_type, $args = array() ) { $this->name = $block_type; diff --git a/wp-includes/version.php b/wp-includes/version.php index bed8184791..0a2e2227b0 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -13,7 +13,7 @@ * * @global string $wp_version */ -$wp_version = '5.5-alpha-47875'; +$wp_version = '5.5-alpha-47876'; /** * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.