diff --git a/wp-content/themes/twentytwentyfour/functions.php b/wp-content/themes/twentytwentyfour/functions.php index 2dbd05355d..deb0ab1d1e 100644 --- a/wp-content/themes/twentytwentyfour/functions.php +++ b/wp-content/themes/twentytwentyfour/functions.php @@ -20,23 +20,6 @@ if ( ! function_exists( 'twentytwentyfour_block_styles' ) ) : * @return void */ function twentytwentyfour_block_styles() { - /** - * The wp_enqueue_block_style() function allows us to enqueue a stylesheet - * for a specific block. These will only get loaded when the block is rendered - * (both in the editor and on the front end), improving performance - * and reducing the amount of data requested by visitors. - * - * See https://make.wordpress.org/core/2021/12/15/using-multiple-stylesheets-per-block/ for more info. - */ - wp_enqueue_block_style( - 'core/button', - array( - 'handle' => 'twentytwentyfour-button-style-outline', - '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' ), - ) - ); register_block_style( 'core/details', @@ -50,7 +33,6 @@ if ( ! function_exists( 'twentytwentyfour_block_styles' ) ) : .is-style-arrow-icon-details { padding-top: var(--wp--preset--spacing--10); padding-bottom: var(--wp--preset--spacing--10); - border-bottom: 1px solid var(--wp--preset--color--contrast-2, currentColor); } .is-style-arrow-icon-details summary { @@ -164,6 +146,40 @@ endif; add_action( 'init', 'twentytwentyfour_block_styles' ); +/** + * Enqueue block stylesheets. + */ + +if ( ! function_exists( 'twentytwentyfour_block_stylesheets' ) ) : + /** + * Enqueue custom block stylesheets + * + * @since Twenty Twenty-Four 1.0 + * @return void + */ + function twentytwentyfour_block_stylesheets() { + /** + * The wp_enqueue_block_style() function allows us to enqueue a stylesheet + * for a specific block. These will only get loaded when the block is rendered + * (both in the editor and on the front end), improving performance + * and reducing the amount of data requested by visitors. + * + * See https://make.wordpress.org/core/2021/12/15/using-multiple-stylesheets-per-block/ for more info. + */ + wp_enqueue_block_style( + 'core/button', + array( + 'handle' => 'twentytwentyfour-button-style-outline', + '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' ), + ) + ); + } +endif; + +add_action( 'init', 'twentytwentyfour_block_stylesheets' ); + /** * Register pattern categories. */ diff --git a/wp-content/themes/twentytwentyfour/patterns/cta-pricing.php b/wp-content/themes/twentytwentyfour/patterns/cta-pricing.php index 78665ceb97..45f85f5f06 100644 --- a/wp-content/themes/twentytwentyfour/patterns/cta-pricing.php +++ b/wp-content/themes/twentytwentyfour/patterns/cta-pricing.php @@ -29,8 +29,8 @@
- -
+ +

@@ -52,8 +52,8 @@

Études Articles per month.', 'Feature for pricing level', 'twentytwentyfour' ) ); ?>

- -
+ +
@@ -62,8 +62,8 @@

- -
+ +
@@ -114,16 +114,16 @@

Études Articles per month.', 'Feature for pricing level', 'twentytwentyfour' ) ); ?>

- -
+ +

- -
+ +
@@ -149,8 +149,8 @@

- -
+ +

@@ -172,16 +172,16 @@

Études Articles.', 'Feature for pricing level', 'twentytwentyfour' ) ); ?>

- -
+ +

- -
+ +
diff --git a/wp-content/themes/twentytwentyfour/patterns/hidden-sidebar.php b/wp-content/themes/twentytwentyfour/patterns/hidden-sidebar.php index 46e40d0f0b..abcb01b7bf 100644 --- a/wp-content/themes/twentytwentyfour/patterns/hidden-sidebar.php +++ b/wp-content/themes/twentytwentyfour/patterns/hidden-sidebar.php @@ -23,8 +23,8 @@

- -
+ +
@@ -37,8 +37,8 @@
- -
+ +
@@ -62,8 +62,8 @@
- -
+ +
diff --git a/wp-content/themes/twentytwentyfour/patterns/page-newsletter-landing.php b/wp-content/themes/twentytwentyfour/patterns/page-newsletter-landing.php index b731437c63..24c6d9a86f 100644 --- a/wp-content/themes/twentytwentyfour/patterns/page-newsletter-landing.php +++ b/wp-content/themes/twentytwentyfour/patterns/page-newsletter-landing.php @@ -10,8 +10,8 @@ */ ?> - -
+ +
diff --git a/wp-content/themes/twentytwentyfour/patterns/text-faq.php b/wp-content/themes/twentytwentyfour/patterns/text-faq.php index 9ebe08b77b..8bf042818c 100644 --- a/wp-content/themes/twentytwentyfour/patterns/text-faq.php +++ b/wp-content/themes/twentytwentyfour/patterns/text-faq.php @@ -16,12 +16,12 @@
- -
+ +
- -
+ +
@@ -29,8 +29,8 @@
- -
+ +
@@ -38,8 +38,8 @@
- -
+ +
@@ -47,8 +47,8 @@
- -
+ +
diff --git a/wp-content/themes/twentytwentyfour/readme.txt b/wp-content/themes/twentytwentyfour/readme.txt index 31d3bcf985..c1837d4636 100644 --- a/wp-content/themes/twentytwentyfour/readme.txt +++ b/wp-content/themes/twentytwentyfour/readme.txt @@ -16,7 +16,7 @@ Twenty Twenty-Four is designed to be flexible, versatile and applicable to any w = 1.0 = * Released: November 7, 2023 -https://wordpress.org/support/article/twenty-twenty-four-changelog#Version_1.0 +https://wordpress.org/documentation/article/twenty-twenty-four-changelog/#Version_1.0 == Copyright == diff --git a/wp-content/themes/twentytwentyfour/styles/ember.json b/wp-content/themes/twentytwentyfour/styles/ember.json index a7eb7a4f2b..37e9c418a4 100644 --- a/wp-content/themes/twentytwentyfour/styles/ember.json +++ b/wp-content/themes/twentytwentyfour/styles/ember.json @@ -96,11 +96,6 @@ "color": "#f6decd", "name": "Base / Two", "slug": "base-2" - }, - { - "color": "#FF3C0025", - "name": "Base / Three", - "slug": "base-3" } ] }, diff --git a/wp-content/themes/twentytwentyfour/styles/fossil.json b/wp-content/themes/twentytwentyfour/styles/fossil.json index 41950f84bc..44e24fca1e 100644 --- a/wp-content/themes/twentytwentyfour/styles/fossil.json +++ b/wp-content/themes/twentytwentyfour/styles/fossil.json @@ -77,11 +77,6 @@ "name": "Base / Two", "slug": "base-2" }, - { - "color": "#1A151425", - "name": "Base / Three", - "slug": "base-3" - }, { "color": "#1A1514", "name": "Contrast", diff --git a/wp-content/themes/twentytwentyfour/styles/ice.json b/wp-content/themes/twentytwentyfour/styles/ice.json index 482b65bf35..e7896bcb24 100644 --- a/wp-content/themes/twentytwentyfour/styles/ice.json +++ b/wp-content/themes/twentytwentyfour/styles/ice.json @@ -77,11 +77,6 @@ "name": "Base / Two", "slug": "base-2" }, - { - "color": "#ecf1f4", - "name": "Base / Three", - "slug": "base-3" - }, { "color": "#1C2930", "name": "Contrast", diff --git a/wp-content/themes/twentytwentyfour/styles/maelstrom.json b/wp-content/themes/twentytwentyfour/styles/maelstrom.json index e4ad142aa5..1f99cf5b0e 100644 --- a/wp-content/themes/twentytwentyfour/styles/maelstrom.json +++ b/wp-content/themes/twentytwentyfour/styles/maelstrom.json @@ -15,11 +15,6 @@ "name": "Base / Two", "slug": "base-2" }, - { - "color": "#FFFFFF25", - "name": "Base / Three", - "slug": "base-3" - }, { "color": "#FFFFFFA1", "name": "Contrast / 2", diff --git a/wp-content/themes/twentytwentyfour/styles/mint.json b/wp-content/themes/twentytwentyfour/styles/mint.json index e9b6efd7d1..9d306e508a 100644 --- a/wp-content/themes/twentytwentyfour/styles/mint.json +++ b/wp-content/themes/twentytwentyfour/styles/mint.json @@ -15,11 +15,6 @@ "name": "Base / Two", "slug": "base-2" }, - { - "color": "#00000025", - "name": "Base / Three", - "slug": "base-3" - }, { "color": "#000000", "name": "Contrast", diff --git a/wp-content/themes/twentytwentyfour/styles/onyx.json b/wp-content/themes/twentytwentyfour/styles/onyx.json index d5c9359be5..41afbd8ce7 100644 --- a/wp-content/themes/twentytwentyfour/styles/onyx.json +++ b/wp-content/themes/twentytwentyfour/styles/onyx.json @@ -119,11 +119,6 @@ "name": "Base / Two", "slug": "base-2" }, - { - "color": "#ffffff26", - "name": "Base / Three", - "slug": "base-3" - }, { "color": "#f9f9f9", "name": "Contrast", diff --git a/wp-content/themes/twentytwentyfour/templates/single.html b/wp-content/themes/twentytwentyfour/templates/single.html index fced18d17a..e26337018f 100644 --- a/wp-content/themes/twentytwentyfour/templates/single.html +++ b/wp-content/themes/twentytwentyfour/templates/single.html @@ -31,8 +31,8 @@
- -
+ +
diff --git a/wp-content/themes/twentytwentyfour/theme.json b/wp-content/themes/twentytwentyfour/theme.json index a6fce3db96..5de83dfefc 100644 --- a/wp-content/themes/twentytwentyfour/theme.json +++ b/wp-content/themes/twentytwentyfour/theme.json @@ -111,11 +111,6 @@ "name": "Base / Two", "slug": "base-2" }, - { - "color": "#00000025", - "name": "Base / Three", - "slug": "base-3" - }, { "color": "#111111", "name": "Contrast", @@ -785,7 +780,6 @@ "background": "var(--wp--preset--color--base)", "text": "var(--wp--preset--color--contrast)" }, - "css": "a{text-decoration-thickness:0.0625em;text-underline-offset: 0.15em}", "elements": { "button": { ":active": { diff --git a/wp-includes/version.php b/wp-includes/version.php index a0198b2e4e..8b277e9d1f 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -16,7 +16,7 @@ * * @global string $wp_version */ -$wp_version = '6.5-alpha-57066'; +$wp_version = '6.5-alpha-57067'; /** * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.