Skip to content
Permalink
Browse files Browse the repository at this point in the history
Update for xss vulnerability, https://make.wordpress.org/plugins/2015…
  • Loading branch information
jtsternberg committed Apr 20, 2015
1 parent c503b31 commit e1a0d99
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 3 deletions.
3 changes: 3 additions & 0 deletions README.md
Expand Up @@ -22,6 +22,9 @@ Compatible with [wp-cli](http://wp-cli.org/). `wp taxonomy-switcher` for instruc

## Changelog

#### 1.0.2
* Update for xss vulnerability, https://make.wordpress.org/plugins/2015/04/20/fixing-add_query_arg-and-remove_query_arg-usage

#### 1.0.1
* Add ability to switch comma-separated list of term IDs.

Expand Down
5 changes: 4 additions & 1 deletion readme.txt
Expand Up @@ -4,7 +4,7 @@ Donate link: https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_i
Tags: taxonomy, taxonomies, term, terms, category, categories, convert, converter, tag, tags, custom taxonomy, custom taxonomies, switch taxonomies
Requires at least: 3.5
Tested up to: 3.8.1
Stable tag: 1.0.1
Stable tag: 1.0.2
License: GNU AGPLv3
License URI: http://www.gnu.org/licenses/agpl-3.0.html

Expand Down Expand Up @@ -42,6 +42,9 @@ Please keep in mind, if parent isn't set, or you don't specify a comma-separated

== Changelog ==

= 1.0.2 =
* Update for xss vulnerability, https://make.wordpress.org/plugins/2015/04/20/fixing-add_query_arg-and-remove_query_arg-usage

= 1.0.1 =
* Add ability to switch comma-separated list of term IDs.

Expand Down
4 changes: 2 additions & 2 deletions taxonomy-switcher.php
Expand Up @@ -3,7 +3,7 @@
Plugin Name: Taxonomy Switcher
Plugin URI: https://github.com/WebDevStudios/taxonomy-switcher
Description: Switches the Taxonomy of terms to a different Taxonomy
Version: 1.0.1
Version: 1.0.2
Author: WebDevStudios
Author URI: http://webdevstudios.com
*/
Expand Down Expand Up @@ -71,7 +71,7 @@ public function taxonomy_switcher_init() {
// Save notices
add_option( 'taxonomy-switcher-notices', $success_notices, null, 'no' );
// Redirect and strip query string
wp_redirect( add_query_arg( 'page', $this->ui->admin_slug, admin_url( '/tools.php' ) ) );
wp_redirect( esc_url_raw( add_query_arg( 'page', $this->ui->admin_slug, admin_url( '/tools.php' ) ) ) );

}

Expand Down

0 comments on commit e1a0d99

Please sign in to comment.