Commit 00c2b8228b for wordpress.org

commit 00c2b8228b7985a8c09f2cc3e5daaff424cd30d8
Author: swissspidy <swissspidy@git.wordpress.org>
Date:   Wed Nov 25 10:56:57 2026 +0000

    Bundled Themes: Place translator comments directly before their strings.

    Some translator comments were placed in front of a ternary operator or shared a line with several translatable strings. String extraction tools either miss such comments or attach them to the wrong string. This moves each comment directly before the gettext call it describes.

    This is the bundled themes counterpart of r65774, which fixes the same problem in core.

    Developed in: https://github.com/WordPress/wordpress-develop/pull/16071

    Props swissspidy, mukesh27.
    See #66747.
    Built from https://develop.svn.wordpress.org/trunk@65775


    git-svn-id: http://core.svn.wordpress.org/trunk@64804 1a063a9b-81f0-0310-95a4-ce76da25c4cd

diff --git a/wp-content/themes/twentyeleven/archive.php b/wp-content/themes/twentyeleven/archive.php
index a21e626b70..6e43c967d9 100644
--- a/wp-content/themes/twentyeleven/archive.php
+++ b/wp-content/themes/twentyeleven/archive.php
@@ -26,11 +26,17 @@ get_header(); ?>
 							/* translators: %s: Date. */
 							printf( __( 'Daily Archives: %s', 'twentyeleven' ), '<span>' . get_the_date() . '</span>' );
 						} elseif ( is_month() ) {
-							/* translators: %s: Date. */
-							printf( __( 'Monthly Archives: %s', 'twentyeleven' ), '<span>' . get_the_date( _x( 'F Y', 'monthly archives date format', 'twentyeleven' ) ) . '</span>' );
+							printf(
+								/* translators: %s: Date. */
+								__( 'Monthly Archives: %s', 'twentyeleven' ),
+								'<span>' . get_the_date( _x( 'F Y', 'monthly archives date format', 'twentyeleven' ) ) . '</span>'
+							);
 						} elseif ( is_year() ) {
-							/* translators: %s: Date. */
-							printf( __( 'Yearly Archives: %s', 'twentyeleven' ), '<span>' . get_the_date( _x( 'Y', 'yearly archives date format', 'twentyeleven' ) ) . '</span>' );
+							printf(
+								/* translators: %s: Date. */
+								__( 'Yearly Archives: %s', 'twentyeleven' ),
+								'<span>' . get_the_date( _x( 'Y', 'yearly archives date format', 'twentyeleven' ) ) . '</span>'
+							);
 						} else {
 							_e( 'Blog Archives', 'twentyeleven' );
 						}
diff --git a/wp-content/themes/twentyfourteen/archive.php b/wp-content/themes/twentyfourteen/archive.php
index f11a57ff1a..0b43532e33 100644
--- a/wp-content/themes/twentyfourteen/archive.php
+++ b/wp-content/themes/twentyfourteen/archive.php
@@ -31,11 +31,17 @@ get_header(); ?>
 						/* translators: %s: Date. */
 						printf( __( 'Daily Archives: %s', 'twentyfourteen' ), get_the_date() );
 					} elseif ( is_month() ) {
-						/* translators: %s: Date. */
-						printf( __( 'Monthly Archives: %s', 'twentyfourteen' ), get_the_date( _x( 'F Y', 'monthly archives date format', 'twentyfourteen' ) ) );
+						printf(
+							/* translators: %s: Date. */
+							__( 'Monthly Archives: %s', 'twentyfourteen' ),
+							get_the_date( _x( 'F Y', 'monthly archives date format', 'twentyfourteen' ) )
+						);
 					} elseif ( is_year() ) {
-						/* translators: %s: Date. */
-						printf( __( 'Yearly Archives: %s', 'twentyfourteen' ), get_the_date( _x( 'Y', 'yearly archives date format', 'twentyfourteen' ) ) );
+						printf(
+							/* translators: %s: Date. */
+							__( 'Yearly Archives: %s', 'twentyfourteen' ),
+							get_the_date( _x( 'Y', 'yearly archives date format', 'twentyfourteen' ) )
+						);
 					} else {
 						_e( 'Archives', 'twentyfourteen' );
 					}
