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/gallery-offset-images-grid-3-col.php

    r58111 r62867  
    77 * Viewport width: 1400
    88 * Description: A gallery section with 3 columns and offset images.
     9 *
     10 * @package WordPress
     11 * @subpackage Twenty_Twenty_Four
     12 * @since Twenty Twenty-Four 1.0
    913 */
     14
    1015?>
     16
    1117<!-- wp:group {"metadata":{"name":"Portfolio Images"},"align":"full","style":{"spacing":{"padding":{"right":"var:preset|spacing|50","left":"var:preset|spacing|50","top":"var:preset|spacing|50","bottom":"var:preset|spacing|50"},"margin":{"top":"0","bottom":"0"}}},"layout":{"type":"constrained"}} -->
    1218<div class="wp-block-group alignfull" style="margin-top:0;margin-bottom:0;padding-top:var(--wp--preset--spacing--50);padding-right:var(--wp--preset--spacing--50);padding-bottom:var(--wp--preset--spacing--50);padding-left:var(--wp--preset--spacing--50)">
Note: See TracChangeset for help on using the changeset viewer.