WordPress.org

Make WordPress Core


Ignore:
Timestamp:
07/19/2019 12:08:38 AM (12 months ago)
Author:
pento
Message:

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

Props garrett-eclipse.
Fixes #47734.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-admin/privacy.php

    r45659 r45660  
    2020<h1>
    2121    <?php
    22     /* translators: %s: The current WordPress version number */
    23     printf( __( 'Welcome to WordPress&nbsp;%s' ), $display_version );
     22    printf(
     23        /* translators: %s: The current WordPress version number */
     24        __( 'Welcome to WordPress&nbsp;%s' ),
     25        $display_version
     26    );
    2427    ?>
    2528</h1>
     
    3740<div class="wp-badge">
    3841    <?php
    39     /* translators: %s: The current WordPress version number */
    40     printf( __( 'Version %s' ), $display_version );
     42    printf(
     43        /* translators: %s: The current WordPress version number */
     44        __( 'Version %s' ),
     45        $display_version
     46    );
    4147    ?>
    4248</div>
     
    5460    <p>
    5561        <?php
    56         /* translators: %s: https://wordpress.org/about/stats/ */
    57         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/' ) );
     62        printf(
     63            /* translators: %s: https://wordpress.org/about/stats/ */
     64            __( '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>.' ),
     65            __( 'https://wordpress.org/about/stats/' )
     66        );
    5867        ?>
    5968    </p>
     
    6170    <p>
    6271        <?php
    63         /* translators: %s: https://wordpress.org/about/privacy/ */
    64         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/' ) );
     72        printf(
     73            /* translators: %s: https://wordpress.org/about/privacy/ */
     74            __( '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>.' ),
     75            __( 'https://wordpress.org/about/privacy/' )
     76        );
    6577        ?>
    6678    </p>
Note: See TracChangeset for help on using the changeset viewer.