Make WordPress Core

Ticket #36395: 36395.patch

File 36395.patch, 1.4 KB (added by ocean90, 9 years ago)
  • src/wp-admin/includes/plugin-install.php

     
    310310                        <label for="user"><?php _e( 'Your WordPress.org username:' ); ?></label>
    311311                        <input type="search" id="user" name="user" value="<?php echo esc_attr( $user ); ?>" />
    312312                        <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 ) ); ?>" />
    314314                </p>
    315315        </form>
    316316        <?php
     
    585585                                // Avoid div-by-zero.
    586586                                $_rating = $api->num_ratings ? ( $ratecount / $api->num_ratings ) : 0;
    587587                                /* 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 ),
    589589                                        $key,
    590590                                        number_format_i18n( $ratecount )
    591591                                ) );