From 8a90beea82cd46cc67c8d29e6db6d0d84a0d3efb Mon Sep 17 00:00:00 2001 From: hellofromTonya Date: Tue, 31 Oct 2023 18:53:20 +0000 Subject: [PATCH] Twenty Twenty-Four: Bugfixes for 6.4 RC3. 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]. Reviewed by flixos90, jorbin. Merges [57036] to the 6.4 branch. Props anlino, beafialho, desrosj, devmuhib, didierjm, fabiorubioglio, flixos90, hanneslsm, hellofromTonya, huzaifaalmesbah, ktaron, luminuu, mshowes, onemaggie, phillsav, poena, rajinsharwar, richtabor, shailu25. Fixes #59770, #59759. Built from https://develop.svn.wordpress.org/branches/6.4@57037 git-svn-id: http://core.svn.wordpress.org/branches/6.4@56548 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- .../themes/twentytwentyfour/functions.php | 7 +-- .../patterns/page-home-blogging.php | 2 +- .../patterns/page-home-business.php | 4 +- .../twentytwentyfour/patterns/posts-list.php | 62 +++++++++++++++++++ .../patterns/template-home-business.php | 6 +- .../patterns/template-home-portfolio.php | 2 +- .../twentytwentyfour/templates/home.html | 2 +- wp-includes/version.php | 2 +- 8 files changed, 74 insertions(+), 13 deletions(-) create mode 100644 wp-content/themes/twentytwentyfour/patterns/posts-list.php diff --git a/wp-content/themes/twentytwentyfour/functions.php b/wp-content/themes/twentytwentyfour/functions.php index 443035f384..2dbd05355d 100644 --- a/wp-content/themes/twentytwentyfour/functions.php +++ b/wp-content/themes/twentytwentyfour/functions.php @@ -32,9 +32,9 @@ if ( ! function_exists( 'twentytwentyfour_block_styles' ) ) : 'core/button', array( 'handle' => 'twentytwentyfour-button-style-outline', - 'src' => get_theme_file_uri( 'assets/css/button-outline.css' ), - 'ver' => wp_get_theme()->get( 'Version' ), - 'path' => get_theme_file_path( 'assets/css/button-outline.css' ), + 'src' => get_parent_theme_file_uri( 'assets/css/button-outline.css' ), + 'ver' => wp_get_theme( get_template() )->get( 'Version' ), + 'path' => get_parent_theme_file_path( 'assets/css/button-outline.css' ), ) ); @@ -45,7 +45,6 @@ if ( ! function_exists( 'twentytwentyfour_block_styles' ) ) : 'label' => __( 'Arrow icon', 'twentytwentyfour' ), /* * Styles for the custom Arrow icon style of the Details block - * https://github.com/WordPress/twentytwentyfour/issues/46 */ 'inline_style' => ' .is-style-arrow-icon-details { diff --git a/wp-content/themes/twentytwentyfour/patterns/page-home-blogging.php b/wp-content/themes/twentytwentyfour/patterns/page-home-blogging.php index d1c5242569..ae88e9006c 100644 --- a/wp-content/themes/twentytwentyfour/patterns/page-home-blogging.php +++ b/wp-content/themes/twentytwentyfour/patterns/page-home-blogging.php @@ -22,7 +22,7 @@
- +
diff --git a/wp-content/themes/twentytwentyfour/patterns/page-home-business.php b/wp-content/themes/twentytwentyfour/patterns/page-home-business.php index fb526b25c0..ca22952174 100644 --- a/wp-content/themes/twentytwentyfour/patterns/page-home-business.php +++ b/wp-content/themes/twentytwentyfour/patterns/page-home-business.php @@ -1,7 +1,7 @@ - + diff --git a/wp-content/themes/twentytwentyfour/patterns/posts-list.php b/wp-content/themes/twentytwentyfour/patterns/posts-list.php new file mode 100644 index 0000000000..5db93af229 --- /dev/null +++ b/wp-content/themes/twentytwentyfour/patterns/posts-list.php @@ -0,0 +1,62 @@ + + + +
+ +

+ + + +
+ +
+ + +
+ + + +
+ +
+ +
+ + + +
+ +
+ +
+ + + + + + + + + + + + + + + + + + +
+ +
+ +
+ diff --git a/wp-content/themes/twentytwentyfour/patterns/template-home-business.php b/wp-content/themes/twentytwentyfour/patterns/template-home-business.php index e6a41b74d7..e84a5aca90 100644 --- a/wp-content/themes/twentytwentyfour/patterns/template-home-business.php +++ b/wp-content/themes/twentytwentyfour/patterns/template-home-business.php @@ -1,8 +1,8 @@
- +
diff --git a/wp-content/themes/twentytwentyfour/patterns/template-home-portfolio.php b/wp-content/themes/twentytwentyfour/patterns/template-home-portfolio.php index 23e4503226..4fc4f072ba 100644 --- a/wp-content/themes/twentytwentyfour/patterns/template-home-portfolio.php +++ b/wp-content/themes/twentytwentyfour/patterns/template-home-portfolio.php @@ -2,7 +2,7 @@ /** * Title: Portfolio home template with post featured images * Slug: twentytwentyfour/template-home-portfolio - * Template Types: front-page, index, home + * Template Types: front-page, home * Viewport width: 1400 * Inserter: no */ diff --git a/wp-content/themes/twentytwentyfour/templates/home.html b/wp-content/themes/twentytwentyfour/templates/home.html index 92c4c041a5..7c364b8558 100644 --- a/wp-content/themes/twentytwentyfour/templates/home.html +++ b/wp-content/themes/twentytwentyfour/templates/home.html @@ -1 +1 @@ - + diff --git a/wp-includes/version.php b/wp-includes/version.php index ce8013d283..b803cce0a8 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -16,7 +16,7 @@ * * @global string $wp_version */ -$wp_version = '6.4-RC2-57035'; +$wp_version = '6.4-RC2-57037'; /** * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.