Making WordPress.org

Changeset 6001


Ignore:
Timestamp:
10/04/2017 07:57:23 PM (7 years ago)
Author:
ocean90
Message:

Plugin Directory: Use number_format_i18n() for ratings count.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • sites/trunk/wordpress.org/public_html/wp-content/plugins/plugin-directory/class-template.php

    r5718 r6001  
    224224                        /* translators: 1: number of ratings */
    225225                        __( '%1$s<span class="screen-reader-text"> total ratings</span>', 'wporg-plugins' ),
    226                         esc_html( $num_ratings )
     226                        number_format_i18n( $num_ratings )
    227227                    ) .
    228228                '</a>' .
     
    662662
    663663            // get subdomain/locale associations
    664             $subdomains = $wpdb->get_results( 'SELECT locale, subdomain FROM locales', OBJECT_K ); 
     664            $subdomains = $wpdb->get_results( 'SELECT locale, subdomain FROM locales', OBJECT_K );
    665665
    666666            $sites = Plugin_I18n::instance()->get_locales();
Note: See TracChangeset for help on using the changeset viewer.