From 69040b7afe6650a2ff0be9255b4efe9884127026 Mon Sep 17 00:00:00 2001 From: gziolo Date: Wed, 14 Sep 2022 13:53:13 +0000 Subject: [PATCH] Code Quality: Remove unwanted spaces in the `WP_Block_Type` class Follow-up [54155]. Props TobiasBg. Built from https://develop.svn.wordpress.org/trunk@54158 git-svn-id: http://core.svn.wordpress.org/trunk@53717 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-includes/class-wp-block-type.php | 6 +++--- wp-includes/version.php | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/wp-includes/class-wp-block-type.php b/wp-includes/class-wp-block-type.php index 47c3e0644b..b0ca475315 100644 --- a/wp-includes/class-wp-block-type.php +++ b/wp-includes/class-wp-block-type.php @@ -304,7 +304,7 @@ class WP_Block_Type { } $new_name = $name . '_handles'; - return isset( $this->{$new_name }[0] ) ? $this->{$new_name }[0] : null; + return isset( $this->{$new_name}[0] ) ? $this->{$new_name}[0] : null; } /** @@ -324,7 +324,7 @@ class WP_Block_Type { } $new_name = $name . '_handles'; - return isset( $this->{$new_name }[0] ); + return isset( $this->{$new_name}[0] ); } /** @@ -348,7 +348,7 @@ class WP_Block_Type { } $new_name = $name . '_handles'; - $this->{$new_name }[0] = $value; + $this->{$new_name}[0] = $value; } /** diff --git a/wp-includes/version.php b/wp-includes/version.php index 703f25a9b7..9c2b913dab 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -16,7 +16,7 @@ * * @global string $wp_version */ -$wp_version = '6.1-alpha-54157'; +$wp_version = '6.1-alpha-54158'; /** * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.