Skip to content

Commit

Permalink
Code Quality: Remove unwanted spaces in the WP_Block_Type class
Browse files Browse the repository at this point in the history
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
  • Loading branch information
gziolo committed Sep 14, 2022
1 parent a2aa01c commit 69040b7
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions wp-includes/class-wp-block-type.php
Original file line number Diff line number Diff line change
Expand Up @@ -304,7 +304,7 @@ public function __get( $name ) {
}

$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;
}

/**
Expand All @@ -324,7 +324,7 @@ public function __isset( $name ) {
}

$new_name = $name . '_handles';
return isset( $this->{$new_name }[0] );
return isset( $this->{$new_name}[0] );
}

/**
Expand All @@ -348,7 +348,7 @@ public function __set( $name, $value ) {
}

$new_name = $name . '_handles';
$this->{$new_name }[0] = $value;
$this->{$new_name}[0] = $value;
}

/**
Expand Down
2 changes: 1 addition & 1 deletion wp-includes/version.php
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down

0 comments on commit 69040b7

Please sign in to comment.