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
This commit is contained in:
parent
c704057e0d
commit
7152c73f6a
|
@ -137,14 +137,13 @@ class WP_Block_Type {
|
||||||
*
|
*
|
||||||
* Will populate object properties from the provided arguments.
|
* 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 string $block_type Block type name including namespace.
|
||||||
* @param array|string $args Optional. Array or string of arguments for registering a block type.
|
* @param array|string $args Optional. Array or string of arguments for registering a block type.
|
||||||
* Default empty array.
|
* Default empty array.
|
||||||
*
|
|
||||||
* @since 5.0.0
|
|
||||||
*
|
|
||||||
* @see register_block_type()
|
|
||||||
*
|
|
||||||
*/
|
*/
|
||||||
public function __construct( $block_type, $args = array() ) {
|
public function __construct( $block_type, $args = array() ) {
|
||||||
$this->name = $block_type;
|
$this->name = $block_type;
|
||||||
|
|
|
@ -13,7 +13,7 @@
|
||||||
*
|
*
|
||||||
* @global string $wp_version
|
* @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.
|
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.
|
||||||
|
|
Loading…
Reference in New Issue