Changeset 36658
- Timestamp:
- 02/23/2016 11:42:59 PM (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-admin/custom-header.php
r36539 r36658 527 527 } elseif ( current_theme_supports( 'custom-header', 'flex-height' ) ) { 528 528 if ( ! current_theme_supports( 'custom-header', 'flex-width' ) ) 529 printf( __( 'Images should be at least <strong>%1$d pixels</strong> wide.' ) . ' ', get_theme_support( 'custom-header', 'width' ) ); 529 printf( 530 /* translators: %s: size in pixels */ 531 __( 'Images should be at least %s wide.' ) . ' ', 532 sprintf( 533 /* translators: %d: custom header width */ 534 '<strong>' . __( '%d pixels' ) . '</strong>', 535 get_theme_support( 'custom-header', 'width' ) 536 ) 537 ); 530 538 } elseif ( current_theme_supports( 'custom-header', 'flex-width' ) ) { 531 539 if ( ! current_theme_supports( 'custom-header', 'flex-height' ) ) 532 printf( __( 'Images should be at least <strong>%1$d pixels</strong> tall.' ) . ' ', get_theme_support( 'custom-header', 'height' ) ); 540 printf( 541 /* translators: %s: size in pixels */ 542 __( 'Images should be at least %s tall.' ) . ' ', 543 sprintf( 544 /* translators: %d: custom header height */ 545 '<strong>' . __( '%d pixels' ) . '</strong>', 546 get_theme_support( 'custom-header', 'height' ) 547 ) 548 ); 533 549 } 534 550 if ( current_theme_supports( 'custom-header', 'flex-height' ) || current_theme_supports( 'custom-header', 'flex-width' ) ) { 535 551 if ( current_theme_supports( 'custom-header', 'width' ) ) 536 printf( __( 'Suggested width is <strong>%1$d pixels</strong>.' ) . ' ', get_theme_support( 'custom-header', 'width' ) ); 552 printf( 553 /* translators: %s: size in pixels */ 554 __( 'Suggested width is %s.' ) . ' ', 555 sprintf( 556 /* translators: %d: custom header width */ 557 '<strong>' . __( '%d pixels' ) . '</strong>', 558 get_theme_support( 'custom-header', 'width' ) 559 ) 560 ); 537 561 if ( current_theme_supports( 'custom-header', 'height' ) ) 538 printf( __( 'Suggested height is <strong>%1$d pixels</strong>.' ) . ' ', get_theme_support( 'custom-header', 'height' ) ); 562 printf( 563 /* translators: %s: size in pixels */ 564 __( 'Suggested height is %s.' ) . ' ', 565 sprintf( 566 /* translators: %d: custom header height */ 567 '<strong>' . __( '%d pixels' ) . '</strong>', 568 get_theme_support( 'custom-header', 'height' ) 569 ) 570 ); 539 571 } 540 572 ?></p>
Note: See TracChangeset
for help on using the changeset viewer.