Make WordPress Core

Ticket #28749: num_ratings.patch

File num_ratings.patch, 692 bytes (added by Corphi, 11 years ago)
  • src/wp-admin/includes/class-wp-theme-install-list-table.php

     
    350350                $name   = wp_kses( $theme->name,   $themes_allowedtags );
    351351                $author = wp_kses( $theme->author, $themes_allowedtags );
    352352
    353                 $num_ratings = sprintf( _n( '(based on %s rating)', '(based on %s ratings)', $theme->num_ratings ), number_format_i18n( $theme->num_ratings ) );
    354 
    355353                $install_url = add_query_arg( array(
    356354                        'action' => 'install-theme',
    357355                        'theme'  => $theme->slug,