Ticket #36395: 36395.patch
File 36395.patch, 1.4 KB (added by , 9 years ago) |
---|
-
src/wp-admin/includes/plugin-install.php
310 310 <label for="user"><?php _e( 'Your WordPress.org username:' ); ?></label> 311 311 <input type="search" id="user" name="user" value="<?php echo esc_attr( $user ); ?>" /> 312 312 <input type="submit" class="button" value="<?php esc_attr_e( 'Get Favorites' ); ?>" /> 313 <input type="hidden" id="wporg-username-nonce" name="_wpnonce" value="<?php echo esc_attr( wp_create_nonce( $action ) ); ?>" /> 313 <input type="hidden" id="wporg-username-nonce" name="_wpnonce" value="<?php echo esc_attr( wp_create_nonce( $action ) ); ?>" /> 314 314 </p> 315 315 </form> 316 316 <?php … … 585 585 // Avoid div-by-zero. 586 586 $_rating = $api->num_ratings ? ( $ratecount / $api->num_ratings ) : 0; 587 587 /* translators: 1: number of stars, 2: number of reviews */ 588 $aria_label = esc_attr( sprintf( _n( 'Reviews with %1$d star: %2$ d. Opens in a new window.', 'Reviews with %1$d stars: %2$d. Opens in a new window.', $key ),588 $aria_label = esc_attr( sprintf( _n( 'Reviews with %1$d star: %2$s. Opens in a new window.', 'Reviews with %1$d stars: %2$s. Opens in a new window.', $key ), 589 589 $key, 590 590 number_format_i18n( $ratecount ) 591 591 ) );