Make WordPress Core


Ignore:
Timestamp:
09/14/2022 01:51:39 PM (2 years ago)
Author:
gziolo
Message:

Code Quality: Remove unwanted spaces in the WP_Block_Type class

Follow-up [54155].
Props TobiasBg.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-includes/class-wp-block-type.php

    r54155 r54158  
    305305
    306306        $new_name = $name . '_handles';
    307         return isset( $this->{$new_name }[0] ) ? $this->{$new_name }[0] : null;
     307        return isset( $this->{$new_name}[0] ) ? $this->{$new_name}[0] : null;
    308308    }
    309309
     
    325325
    326326        $new_name = $name . '_handles';
    327         return isset( $this->{$new_name }[0] );
     327        return isset( $this->{$new_name}[0] );
    328328    }
    329329
     
    349349
    350350        $new_name = $name . '_handles';
    351         $this->{$new_name }[0] = $value;
     351        $this->{$new_name}[0] = $value;
    352352    }
    353353
Note: See TracChangeset for help on using the changeset viewer.