Make WordPress Core


Ignore:
Timestamp:
11/10/2023 03:10:35 PM (13 months ago)
Author:
joemcgill
Message:

Themes: Correct docblock for _register_theme_block_patterns.

This updates the '@since 6.4.0' annotation in _register_theme_block_patterns to reference WP_Theme::get_block_patterns instead of _wp_get_block_patterns, which was changed in [56978].

Props audrasjb, mukesh27, joemcgill.
Fixes #59869.

File:
1 edited

Legend:

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

    r57021 r57102  
    325325 * @since 6.1.0 The `postTypes` property was added.
    326326 * @since 6.2.0 The `templateTypes` property was added.
    327  * @since 6.4.0 Uses the `_wp_get_block_patterns` function.
     327 * @since 6.4.0 Uses the `WP_Theme::get_block_patterns` method.
    328328 * @access private
    329329 */
Note: See TracChangeset for help on using the changeset viewer.