Make WordPress Core


Ignore:
Timestamp:
03/21/2019 10:01:42 PM (8 years ago)
Author:
SergeyBiryukov
Message:

Customize: Add a link to theme reviews in the theme details modal in the Customizer and on Add Themes screen.

Props celloexpressions, Travel_girl, Ixium, marco-peralta, dd32.
Fixes #36612.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-admin/theme-install.php

    r43571 r44975  
    336336                                                        <div class="theme-rating">
    337337                                                                {{{ data.stars }}}
    338                                                                 <span class="num-ratings">({{ data.num_ratings }})</span>
     338                                                                <a class="num-ratings" href="{{ data.reviews_url }}">
     339                                                                        <?php
     340                                                                        /* translators: %s: number of ratings */
     341                                                                        echo sprintf( __( '(%s ratings)' ), '{{ data.num_ratings }}' );
     342                                                                        ?>
     343                                                                </a>
    339344                                                        </div>
    340345                                                <# } else { #>
Note: See TracChangeset for help on using the changeset viewer.