diff --git a/wp-content/themes/twentyfourteen/inc/customizer.php b/wp-content/themes/twentyfourteen/inc/customizer.php
index 624d4e6207..8ba5759f38 100644
--- a/wp-content/themes/twentyfourteen/inc/customizer.php
+++ b/wp-content/themes/twentyfourteen/inc/customizer.php
@@ -164,8 +164,13 @@ function twentyfourteen_contextual_help() {
 			'title'   => __( 'Twenty Fourteen', 'twentyfourteen' ),
 			'content' =>
 				'<ul>' .
-					/* translators: 1: Featured tag editor URL, 2: Post editor URL, 3: Customizer URL, 4: Post editor URL. */
-					'<li>' . sprintf( __( 'The home page features your choice of up to 6 posts prominently displayed in a grid or slider, controlled by a <a href="%1$s">tag</a>; you can change the tag and layout in <a href="%2$s">Appearance &rarr; Customize</a>. If no posts match the tag, <a href="%3$s">sticky posts</a> will be displayed instead.', 'twentyfourteen' ), esc_url( add_query_arg( 'tag', _x( 'featured', 'featured content default tag slug', 'twentyfourteen' ), admin_url( 'edit.php' ) ) ), admin_url( 'customize.php' ), admin_url( 'edit.php?show_sticky=1' ) ) . '</li>' .
+					'<li>' . sprintf(
+						/* translators: 1: Featured tag editor URL, 2: Post editor URL, 3: Customizer URL, 4: Post editor URL. */
+						__( 'The home page features your choice of up to 6 posts prominently displayed in a grid or slider, controlled by a <a href="%1$s">tag</a>; you can change the tag and layout in <a href="%2$s">Appearance &rarr; Customize</a>. If no posts match the tag, <a href="%3$s">sticky posts</a> will be displayed instead.', 'twentyfourteen' ),
+						esc_url( add_query_arg( 'tag', _x( 'featured', 'featured content default tag slug', 'twentyfourteen' ), admin_url( 'edit.php' ) ) ),
+						admin_url( 'customize.php' ),
+						admin_url( 'edit.php?show_sticky=1' )
+					) . '</li>' .
 					/* translators: %s: Featured images documentation URL. */
 					'<li>' . sprintf( __( 'Enhance your site design by using <a href="%s">Featured Images</a> for posts you&rsquo;d like to stand out (also known as post thumbnails). This allows you to associate an image with your post without inserting it. Twenty Fourteen uses featured images for posts and pages&mdash;above the title&mdash;and in the Featured Content area on the home page.', 'twentyfourteen' ), 'https://codex.wordpress.org/Post_Thumbnails#Setting_a_Post_Thumbnail' ) . '</li>' .
 					/* translators: %s: Twenty Fourteen documentation URL. */
diff --git a/wp-content/themes/twentyseventeen/single.php b/wp-content/themes/twentyseventeen/single.php
index 7fe1bc6489..406b4727b9 100644
--- a/wp-content/themes/twentyseventeen/single.php
+++ b/wp-content/themes/twentyseventeen/single.php
@@ -30,10 +30,20 @@ get_header(); ?>

 				the_post_navigation(
 					array(
-						/* translators: Hidden accessibility text. */
-						'prev_text' => '<span class="screen-reader-text">' . __( 'Previous Post', 'twentyseventeen' ) . '</span><span aria-hidden="true" class="nav-subtitle">' . __( 'Previous', 'twentyseventeen' ) . '</span> <span class="nav-title"><span class="nav-title-icon-wrapper">' . twentyseventeen_get_svg( array( 'icon' => 'arrow-left' ) ) . '</span>%title</span>',
-						/* translators: Hidden accessibility text. */
-						'next_text' => '<span class="screen-reader-text">' . __( 'Next Post', 'twentyseventeen' ) . '</span><span aria-hidden="true" class="nav-subtitle">' . __( 'Next', 'twentyseventeen' ) . '</span> <span class="nav-title">%title<span class="nav-title-icon-wrapper">' . twentyseventeen_get_svg( array( 'icon' => 'arrow-right' ) ) . '</span></span>',
+						'prev_text' => '<span class="screen-reader-text">' .
+							/* translators: Hidden accessibility text. */
+							__( 'Previous Post', 'twentyseventeen' ) .
+							'</span><span aria-hidden="true" class="nav-subtitle">' .
+							/* translators: Visible label for the link to the previous post. */
+							__( 'Previous', 'twentyseventeen' ) .
+							'</span> <span class="nav-title"><span class="nav-title-icon-wrapper">' . twentyseventeen_get_svg( array( 'icon' => 'arrow-left' ) ) . '</span>%title</span>',
+						'next_text' => '<span class="screen-reader-text">' .
+							/* translators: Hidden accessibility text. */
+							__( 'Next Post', 'twentyseventeen' ) .
+							'</span><span aria-hidden="true" class="nav-subtitle">' .
+							/* translators: Visible label for the link to the next post. */
+							__( 'Next', 'twentyseventeen' ) .
+							'</span> <span class="nav-title">%title<span class="nav-title-icon-wrapper">' . twentyseventeen_get_svg( array( 'icon' => 'arrow-right' ) ) . '</span></span>',
 					)
 				);

diff --git a/wp-content/themes/twentyten/archive.php b/wp-content/themes/twentyten/archive.php
index 36c5e0b3e2..056643232e 100644
--- a/wp-content/themes/twentyten/archive.php
+++ b/wp-content/themes/twentyten/archive.php
@@ -36,11 +36,17 @@ if ( have_posts() ) {
 				/* translators: %s: Date. */
 				printf( __( 'Daily Archives: <span>%s</span>', 'twentyten' ), get_the_date() );
 			} elseif ( is_month() ) {
-				/* translators: %s: Date. */
-				printf( __( 'Monthly Archives: <span>%s</span>', 'twentyten' ), get_the_date( _x( 'F Y', 'monthly archives date format', 'twentyten' ) ) );
+				printf(
+					/* translators: %s: Date. */
+					__( 'Monthly Archives: <span>%s</span>', 'twentyten' ),
+					get_the_date( _x( 'F Y', 'monthly archives date format', 'twentyten' ) )
+				);
 			} elseif ( is_year() ) {
-				/* translators: %s: Date. */
-				printf( __( 'Yearly Archives: <span>%s</span>', 'twentyten' ), get_the_date( _x( 'Y', 'yearly archives date format', 'twentyten' ) ) );
+				printf(
+					/* translators: %s: Date. */
+					__( 'Yearly Archives: <span>%s</span>', 'twentyten' ),
+					get_the_date( _x( 'Y', 'yearly archives date format', 'twentyten' ) )
+				);
 			} else {
 				_e( 'Blog Archives', 'twentyten' );
 			}
diff --git a/wp-content/themes/twentythirteen/archive.php b/wp-content/themes/twentythirteen/archive.php
index b4dc2eaa0c..dddf548882 100644
--- a/wp-content/themes/twentythirteen/archive.php
+++ b/wp-content/themes/twentythirteen/archive.php
@@ -30,11 +30,17 @@ get_header(); ?>
 					/* translators: %s: Date. */
 					printf( __( 'Daily Archives: %s', 'twentythirteen' ), get_the_date() );
 				} elseif ( is_month() ) {
-					/* translators: %s: Date. */
-					printf( __( 'Monthly Archives: %s', 'twentythirteen' ), get_the_date( _x( 'F Y', 'monthly archives date format', 'twentythirteen' ) ) );
+					printf(
+						/* translators: %s: Date. */
+						__( 'Monthly Archives: %s', 'twentythirteen' ),
+						get_the_date( _x( 'F Y', 'monthly archives date format', 'twentythirteen' ) )
+					);
 				} elseif ( is_year() ) {
-					/* translators: %s: Date. */
-					printf( __( 'Yearly Archives: %s', 'twentythirteen' ), get_the_date( _x( 'Y', 'yearly archives date format', 'twentythirteen' ) ) );
+					printf(
+						/* translators: %s: Date. */
+						__( 'Yearly Archives: %s', 'twentythirteen' ),
+						get_the_date( _x( 'Y', 'yearly archives date format', 'twentythirteen' ) )
+					);
 				} else {
 					_e( 'Archives', 'twentythirteen' );
 				}
