Changeset 3936 for sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-plugins/client/components/widget-area/widgets/ratings/index.jsx
- Timestamp:
- 09/02/2016 10:28:12 PM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-plugins/client/components/widget-area/widgets/ratings/index.jsx
r3867 r3936 10 10 return ( 11 11 <div> 12 <a className="reviews-link" href={ `https://wordpress.org/support/ view/plugin-reviews/${ this.props.plugin.slug }` }>See all</a>12 <a className="reviews-link" href={ `https://wordpress.org/support/plugin/${ this.props.plugin.slug }/reviews/` }>See all</a> 13 13 14 14 <PluginRatings rating={ this.props.plugin.rating } ratingCount={ this.props.plugin.num_ratings } /> … … 20 20 return ( 21 21 <li className="counter-container"> 22 <a href={ `https://wordpress.org/support/ view/plugin-reviews/${ this.props.plugin.slug }?filter=${ stars }` }>22 <a href={ `https://wordpress.org/support/plugin/${ this.props.plugin.slug }/reviews/?filter=${ stars }` }> 23 23 <span className="counter-label">{ stars > 1 ? `${ stars } stars` : `${ stars } star` }</span> 24 24 <span className="counter-back"> … … 45 45 } 46 46 <div className="user-rating"> 47 <a className="button button-secondary" href={ `https://wordpress.org/support/ view/plugin-reviews/${ this.props.plugin.slug }#postform` }>Add my review</a>47 <a className="button button-secondary" href={ `https://wordpress.org/support/plugin/${ this.props.plugin.slug }/reviews/#new-post` }>Add my review</a> 48 48 </div> 49 49 </div>
Note: See TracChangeset
for help on using the changeset viewer.