mirror of
https://github.com/WordPress/WordPress.git
synced 2025-02-08 16:41:44 +01:00
I18N: Allow for WordPress Plugin Directory URL in plugin details modal to be localized.
Props Soean. Fixes #38495. See #37501. Built from https://develop.svn.wordpress.org/trunk@38953 git-svn-id: http://core.svn.wordpress.org/trunk@38896 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
946da2d398
commit
4bd54798ec
@ -574,7 +574,7 @@ function install_plugin_information() {
|
|||||||
}
|
}
|
||||||
?></li>
|
?></li>
|
||||||
<?php } if ( ! empty( $api->slug ) && empty( $api->external ) ) { ?>
|
<?php } if ( ! empty( $api->slug ) && empty( $api->external ) ) { ?>
|
||||||
<li><a target="_blank" href="https://wordpress.org/plugins/<?php echo $api->slug; ?>/"><?php _e( 'WordPress.org Plugin Page »' ); ?></a></li>
|
<li><a target="_blank" href="<?php echo __( 'https://wordpress.org/plugins/' ) . $api->slug; ?>/"><?php _e( 'WordPress.org Plugin Page »' ); ?></a></li>
|
||||||
<?php } if ( ! empty( $api->homepage ) ) { ?>
|
<?php } if ( ! empty( $api->homepage ) ) { ?>
|
||||||
<li><a target="_blank" href="<?php echo esc_url( $api->homepage ); ?>"><?php _e( 'Plugin Homepage »' ); ?></a></li>
|
<li><a target="_blank" href="<?php echo esc_url( $api->homepage ); ?>"><?php _e( 'Plugin Homepage »' ); ?></a></li>
|
||||||
<?php } if ( ! empty( $api->donate_link ) && empty( $api->contributors ) ) { ?>
|
<?php } if ( ! empty( $api->donate_link ) && empty( $api->contributors ) ) { ?>
|
||||||
|
@ -4,7 +4,7 @@
|
|||||||
*
|
*
|
||||||
* @global string $wp_version
|
* @global string $wp_version
|
||||||
*/
|
*/
|
||||||
$wp_version = '4.7-alpha-38952';
|
$wp_version = '4.7-alpha-38953';
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* 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
Block a user