mirror of
git://develop.git.wordpress.org/
synced 2025-03-18 19:09:47 +01:00
I18N: Allow for WordPress Plugin Directory URL in plugin details modal to be localized.
Props Soean. Fixes #38495. See #37501. git-svn-id: https://develop.svn.wordpress.org/trunk@38953 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
36e260f1b5
commit
4f033e5487
@ -574,7 +574,7 @@ function install_plugin_information() {
|
||||
}
|
||||
?></li>
|
||||
<?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 ) ) { ?>
|
||||
<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 ) ) { ?>
|
||||
|
Loading…
x
Reference in New Issue
Block a user