Changeset 48111
- Timestamp:
- 06/20/2020 01:16:45 PM (4 years ago)
- Location:
- trunk/src
- Files:
-
- 11 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-admin/customize.php
r47816 r48111 220 220 <?php 221 221 /* translators: %s: The site/panel title in the Customizer. */ 222 echo sprintf( __( 'You are customizing %s' ), '<strong class="panel-title site-title">' . get_bloginfo( 'name', 'display' ) . '</strong>' );222 printf( __( 'You are customizing %s' ), '<strong class="panel-title site-title">' . get_bloginfo( 'name', 'display' ) . '</strong>' ); 223 223 ?> 224 224 </span> -
trunk/src/wp-admin/maint/repair.php
r47808 r48111 112 112 } else { 113 113 /* translators: 1: Table name, 2: Error message. */ 114 echo sprintf( __( 'Failed to repair the %1$s table. Error: %2$s' ), "<code>$table</code>", "<code>$check->Msg_text</code>" ) . '<br />';114 printf( __( 'Failed to repair the %1$s table. Error: %2$s' ), "<code>$table</code>", "<code>$check->Msg_text</code>" ) . '<br />'; 115 115 $problems[ $table ] = $check->Msg_text; 116 116 $okay = false; -
trunk/src/wp-admin/network/sites.php
r47855 r48111 118 118 <input type="hidden" name="_wp_http_referer" value="<?php echo esc_attr( wp_get_referer() ); ?>" /> 119 119 <?php wp_nonce_field( $site_action . '_' . $id, '_wpnonce', false ); ?> 120 <p><?php echo sprintf( $manage_actions[ $site_action ], $site_address ); ?></p>120 <p><?php printf( $manage_actions[ $site_action ], $site_address ); ?></p> 121 121 <?php submit_button( __( 'Confirm' ), 'primary' ); ?> 122 122 </form> -
trunk/src/wp-admin/plugin-editor.php
r47894 r48111 198 198 if ( is_writeable( $real_file ) ) { 199 199 /* translators: %s: Plugin file name. */ 200 echo sprintf( __( 'Editing %s (active)' ), '<strong>' . esc_html( $file ) . '</strong>' );200 printf( __( 'Editing %s (active)' ), '<strong>' . esc_html( $file ) . '</strong>' ); 201 201 } else { 202 202 /* translators: %s: Plugin file name. */ 203 echo sprintf( __( 'Browsing %s (active)' ), '<strong>' . esc_html( $file ) . '</strong>' );203 printf( __( 'Browsing %s (active)' ), '<strong>' . esc_html( $file ) . '</strong>' ); 204 204 } 205 205 } else { 206 206 if ( is_writeable( $real_file ) ) { 207 207 /* translators: %s: Plugin file name. */ 208 echo sprintf( __( 'Editing %s (inactive)' ), '<strong>' . esc_html( $file ) . '</strong>' );208 printf( __( 'Editing %s (inactive)' ), '<strong>' . esc_html( $file ) . '</strong>' ); 209 209 } else { 210 210 /* translators: %s: Plugin file name. */ 211 echo sprintf( __( 'Browsing %s (inactive)' ), '<strong>' . esc_html( $file ) . '</strong>' );211 printf( __( 'Browsing %s (inactive)' ), '<strong>' . esc_html( $file ) . '</strong>' ); 212 212 } 213 213 } -
trunk/src/wp-admin/theme-editor.php
r47855 r48111 201 201 <p> 202 202 <?php 203 echo sprintf(203 printf( 204 204 /* translators: %s: Link to Custom CSS section in the Customizer. */ 205 205 __( 'There’s no need to change your CSS here — you can edit and live preview CSS changes in the <a href="%s">built-in CSS editor</a>.' ), … … 363 363 if ( ! $theme->parent() ) { 364 364 echo '<p>'; 365 echo sprintf(365 printf( 366 366 /* translators: %s: Link to documentation on child themes. */ 367 367 __( 'If you need to tweak more than your theme’s CSS, you might want to try <a href="%s">making a child theme</a>.' ), -
trunk/src/wp-admin/theme-install.php
r47924 r48111 392 392 <?php 393 393 /* translators: %s: Number of ratings. */ 394 echo sprintf( __( '(%s ratings)' ), '{{ data.num_ratings }}' );394 printf( __( '(%s ratings)' ), '{{ data.num_ratings }}' ); 395 395 ?> 396 396 </a> -
trunk/src/wp-includes/class-wp-customize-panel.php
r47387 r48111 372 372 <?php 373 373 /* translators: %s: The site/panel title in the Customizer. */ 374 echo sprintf( __( 'You are customizing %s' ), '<strong class="panel-title">{{ data.title }}</strong>' );374 printf( __( 'You are customizing %s' ), '<strong class="panel-title">{{ data.title }}</strong>' ); 375 375 ?> 376 376 </span> -
trunk/src/wp-includes/class-wp-customize-widgets.php
r48110 r48111 825 825 <?php 826 826 /* translators: ▸ is the unicode right-pointing triangle. %s: Section title in the Customizer. */ 827 echo sprintf( __( 'Customizing ▸ %s' ), esc_html( $this->manager->get_panel( 'widgets' )->title ) );827 printf( __( 'Customizing ▸ %s' ), esc_html( $this->manager->get_panel( 'widgets' )->title ) ); 828 828 ?> 829 829 </span> -
trunk/src/wp-includes/customize/class-wp-customize-selective-refresh.php
r47383 r48111 209 209 210 210 // Export data to JS. 211 echo sprintf( '<script>var _customizePartialRefreshExports = %s;</script>', wp_json_encode( $exports ) );211 printf( '<script>var _customizePartialRefreshExports = %s;</script>', wp_json_encode( $exports ) ); 212 212 } 213 213 -
trunk/src/wp-includes/customize/class-wp-customize-themes-section.php
r47794 r48111 150 150 <?php 151 151 /* translators: %s: Number of themes displayed. */ 152 echo sprintf( __( '%s themes' ), '<span class="theme-count">0</span>' );152 printf( __( '%s themes' ), '<span class="theme-count">0</span>' ); 153 153 ?> 154 154 </span> -
trunk/src/wp-includes/widgets/class-wp-widget-categories.php
r48109 r48111 67 67 68 68 if ( $dropdown ) { 69 echo sprintf( '<form action="%s" method="get">', esc_url( home_url() ) );69 printf( '<form action="%s" method="get">', esc_url( home_url() ) ); 70 70 $dropdown_id = ( $first_dropdown ) ? 'cat' : "{$this->id_base}-dropdown-{$this->number}"; 71 71 $first_dropdown = false;
Note: See TracChangeset
for help on using the changeset viewer.