Making WordPress.org


Ignore:
Timestamp:
09/02/2016 08:11:53 PM (10 years ago)
Author:
coffee2code
Message:

Theme Directory: Update ratings widget links to point to the new theme reviews forum URL.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-themes/view-templates/theme-single.php

    r2297 r3930  
    9292                                                <?php foreach ( range( 5, 1 ) as $stars ) : ?>
    9393                                                <li class="counter-container">
    94                                                         <a href="//wordpress.org/support/view/theme-reviews/{{ data.id }}?filter=<?php echo $stars; ?>" title="<?php echo esc_attr( sprintf( _n( 'Click to see reviews that provided a rating of %d star', 'Click to see reviews that provided a rating of %d stars', $stars, 'wporg-themes' ), $stars ) ); ?>">
     94                                                        <a href="//wordpress.org/support/theme/{{ data.id }}/reviews/?filter=<?php echo $stars; ?>" title="<?php echo esc_attr( sprintf( _n( 'Click to see reviews that provided a rating of %d star', 'Click to see reviews that provided a rating of %d stars', $stars, 'wporg-themes' ), $stars ) ); ?>">
    9595                                                                <span class="counter-label"><?php printf( _n( '%d star', '%d stars', $stars, 'wporg-themes' ), $stars ); ?></span>
    9696                                                                <span class="counter-back">
     
    104104                                        <# } #>
    105105
    106                                         <a class="button button-secondary" href="https://wordpress.org/support/view/theme-reviews/{{ data.id }}#postform"><?php _e( 'Add your review', 'wporg-themes' ); ?></a>
     106                                        <a class="button button-secondary" href="https://wordpress.org/support/theme/{{ data.id }}/reviews/#new-post"><?php _e( 'Add your review', 'wporg-themes' ); ?></a>
    107107                                </div><!-- .theme-rating -->
    108108
Note: See TracChangeset for help on using the changeset viewer.