Make WordPress Core

Ticket #44360: 44360.custom-background.php.diff

File 44360.custom-background.php.diff, 1.4 KB (added by priyankkpatel, 5 years ago)

Patch for wp-admin/custom-background.php

  • src/wp-admin/custom-background.php

     src/wp-admin/custom-background.php | 4 +++-
     1 file changed, 3 insertions(+), 1 deletion(-)
    
    diff --git a/src/wp-admin/custom-background.php b/src/wp-admin/custom-background.php
    index ce37b5301e..3576cb22e9 100644
    a b class Custom_Background { 
    230230        <p>
    231231                        <?php
    232232                                printf(
     233                                        /* translators: 1: link to customize.php */
    233234                                        __( 'You can now manage and live-preview Custom Backgrounds in the <a href="%1$s">Customizer</a>.' ),
    234235                                        admin_url( 'customize.php?autofocus[control]=background_image' )
    235236                                );
    class Custom_Background { 
    240241
    241242                <?php if ( ! empty( $this->updated ) ) { ?>
    242243<div id="message" class="updated">
    243 <p><?php printf( __( 'Background updated. <a href="%s">Visit your site</a> to see how it looks.' ), home_url( '/' ) ); ?></p>
     244<p><?php /* translators: %s: link to Home Page */printf( __( 'Background updated. <a href="%s">Visit your site</a> to see how it looks.' ), home_url( '/' ) ); ?></p>
    244245</div>
    245246                <?php } ?>
    246247
    class Custom_Background { 
    347348
    348349                        <?php
    349350                        $background_position = sprintf(
     351                                /* translators: 1: background position x 2: background position y */
    350352                                '%s %s',
    351353                                get_theme_mod( 'background_position_x', get_theme_support( 'custom-background', 'default-position-x' ) ),
    352354                                get_theme_mod( 'background_position_y', get_theme_support( 'custom-background', 'default-position-y' ) )