Ticket #21919: 21919.diff
File 21919.diff, 663 bytes (added by , 10 years ago) |
---|
-
src/wp-admin/includes/ajax-actions.php
2528 2528 $theme->version = wp_kses( $theme->version, $themes_allowedtags ); 2529 2529 $theme->description = wp_kses( $theme->description, $themes_allowedtags ); 2530 2530 $theme->num_ratings = sprintf( _n( '(based on %s rating)', '(based on %s ratings)', $theme->num_ratings ), number_format_i18n( $theme->num_ratings ) ); 2531 $theme->preview_url = set_url_scheme( $theme->preview_url ); 2531 2532 } 2532 2533 2533 2534 wp_send_json_success( $api );