Make WordPress Core


Ignore:
Timestamp:
10/03/2014 08:08:27 AM (11 years ago)
Author:
SergeyBiryukov
Message:

Use correct links for filtering plugin reviews.

props OriginalEXE.
fixes #29754.

File:
1 edited

Legend:

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

    r29636 r29826  
    455455                ?>
    456456                <div class="counter-container">
    457                     <a href="<?php echo esc_url( self_admin_url( 'plugin-install.php?tab=plugin-information&amp;plugin=' . $api->slug . '&amp;section=reviews' ) ); ?>"
     457                    <a href="https://wordpress.org/support/view/plugin-reviews/<?php echo $api->slug; ?>?filter=<?php echo $key; ?>"
     458                       target="_blank"
    458459                       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', $key ), $key ) ); ?>">
    459460                        <span class="counter-label"><?php printf( _n( '%d star', '%d stars', $key ), $key ); ?></span>
Note: See TracChangeset for help on using the changeset viewer.