Make WordPress Core

Changeset 57036


Ignore:
Timestamp:
10/31/2023 05:24:38 PM (13 months ago)
Author:
hellofromTonya
Message:

Twenty Twenty-Four: Bugfixes for 6.4 RC2.

This update includes the following bugfixes:

  • Fix: Added a new block pattern for the home template that inherits the page query and fits the design of the home page. (more context on the theme repo: https://github.com/WordPress/twentytwentyfour/pull/706)
  • Fix: Rely on parent theme data for block style.
  • Fix: Categories for some patterns.
  • Fix: Minor labeling issues

Follow-up to [56999], [56951], [56813], [56764], [56716].

Props anlino, beafialho, desrosj, devmuhib, didierjm, fabiorubioglio, flixos90, hanneslsm, hellofromTonya, huzaifaalmesbah, ktaron, luminuu, mshowes, onemaggie, phillsav, poena, rajinsharwar, richtabor, shailu25.
Fixes #59770, #59759.

Location:
trunk/src/wp-content/themes/twentytwentyfour
Files:
1 added
6 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-content/themes/twentytwentyfour/functions.php

    r56999 r57036  
    3333            array(
    3434                'handle' => 'twentytwentyfour-button-style-outline',
    35                 'src'    => get_theme_file_uri( 'assets/css/button-outline.css' ),
    36                 'ver'    => wp_get_theme()->get( 'Version' ),
    37                 'path'   => get_theme_file_path( 'assets/css/button-outline.css' ),
     35                'src'    => get_parent_theme_file_uri( 'assets/css/button-outline.css' ),
     36                'ver'    => wp_get_theme( get_template() )->get( 'Version' ),
     37                'path'   => get_parent_theme_file_path( 'assets/css/button-outline.css' ),
    3838            )
    3939        );
     
    4646                /*
    4747                 * Styles for the custom Arrow icon style of the Details block
    48                  * https://github.com/WordPress/twentytwentyfour/issues/46
    4948                 */
    5049                'inline_style' => '
  • trunk/src/wp-content/themes/twentytwentyfour/patterns/page-home-blogging.php

    r56951 r57036  
    2323        <!-- wp:column {"width":"60%"} -->
    2424        <div class="wp-block-column" style="flex-basis:60%">
    25             <!-- wp:query {"query":{"perPage":3,"pages":0,"offset":0,"postType":"post","order":"desc","orderBy":"date","author":"","search":"","exclude":[],"sticky":"","inherit":false}} -->
     25            <!-- wp:query {"query":{"perPage":3,"pages":0,"offset":0,"postType":"post","order":"desc","orderBy":"date","author":"","search":"","exclude":[],"sticky":"","inherit":true}} -->
    2626            <div class="wp-block-query">
    2727                <!-- wp:post-template -->
  • trunk/src/wp-content/themes/twentytwentyfour/patterns/page-home-business.php

    r56951 r57036  
    22/**
    33 * Title: Business home
    4  * Slug: twentytwentyfour/home-business
     4 * Slug: twentytwentyfour/page-home-business
    55 * Categories: page
    66 * Keywords: starter
     
    1515<!-- wp:pattern {"slug":"twentytwentyfour/text-alternating-images"} /-->
    1616<!-- wp:pattern {"slug":"twentytwentyfour/testimonial-centered"} /-->
    17 <!-- wp:pattern {"slug":"twentytwentyfour/posts-grid-2-col"} /-->
     17<!-- wp:pattern {"slug":"twentytwentyfour/posts-list"} /-->
    1818<!-- wp:pattern {"slug":"twentytwentyfour/cta-subscribe-centered"} /-->
  • trunk/src/wp-content/themes/twentytwentyfour/patterns/template-home-business.php

    r56951 r57036  
    22/**
    33 * Title: Business home template
    4  * Slug: twentytwentyfour/template-home
    5  * Template Types: front-page, index, home
     4 * Slug: twentytwentyfour/template-home-business
     5 * Template Types: front-page, home
    66 * Viewport width: 1400
    77 * Inserter: no
     
    1313<!-- wp:group {"tagName":"main","style":{"spacing":{"blockGap":"0","margin":{"top":"0"}}},"layout":{"type":"default"}} -->
    1414<main class="wp-block-group" style="margin-top:0">
    15     <!-- wp:pattern {"slug":"twentytwentyfour/home-business"} /-->
     15    <!-- wp:pattern {"slug":"twentytwentyfour/page-home-business"} /-->
    1616</main>
    1717<!-- /wp:group -->
  • trunk/src/wp-content/themes/twentytwentyfour/patterns/template-home-portfolio.php

    r56951 r57036  
    33 * Title: Portfolio home template with post featured images
    44 * Slug: twentytwentyfour/template-home-portfolio
    5  * Template Types: front-page, index, home
     5 * Template Types: front-page, home
    66 * Viewport width: 1400
    77 * Inserter: no
  • trunk/src/wp-content/themes/twentytwentyfour/templates/home.html

    r56764 r57036  
    1 <!-- wp:pattern {"slug":"twentytwentyfour/template-home"} /-->
     1<!-- wp:pattern {"slug":"twentytwentyfour/template-home-business"} /-->
Note: See TracChangeset for help on using the changeset viewer.