Making WordPress.org


Ignore:
Timestamp:
09/02/2016 10:28:12 PM (10 years ago)
Author:
coffee2code
Message:

Plugin Directory: Update ratings widget links (in theme) to point to the new plugin reviews forum URL.

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  
    1010                return (
    1111                        <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>
    1313
    1414                                <PluginRatings rating={ this.props.plugin.rating } ratingCount={ this.props.plugin.num_ratings } />
     
    2020                                                return (
    2121                                                        <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 }` }>
    2323                                                                        <span className="counter-label">{ stars > 1 ? `${ stars } stars` : `${ stars } star` }</span>
    2424                                                                        <span className="counter-back">
     
    4545                                }
    4646                                <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>
    4848                                </div>
    4949                        </div>
Note: See TracChangeset for help on using the changeset viewer.