Coding Standards: Improve spacing of printf() calls in the admin About pages.

Props garrett-eclipse.
Fixes #47734.



git-svn-id: https://develop.svn.wordpress.org/trunk@45660 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Gary Pendergast
2019-07-19 00:08:38 +00:00
parent 6ec230ac18
commit 8cf3e59fc4
4 changed files with 66 additions and 25 deletions
+20 -8
View File
@@ -19,8 +19,11 @@ include( ABSPATH . 'wp-admin/admin-header.php' );
<h1>
<?php
/* translators: %s: The current WordPress version number */
printf( __( 'Welcome to WordPress&nbsp;%s' ), $display_version );
printf(
/* translators: %s: The current WordPress version number */
__( 'Welcome to WordPress&nbsp;%s' ),
$display_version
);
?>
</h1>
@@ -36,8 +39,11 @@ include( ABSPATH . 'wp-admin/admin-header.php' );
<div class="wp-badge">
<?php
/* translators: %s: The current WordPress version number */
printf( __( 'Version %s' ), $display_version );
printf(
/* translators: %s: The current WordPress version number */
__( 'Version %s' ),
$display_version
);
?>
</div>
@@ -53,15 +59,21 @@ include( ABSPATH . 'wp-admin/admin-header.php' );
<p>
<?php
/* translators: %s: https://wordpress.org/about/stats/ */
printf( __( 'This data is used to provide general enhancements to WordPress, which includes helping to protect your site by finding and automatically installing new updates. It is also used to calculate statistics, such as those shown on the <a href="%s">WordPress.org stats page</a>.' ), __( 'https://wordpress.org/about/stats/' ) );
printf(
/* translators: %s: https://wordpress.org/about/stats/ */
__( 'This data is used to provide general enhancements to WordPress, which includes helping to protect your site by finding and automatically installing new updates. It is also used to calculate statistics, such as those shown on the <a href="%s">WordPress.org stats page</a>.' ),
__( 'https://wordpress.org/about/stats/' )
);
?>
</p>
<p>
<?php
/* translators: %s: https://wordpress.org/about/privacy/ */
printf( __( 'We take privacy and transparency very seriously. To learn more about what data we collect, and how we use it, please visit <a href="%s">WordPress.org/about/privacy</a>.' ), __( 'https://wordpress.org/about/privacy/' ) );
printf(
/* translators: %s: https://wordpress.org/about/privacy/ */
__( 'We take privacy and transparency very seriously. To learn more about what data we collect, and how we use it, please visit <a href="%s">WordPress.org/about/privacy</a>.' ),
__( 'https://wordpress.org/about/privacy/' )
);
?>
</p>
</div>