Plugins: Update review filter links in Details modal.
Props darko-a7, afercia. Fixes #43016. See #meta3379. git-svn-id: https://develop.svn.wordpress.org/trunk@42459 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
31ce230c58
commit
842b3a2378
@ -638,7 +638,7 @@ function install_plugin_information() {
|
|||||||
<?php } if ( ! empty( $api->tested ) ) { ?>
|
<?php } if ( ! empty( $api->tested ) ) { ?>
|
||||||
<li><strong><?php _e( 'Compatible up to:' ); ?></strong> <?php echo $api->tested; ?></li>
|
<li><strong><?php _e( 'Compatible up to:' ); ?></strong> <?php echo $api->tested; ?></li>
|
||||||
<?php } if ( isset( $api->active_installs ) ) { ?>
|
<?php } if ( isset( $api->active_installs ) ) { ?>
|
||||||
<li><strong><?php _e( 'Active Installations:' ); ?></strong>
|
<li><strong><?php _e( 'Active Installations:' ); ?></strong>
|
||||||
<?php
|
<?php
|
||||||
if ( $api->active_installs >= 1000000 ) {
|
if ( $api->active_installs >= 1000000 ) {
|
||||||
_ex( '1+ Million', 'Active plugin installations' );
|
_ex( '1+ Million', 'Active plugin installations' );
|
||||||
@ -691,7 +691,7 @@ if ( ! empty( $api->ratings ) && array_sum( (array) $api->ratings ) > 0 ) {
|
|||||||
?>
|
?>
|
||||||
<div class="counter-container">
|
<div class="counter-container">
|
||||||
<span class="counter-label">
|
<span class="counter-label">
|
||||||
<a href="https://wordpress.org/support/view/plugin-reviews/<?php echo $api->slug; ?>?filter=<?php echo $key; ?>"
|
<a href="https://wordpress.org/support/plugin/<?php echo $api->slug; ?>/reviews/?filter=<?php echo $key; ?>"
|
||||||
target="_blank" aria-label="<?php echo $aria_label; ?>"><?php printf( _n( '%d star', '%d stars', $key ), $key ); ?></a>
|
target="_blank" aria-label="<?php echo $aria_label; ?>"><?php printf( _n( '%d star', '%d stars', $key ), $key ); ?></a>
|
||||||
</span>
|
</span>
|
||||||
<span class="counter-back">
|
<span class="counter-back">
|
||||||
|
Loading…
Reference in New Issue
Block a user