Make WordPress Core

Changeset 59472


Ignore:
Timestamp:
11/29/2024 10:44:36 PM (2 days ago)
Author:
SergeyBiryukov
Message:

Editor: Add description for Banners block pattern category.

Follow-up to [55098].

Props parinpanjari, youknowriad, Joen, dhruvang21, apermo, mukesh27.
Fixes #62115.

File:
1 edited

Legend:

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

    r59412 r59472  
    3636    }
    3737
    38     register_block_pattern_category( 'banner', array( 'label' => _x( 'Banners', 'Block pattern category' ) ) );
     38    register_block_pattern_category(
     39        'banner',
     40        array(
     41            'label'       => _x( 'Banners', 'Block pattern category' ),
     42            'description' => __( 'Bold sections designed to showcase key content.' ),
     43        )
     44    );
    3945    register_block_pattern_category(
    4046        'buttons',
Note: See TracChangeset for help on using the changeset viewer.