diff --git a/wp-content/themes/twentytwelve/archive.php b/wp-content/themes/twentytwelve/archive.php
index b44a1c6c9f..084a15845f 100644
--- a/wp-content/themes/twentytwelve/archive.php
+++ b/wp-content/themes/twentytwelve/archive.php
@@ -30,11 +30,17 @@ get_header(); ?>
 					/* translators: %s: Date. */
 					printf( __( 'Daily Archives: %s', 'twentytwelve' ), '<span>' . get_the_date() . '</span>' );
 				} elseif ( is_month() ) {
-					/* translators: %s: Date. */
-					printf( __( 'Monthly Archives: %s', 'twentytwelve' ), '<span>' . get_the_date( _x( 'F Y', 'monthly archives date format', 'twentytwelve' ) ) . '</span>' );
+					printf(
+						/* translators: %s: Date. */
+						__( 'Monthly Archives: %s', 'twentytwelve' ),
+						'<span>' . get_the_date( _x( 'F Y', 'monthly archives date format', 'twentytwelve' ) ) . '</span>'
+					);
 				} elseif ( is_year() ) {
-					/* translators: %s: Date. */
-					printf( __( 'Yearly Archives: %s', 'twentytwelve' ), '<span>' . get_the_date( _x( 'Y', 'yearly archives date format', 'twentytwelve' ) ) . '</span>' );
+					printf(
+						/* translators: %s: Date. */
+						__( 'Yearly Archives: %s', 'twentytwelve' ),
+						'<span>' . get_the_date( _x( 'Y', 'yearly archives date format', 'twentytwelve' ) ) . '</span>'
+					);
 				} else {
 					_e( 'Archives', 'twentytwelve' );
 				}
diff --git a/wp-includes/version.php b/wp-includes/version.php
index 0ec234872e..4abb03cdca 100644
--- a/wp-includes/version.php
+++ b/wp-includes/version.php
@@ -16,7 +16,7 @@
  *
  * @global string $wp_version
  */
-$wp_version = '7.3-alpha-65774';
+$wp_version = '7.3-alpha-65775';

 /**
  * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.