Changeset 3935 for sites/trunk/wordpress.org/public_html/wp-content/plugins/plugin-directory/widgets/class-ratings.php
- Timestamp:
- 09/02/2016 10:08:01 PM (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sites/trunk/wordpress.org/public_html/wp-content/plugins/plugin-directory/widgets/class-ratings.php
r3517 r3935 40 40 41 41 <?php if ( $rating ) : ?> 42 <a class="reviews-link" href="<?php echo esc_url( 'https://wordpress.org/support/ view/plugin-reviews/' . $post->post_name); ?>"><?php _ex( 'See all', 'reviews', 'wporg-plugins' ); ?></a>42 <a class="reviews-link" href="<?php echo esc_url( 'https://wordpress.org/support/plugin/' . $post->post_name . '/reviews/' ); ?>"><?php _ex( 'See all', 'reviews', 'wporg-plugins' ); ?></a> 43 43 44 44 <div class="rating"> … … 52 52 ?> 53 53 <li class="counter-container"> 54 <a href="<?php echo esc_url( 'https://wordpress.org/support/ view/plugin-reviews/' . $post->post_name . '?filter=' . $stars ); ?>">54 <a href="<?php echo esc_url( 'https://wordpress.org/support/plugin/' . $post->post_name . '/reviews/?filter=' . $stars ); ?>"> 55 55 <span class="counter-label"><?php printf( _n( '%d star', '%d stars', $stars, 'wporg-plugin' ), $stars ); ?></span> 56 56 <span class="counter-back"> … … 73 73 if ( is_user_logged_in() ) : ?> 74 74 <div class="user-rating"> 75 <a class="button button-secondary" href="<?php echo esc_url( 'https://wordpress.org/support/ view/plugin-reviews/' . $post->post_name . '#postform' ); ?>"><?php _e( 'Add my review', 'wporg-plugins' ); ?></a>75 <a class="button button-secondary" href="<?php echo esc_url( 'https://wordpress.org/support/plugin/' . $post->post_name . '/reviews/#new-post' ); ?>"><?php _e( 'Add my review', 'wporg-plugins' ); ?></a> 76 76 </div> 77 77 <?php
Note: See TracChangeset
for help on using the changeset viewer.