Skip to content

Commit

Permalink
Added missing sanitize
Browse files Browse the repository at this point in the history
  • Loading branch information
kgass committed Mar 22, 2022
1 parent 1bac9e8 commit 63fd690
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 4 deletions.
2 changes: 1 addition & 1 deletion assets/inc/yspeechetftec-core-functions.php
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ public function yspeechetftec_create_admin_page()

//Get the active tab from the $_GET param
$default_tab = null;
$tab = isset($_GET['tab']) ? (string) $_GET['tab'] : $default_tab;
$tab = isset($_GET['tab']) ? sanitize_key($_GET['tab']) : $default_tab;

?>

Expand Down
1 change: 0 additions & 1 deletion assets/inc/yspeechetftec-import-functions.php
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@ function yspeechetftec_import_events()
{
$yspeechetftec_options = get_option('yspeechetftec_option_name');


$uri_params = '';

if (isset($yspeechetftec_options['yspeechetftec_organizer_ids']) && strlen(trim($yspeechetftec_options['yspeechetftec_organizer_ids'])) > 0) {
Expand Down
2 changes: 1 addition & 1 deletion evangelische-termine-for-the-events-calendar.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
/*
Plugin Name: Evangelische Termine for The Events Calendar
Description: Plugin zum import von Ev Termine. Das The Events Calendar Plugin sollte installiert und aktiviert sein um dieses Plugin zu verwenden.
Version: 0.0.2
Version: 0.0.3
Requires at least: 5.6
Requires PHP: 7.2
License: GPLv3
Expand Down
2 changes: 1 addition & 1 deletion readme.txt
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ Donate link: https://www.paypal.com/donate/?hosted_button_id=3PW7J5C6R4QC6
Requires at least: 5.6
Tested up to: 5.9.2
Requires PHP: 7.2
Stable tag: 0.0.2
Stable tag: 0.0.3
License: GPLv3 or later
License URI: https://www.gnu.org/licenses/gpl-3.0.html

Expand Down

0 comments on commit 63fd690

Please sign in to comment.