Plugins: Update review filter links in Details modal.
Props darko-a7, afercia. Fixes #43016. See #meta3379. Built from https://develop.svn.wordpress.org/trunk@42459 git-svn-id: http://core.svn.wordpress.org/trunk@42288 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
589395347a
commit
bee0136037
|
@ -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">
|
||||||
|
|
|
@ -4,7 +4,7 @@
|
||||||
*
|
*
|
||||||
* @global string $wp_version
|
* @global string $wp_version
|
||||||
*/
|
*/
|
||||||
$wp_version = '5.0-alpha-42457';
|
$wp_version = '5.0-alpha-42459';
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.
|
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.
|
||||||
|
|
Loading…
Reference in New Issue