Plugin details: Escape the donate link.
see #27440. Built from https://develop.svn.wordpress.org/trunk@29506 git-svn-id: http://core.svn.wordpress.org/trunk@29283 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
34b14eff23
commit
7297f60992
|
@ -440,7 +440,7 @@ function install_plugin_information() {
|
|||
<?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 ) ) { ?>
|
||||
<li><a target="_blank" href="<?php echo $api->donate_link ?>"><?php _e( 'Donate to this plugin »' ); ?></a></li>
|
||||
<li><a target="_blank" href="<?php echo esc_url( $api->donate_link ); ?>"><?php _e( 'Donate to this plugin »' ); ?></a></li>
|
||||
<?php } ?>
|
||||
</ul>
|
||||
<?php if ( ! empty( $api->rating ) ) { ?>
|
||||
|
|
Loading…
Reference in New Issue