Make WordPress Core


Ignore:
Timestamp:
06/30/2021 02:13:30 AM (4 years ago)
Author:
desrosj
Message:

Build/Test Tools: Revert [51259-51256,51265].

[51259] introduced a PHP notice that was not actually fixed by [51265]. Reverting these changes in order to investigate further.

See #53397.

File:
1 edited

Legend:

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

    r51260 r51268  
    157157
    158158    /**
    159      * Block type editor only script handle.
     159     * Block type editor script handle.
    160160     *
    161161     * @since 5.0.0
     
    165165
    166166    /**
    167      * Block type front end and editor script handle.
     167     * Block type front end script handle.
    168168     *
    169169     * @since 5.0.0
     
    173173
    174174    /**
    175      * Block type front end only script handle.
    176      *
    177      * @since 5.8.0
    178      * @var string|null
    179      */
    180     public $view_script = null;
    181 
    182     /**
    183      * Block type editor only style handle.
     175     * Block type editor style handle.
    184176     *
    185177     * @since 5.0.0
     
    189181
    190182    /**
    191      * Block type front end and editor style handle.
     183     * Block type front end style handle.
    192184     *
    193185     * @since 5.0.0
     
    234226     *     @type array         $uses_context     Context values inherited by blocks of this type.
    235227     *     @type array|null    $provides_context Context provided by blocks of this type.
    236      *     @type string|null   $editor_script    Block type editor only script handle.
    237      *     @type string|null   $script           Block type front end and editor script handle.
    238      *     @type string|null   $view_script      Block type front end only script handle.
    239      *     @type string|null   $editor_style     Block type editor only style handle.
    240      *     @type string|null   $style            Block type front end and editor style handle.
     228     *     @type string|null   $editor_script    Block type editor script handle.
     229     *     @type string|null   $script           Block type front end script handle.
     230     *     @type string|null   $editor_style     Block type editor style handle.
     231     *     @type string|null   $style            Block type front end style handle.
    241232     * }
    242233     */
Note: See TracChangeset for help on using the changeset viewer.