Skip to content
Browse files

Escaped the "hide-wc-extensions-message" link in admin.

  • Loading branch information...
1 parent 5ca6c34 commit 4b581450480d74667b76d6ba50961d79a6d7a0c1 @mikejolley mikejolley committed Oct 18, 2013
Showing with 4 additions and 1 deletion.
  1. +1 −1 admin/woocommerce-admin-settings.php
  2. +3 −0 readme.txt
View
2 admin/woocommerce-admin-settings.php
@@ -207,7 +207,7 @@ function woocommerce_settings() {
<?php wp_nonce_field( 'woocommerce-settings', '_wpnonce', true, true ); ?>
<?php if ( ! get_option('hide-wc-extensions-message') ) : ?>
- <div id="woocommerce_extensions"><a href="<?php echo add_query_arg('hide-wc-extensions-message', 'true') ?>" class="hide">&times;</a><?php printf(__( 'More functionality and gateway options available via <a href="%s" target="_blank">WC official extensions</a>.', 'woocommerce' ), 'http://www.woothemes.com/extensions/woocommerce-extensions/'); ?></div>
+ <div id="woocommerce_extensions"><a href="<?php echo esc_url( add_query_arg( 'hide-wc-extensions-message', 'true' ) ); ?>" class="hide">&times;</a><?php printf(__( 'More functionality and gateway options available via <a href="%s" target="_blank">WC official extensions</a>.', 'woocommerce' ), 'http://www.woothemes.com/extensions/woocommerce-extensions/'); ?></div>
<?php endif; ?>
<?php
View
3 readme.txt
@@ -165,6 +165,9 @@ Yes you can! Join in on our [GitHub repository](http://github.com/woothemes/wooc
== Changelog ==
+= 2.0.18 =
+* Fix - Escaped the "hide-wc-extensions-message" link in admin.
+
= 2.0.17 - 17/10/2013 =
* Fix - Add missing doctype for email header #3921
* Fix - 2 notices on the cart/checkout related to tax #3922

0 comments on commit 4b58145

Please sign in to comment.
Something went wrong with that request. Please try again.