Make WordPress Core


Ignore:
Timestamp:
01/03/2021 10:02:13 PM (2 years ago)
Author:
johnbillion
Message:

Docs: Promote many bool types to true or false where only that value is used.

See #51800

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-includes/blocks.php

    r49850 r49927  
    100100 * @param array  $metadata   Block metadata.
    101101 * @param string $field_name Field name to pick from metadata.
    102  * @return string|bool Script handle provided directly or created through
    103  *                     script's registration, or false on failure.
     102 * @return string|false Script handle provided directly or created through
     103 *                      script's registration, or false on failure.
    104104 */
    105105function register_block_script_handle( $metadata, $field_name ) {
     
    147147 * @param array  $metadata Block metadata.
    148148 * @param string $field_name Field name to pick from metadata.
    149  * @return string|boolean Style handle provided directly or created through
    150  *                        style's registration, or false on failure.
     149 * @return string|false Style handle provided directly or created through
     150 *                      style's registration, or false on failure.
    151151 */
    152152function register_block_style_handle( $metadata, $field_name ) {
Note: See TracChangeset for help on using the changeset viewer.