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/banner-project-description.php

    r58111 r62867  
    66 * Viewport width: 1400
    77 * Description: Project description section with title, paragraph, and an image.
     8 *
     9 * @package WordPress
     10 * @subpackage Twenty_Twenty_Four
     11 * @since Twenty Twenty-Four 1.0
    812 */
     13
    914?>
     15
    1016<!-- wp:group {"align":"full","style":{"spacing":{"margin":{"top":"0","bottom":"0"},"padding":{"top":"var:preset|spacing|50","bottom":"var:preset|spacing|50","left":"var:preset|spacing|50","right":"var:preset|spacing|50"}}},"backgroundColor":"accent-2","layout":{"type":"constrained"}} -->
    1117<div class="wp-block-group alignfull has-accent-2-background-color has-background" 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.