diff --git a/src/wp-admin/includes/class-wp-application-passwords-list-table.php b/src/wp-admin/includes/class-wp-application-passwords-list-table.php index 9a60853016fc5..511e08498b9e5 100644 --- a/src/wp-admin/includes/class-wp-application-passwords-list-table.php +++ b/src/wp-admin/includes/class-wp-application-passwords-list-table.php @@ -114,7 +114,7 @@ public function column_revoke( $item ) { '', esc_attr( $name ), /* translators: %s: the application password's given name. */ - esc_attr( sprintf( __( 'Revoke "%s"' ), $item['name'] ) ), + esc_attr( sprintf( __( 'Revoke “%s”' ), $item['name'] ) ), __( 'Revoke' ) ); } diff --git a/src/wp-admin/includes/class-wp-site-health.php b/src/wp-admin/includes/class-wp-site-health.php index b7847d5e310a8..eed2b7420be35 100644 --- a/src/wp-admin/includes/class-wp-site-health.php +++ b/src/wp-admin/includes/class-wp-site-health.php @@ -2281,7 +2281,7 @@ public function get_test_file_uploads() { if ( wp_convert_hr_to_bytes( $post_max_size ) < wp_convert_hr_to_bytes( $upload_max_filesize ) ) { $result['label'] = sprintf( /* translators: 1: post_max_size, 2: upload_max_filesize */ - __( 'The "%1$s" value is smaller than "%2$s"' ), + __( 'The “%1$s” value is smaller than “%2$s”' ), 'post_max_size', 'upload_max_filesize' ); diff --git a/src/wp-admin/includes/media.php b/src/wp-admin/includes/media.php index 7d9fd638fb689..bebab341efe53 100644 --- a/src/wp-admin/includes/media.php +++ b/src/wp-admin/includes/media.php @@ -331,16 +331,16 @@ function media_handle_upload( $file_id, $post_id, $post_data = array(), $overrid if ( ! empty( $meta['album'] ) && ! empty( $meta['artist'] ) ) { /* translators: 1: Audio track title, 2: Album title, 3: Artist name. */ - $content .= sprintf( __( '"%1$s" from %2$s by %3$s.' ), $title, $meta['album'], $meta['artist'] ); + $content .= sprintf( __( '“%1$s” from %2$s by %3$s.' ), $title, $meta['album'], $meta['artist'] ); } elseif ( ! empty( $meta['album'] ) ) { /* translators: 1: Audio track title, 2: Album title. */ - $content .= sprintf( __( '"%1$s" from %2$s.' ), $title, $meta['album'] ); + $content .= sprintf( __( '“%1$s” from %2$s.' ), $title, $meta['album'] ); } elseif ( ! empty( $meta['artist'] ) ) { /* translators: 1: Audio track title, 2: Artist name. */ - $content .= sprintf( __( '"%1$s" by %2$s.' ), $title, $meta['artist'] ); + $content .= sprintf( __( '“%1$s” by %2$s.' ), $title, $meta['artist'] ); } else { /* translators: %s: Audio track title. */ - $content .= sprintf( __( '"%s".' ), $title ); + $content .= sprintf( __( '“%s”.' ), $title ); } } elseif ( ! empty( $meta['album'] ) ) { diff --git a/src/wp-admin/includes/ms.php b/src/wp-admin/includes/ms.php index fc5f54a7f4c46..067c03189430b 100644 --- a/src/wp-admin/includes/ms.php +++ b/src/wp-admin/includes/ms.php @@ -575,7 +575,7 @@ function _access_denied_splash() { wp_die( sprintf( /* translators: 1: Site title. */ - __( 'You attempted to access the "%1$s" dashboard, but you do not currently have privileges on this site. If you believe you should be able to access the "%1$s" dashboard, please contact your network administrator.' ), + __( 'You attempted to access the “%1$s” dashboard, but you do not currently have privileges on this site. If you believe you should be able to access the “%1$s” dashboard, please contact your network administrator.' ), $blog_name ), 403 @@ -584,7 +584,7 @@ function _access_denied_splash() { $output = '

' . sprintf( /* translators: 1: Site title. */ - __( 'You attempted to access the "%1$s" dashboard, but you do not currently have privileges on this site. If you believe you should be able to access the "%1$s" dashboard, please contact your network administrator.' ), + __( 'You attempted to access the “%1$s” dashboard, but you do not currently have privileges on this site. If you believe you should be able to access the “%1$s” dashboard, please contact your network administrator.' ), $blog_name ) . '

'; $output .= '

' . __( 'If you reached this screen by accident and meant to visit one of your own sites, here are some shortcuts to help you find your way.' ) . '

'; diff --git a/src/wp-includes/pluggable.php b/src/wp-includes/pluggable.php index 1dbac5e1d707c..940a8bd457c70 100644 --- a/src/wp-includes/pluggable.php +++ b/src/wp-includes/pluggable.php @@ -1789,7 +1789,7 @@ function wp_notify_postauthor( $comment_id, $deprecated = null ) { switch ( $comment->comment_type ) { case 'trackback': /* translators: %s: Post title. */ - $notify_message = sprintf( __( 'New trackback on your post "%s"' ), $post->post_title ) . "\r\n"; + $notify_message = sprintf( __( 'New trackback on your post “%s”' ), $post->post_title ) . "\r\n"; /* translators: 1: Trackback/pingback website name, 2: Website IP address, 3: Website hostname. */ $notify_message .= sprintf( __( 'Website: %1$s (IP address: %2$s, %3$s)' ), $comment->comment_author, $comment->comment_author_IP, $comment_author_domain ) . "\r\n"; /* translators: %s: Trackback/pingback/comment author URL. */ @@ -1798,12 +1798,12 @@ function wp_notify_postauthor( $comment_id, $deprecated = null ) { $notify_message .= sprintf( __( 'Comment: %s' ), "\r\n" . $comment_content ) . "\r\n\r\n"; $notify_message .= __( 'You can see all trackbacks on this post here:' ) . "\r\n"; /* translators: Trackback notification email subject. 1: Site title, 2: Post title. */ - $subject = sprintf( __( '[%1$s] Trackback: "%2$s"' ), $blogname, $post->post_title ); + $subject = sprintf( __( '[%1$s] Trackback: “%2$s”' ), $blogname, $post->post_title ); break; case 'pingback': /* translators: %s: Post title. */ - $notify_message = sprintf( __( 'New pingback on your post "%s"' ), $post->post_title ) . "\r\n"; + $notify_message = sprintf( __( 'New pingback on your post “%s”' ), $post->post_title ) . "\r\n"; /* translators: 1: Trackback/pingback website name, 2: Website IP address, 3: Website hostname. */ $notify_message .= sprintf( __( 'Website: %1$s (IP address: %2$s, %3$s)' ), $comment->comment_author, $comment->comment_author_IP, $comment_author_domain ) . "\r\n"; /* translators: %s: Trackback/pingback/comment author URL. */ @@ -1812,12 +1812,12 @@ function wp_notify_postauthor( $comment_id, $deprecated = null ) { $notify_message .= sprintf( __( 'Comment: %s' ), "\r\n" . $comment_content ) . "\r\n\r\n"; $notify_message .= __( 'You can see all pingbacks on this post here:' ) . "\r\n"; /* translators: Pingback notification email subject. 1: Site title, 2: Post title. */ - $subject = sprintf( __( '[%1$s] Pingback: "%2$s"' ), $blogname, $post->post_title ); + $subject = sprintf( __( '[%1$s] Pingback: “%2$s”' ), $blogname, $post->post_title ); break; default: // Comments. /* translators: %s: Post title. */ - $notify_message = sprintf( __( 'New comment on your post "%s"' ), $post->post_title ) . "\r\n"; + $notify_message = sprintf( __( 'New comment on your post “%s”' ), $post->post_title ) . "\r\n"; /* translators: 1: Comment author's name, 2: Comment author's IP address, 3: Comment author's hostname. */ $notify_message .= sprintf( __( 'Author: %1$s (IP address: %2$s, %3$s)' ), $comment->comment_author, $comment->comment_author_IP, $comment_author_domain ) . "\r\n"; /* translators: %s: Comment author email. */ @@ -1834,7 +1834,7 @@ function wp_notify_postauthor( $comment_id, $deprecated = null ) { $notify_message .= sprintf( __( 'Comment: %s' ), "\r\n" . $comment_content ) . "\r\n\r\n"; $notify_message .= __( 'You can see all comments on this post here:' ) . "\r\n"; /* translators: Comment notification email subject. 1: Site title, 2: Post title. */ - $subject = sprintf( __( '[%1$s] Comment: "%2$s"' ), $blogname, $post->post_title ); + $subject = sprintf( __( '[%1$s] Comment: “%2$s”' ), $blogname, $post->post_title ); break; } @@ -1977,7 +1977,7 @@ function wp_notify_moderator( $comment_id ) { switch ( $comment->comment_type ) { case 'trackback': /* translators: %s: Post title. */ - $notify_message = sprintf( __( 'A new trackback on the post "%s" is waiting for your approval' ), $post->post_title ) . "\r\n"; + $notify_message = sprintf( __( 'A new trackback on the post “%s” is waiting for your approval' ), $post->post_title ) . "\r\n"; $notify_message .= get_permalink( $comment->comment_post_ID ) . "\r\n\r\n"; /* translators: 1: Trackback/pingback website name, 2: Website IP address, 3: Website hostname. */ $notify_message .= sprintf( __( 'Website: %1$s (IP address: %2$s, %3$s)' ), $comment->comment_author, $comment->comment_author_IP, $comment_author_domain ) . "\r\n"; @@ -1988,7 +1988,7 @@ function wp_notify_moderator( $comment_id ) { case 'pingback': /* translators: %s: Post title. */ - $notify_message = sprintf( __( 'A new pingback on the post "%s" is waiting for your approval' ), $post->post_title ) . "\r\n"; + $notify_message = sprintf( __( 'A new pingback on the post “%s” is waiting for your approval' ), $post->post_title ) . "\r\n"; $notify_message .= get_permalink( $comment->comment_post_ID ) . "\r\n\r\n"; /* translators: 1: Trackback/pingback website name, 2: Website IP address, 3: Website hostname. */ $notify_message .= sprintf( __( 'Website: %1$s (IP address: %2$s, %3$s)' ), $comment->comment_author, $comment->comment_author_IP, $comment_author_domain ) . "\r\n"; @@ -1999,7 +1999,7 @@ function wp_notify_moderator( $comment_id ) { default: // Comments. /* translators: %s: Post title. */ - $notify_message = sprintf( __( 'A new comment on the post "%s" is waiting for your approval' ), $post->post_title ) . "\r\n"; + $notify_message = sprintf( __( 'A new comment on the post “%s” is waiting for your approval' ), $post->post_title ) . "\r\n"; $notify_message .= get_permalink( $comment->comment_post_ID ) . "\r\n\r\n"; /* translators: 1: Comment author's name, 2: Comment author's IP address, 3: Comment author's hostname. */ $notify_message .= sprintf( __( 'Author: %1$s (IP address: %2$s, %3$s)' ), $comment->comment_author, $comment->comment_author_IP, $comment_author_domain ) . "\r\n"; @@ -2044,7 +2044,7 @@ function wp_notify_moderator( $comment_id ) { $notify_message .= admin_url( 'edit-comments.php?comment_status=moderated#wpbody-content' ) . "\r\n"; /* translators: Comment moderation notification email subject. 1: Site title, 2: Post title. */ - $subject = sprintf( __( '[%1$s] Please moderate: "%2$s"' ), $blogname, $post->post_title ); + $subject = sprintf( __( '[%1$s] Please moderate: “%2$s”' ), $blogname, $post->post_title ); /** * Filters the comment moderation email text. diff --git a/src/wp-includes/script-loader.php b/src/wp-includes/script-loader.php index cd2c06e4cc4d3..93e27dffcb909 100644 --- a/src/wp-includes/script-loader.php +++ b/src/wp-includes/script-loader.php @@ -1341,7 +1341,7 @@ function wp_default_scripts( $scripts ) { 'plural' => _n( 'Unable to save due to %s invalid setting.', 'Unable to save due to %s invalid settings.', 2 ), // @todo This is lacking, as some languages have a dedicated dual form. For proper handling of plurals in JS, see #20491. ), - 'scheduleDescription' => __( 'Schedule your customization changes to publish ("go live") at a future date.' ), + 'scheduleDescription' => __( 'Schedule your customization changes to publish (“go live”) at a future date.' ), 'themePreviewUnavailable' => __( 'Sorry, you cannot preview new themes when you have changes scheduled or saved as a draft. Please publish your changes, or wait until they publish to preview new themes.' ), 'themeInstallUnavailable' => sprintf( /* translators: %s: URL to Add Themes admin screen. */ diff --git a/src/wp-includes/theme.php b/src/wp-includes/theme.php index 0727086aee02a..785daf45b0cbf 100644 --- a/src/wp-includes/theme.php +++ b/src/wp-includes/theme.php @@ -736,7 +736,7 @@ function locale_stylesheet() { $type_attr = current_theme_supports( 'html5', 'style' ) ? '' : ' type="text/css"'; printf( - '', + '', $stylesheet, $type_attr ); diff --git a/src/wp-includes/user.php b/src/wp-includes/user.php index ecd22ab38c875..36ee09a7b865d 100644 --- a/src/wp-includes/user.php +++ b/src/wp-includes/user.php @@ -4780,7 +4780,7 @@ function wp_user_request_action_description( $action_name ) { break; default: /* translators: %s: Action name. */ - $description = sprintf( __( 'Confirm the "%s" action' ), $action_name ); + $description = sprintf( __( 'Confirm the “%s” action' ), $action_name ); break; }