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. Built from https://develop.svn.wordpress.org/trunk@52419 git-svn-id: http://core.svn.wordpress.org/trunk@52011 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
2caff694aa
commit
05a3e19924
|
@ -697,7 +697,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="<?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 ) ) { ?>
|
<?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 ) ) { ?>
|
||||||
|
|
|
@ -16,7 +16,7 @@
|
||||||
*
|
*
|
||||||
* @global string $wp_version
|
* @global string $wp_version
|
||||||
*/
|
*/
|
||||||
$wp_version = '5.9-beta4-52418';
|
$wp_version = '5.9-beta4-52419';
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* 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