Ticket #28749: num_ratings.patch
File num_ratings.patch, 692 bytes (added by , 11 years ago) |
---|
-
src/wp-admin/includes/class-wp-theme-install-list-table.php
350 350 $name = wp_kses( $theme->name, $themes_allowedtags ); 351 351 $author = wp_kses( $theme->author, $themes_allowedtags ); 352 352 353 $num_ratings = sprintf( _n( '(based on %s rating)', '(based on %s ratings)', $theme->num_ratings ), number_format_i18n( $theme->num_ratings ) );354 355 353 $install_url = add_query_arg( array( 356 354 'action' => 'install-theme', 357 355 'theme' => $theme->slug,