Make WordPress Core


Ignore:
Timestamp:
07/28/2026 10:53:50 AM (3 months ago)
Author:
wildworks
Message:

Bundled Themes: Add missing package details to block themes.

This adds the @package, @subpackage, and @since tags to the block pattern files of Twenty Twenty-Two, Twenty Twenty-Three, and Twenty Twenty-Four, and corrects Twenty Twenty-Four's functions.php to use the @package WordPress form consistent with the other bundled themes.

Props poena, sabernhardt, shailu25, viralsampat, wildworks.
Fixes #62437.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-content/themes/twentytwentyfour/patterns/hidden-posts-heading.php

    r59065 r62867  
    55 * Categories: hidden
    66 * Inserter: no
     7 *
     8 * @package WordPress
     9 * @subpackage Twenty_Twenty_Four
     10 * @since Twenty Twenty-Four 1.3
    711 */
     12
    813?>
     14
    915<!-- wp:heading {"level":1,"align":"wide","style":{"spacing":{"padding":{"top":"var:preset|spacing|50"}}}} -->
    1016<h1 class="wp-block-heading alignwide" style="padding-top:var(--wp--preset--spacing--50)"><?php esc_html_e( 'Posts', 'twentytwentyfour' ); ?></h1>
Note: See TracChangeset for help on using the changeset viewer.