Make WordPress Core

Ticket #35675: 35675.patch

File 35675.patch, 1.4 KB (added by ramiy, 10 years ago)
  • wp-admin/custom-header.php

     
    533533        }
    534534        if ( current_theme_supports( 'custom-header', 'flex-height' ) || current_theme_supports( 'custom-header', 'flex-width' ) ) {
    535535                if ( current_theme_supports( 'custom-header', 'width' ) )
    536                         printf( __( 'Suggested width is <strong>%1$d pixels</strong>.' ) . ' ', get_theme_support( 'custom-header', 'width' ) );
     536                        printf(
     537                                /* translators: %s: size in pixels */
     538                                __( 'Suggested width is %s.' ) . ' ',
     539                                sprintf(
     540                                        /* translators: %d: custom header width */
     541                                        '<strong>' . __( '%d pixels' ) . '</strong>',
     542                                        get_theme_support( 'custom-header', 'width' )
     543                                )
     544                        );
    537545                if ( current_theme_supports( 'custom-header', 'height' ) )
    538                         printf( __( 'Suggested height is <strong>%1$d pixels</strong>.' ) . ' ', get_theme_support( 'custom-header', 'height' ) );
     546                        printf(
     547                                /* translators: %s: size in pixels */
     548                                __( 'Suggested height is %s.' ) . ' ',
     549                                sprintf(
     550                                        /* translators: %d: custom header height */
     551                                        '<strong>' . __( '%d pixels' ) . '</strong>',
     552                                        get_theme_support( 'custom-header', 'height' )
     553                                )
     554                        );
    539555        }
    540556        ?></p>
    541557        <form enctype="multipart/form-data" id="upload-form" class="wp-upload-form" method="post" action="<?php echo esc_url( add_query_arg( 'step', 2 ) ) ?>">