Use correct links for filtering plugin reviews.
props OriginalEXE. fixes #29754. Built from https://develop.svn.wordpress.org/trunk@29826 git-svn-id: http://core.svn.wordpress.org/trunk@29591 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
7dde12f0ba
commit
e59c624ef6
|
@ -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