Make WordPress Core


Ignore:
Timestamp:
10/10/2020 08:00:30 PM (4 years ago)
Author:
johnbillion
Message:

Docs: Standardise the type name for booleans and integers.

This brings these docs inline with the documentation standards.

Props ravipatel, justinahinon

Fixes #51426

File:
1 edited

Legend:

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

    r48794 r49120  
    813813 *                                 label, style (name of the stylesheet to be enqueued),
    814814 *                                 inline_style (string containing the CSS to be added).
    815  * @return boolean True if the block style was registered with success and false otherwise.
     815 * @return bool True if the block style was registered with success and false otherwise.
    816816 */
    817817function register_block_style( $block_name, $style_properties ) {
     
    826826 * @param string $block_name       Block type name including namespace.
    827827 * @param array  $block_style_name Block style name.
    828  * @return boolean True if the block style was unregistered with success and false otherwise.
     828 * @return bool True if the block style was unregistered with success and false otherwise.
    829829 */
    830830function unregister_block_style( $block_name, $block_style_name ) {
Note: See TracChangeset for help on using the changeset viewer.