Make WordPress Core

Changeset 57103


Ignore:
Timestamp:
11/10/2023 03:58:50 PM (9 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].

Reviewed by audrasjb.
Merges [57102] to the to the 6.4 branch.

Props audrasjb, mukesh27, joemcgill.
Fixes #59869.

Location:
branches/6.4
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • branches/6.4

  • branches/6.4/src/wp-includes/block-patterns.php

    r57023 r57103  
    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.