Use correct links for filtering plugin reviews.
props OriginalEXE. fixes #29754. git-svn-id: https://develop.svn.wordpress.org/trunk@29826 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
990f01f81f
commit
3d0f4d9656
@ -454,7 +454,8 @@ function install_plugin_information() {
|
||||
$_rating = $api->num_ratings ? ( $ratecount / $api->num_ratings ) : 0;
|
||||
?>
|
||||
<div class="counter-container">
|
||||
<a href="<?php echo esc_url( self_admin_url( 'plugin-install.php?tab=plugin-information&plugin=' . $api->slug . '&section=reviews' ) ); ?>"
|
||||
<a href="https://wordpress.org/support/view/plugin-reviews/<?php echo $api->slug; ?>?filter=<?php echo $key; ?>"
|
||||
target="_blank"
|
||||
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 ) ); ?>">
|
||||
<span class="counter-label"><?php printf( _n( '%d star', '%d stars', $key ), $key ); ?></span>
|
||||
<span class="counter-back">
|
||||
|
Loading…
Reference in New Issue
Block a user