mirror of
git://develop.git.wordpress.org/
synced 2025-04-14 17:12:13 +02:00
Plugins: Escape the WordPress.org plugin page URL in the Plugin Installation modal.
Follow-up to [8540], [38953]. Props chintan1896, Presskopp, dimadin, henry.wright, aezazshekh, SergeyBiryukov. Fixes #54362. git-svn-id: https://develop.svn.wordpress.org/trunk@52419 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
5b9406e3a7
commit
15769c4edc
@ -697,7 +697,7 @@ function install_plugin_information() {
|
||||
?>
|
||||
</li>
|
||||
<?php } if ( ! empty( $api->slug ) && empty( $api->external ) ) { ?>
|
||||
<li><a target="_blank" href="<?php echo __( 'https://wordpress.org/plugins/' ) . $api->slug; ?>/"><?php _e( 'WordPress.org Plugin Page »' ); ?></a></li>
|
||||
<li><a target="_blank" href="<?php echo esc_url( __( '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