-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
= 1.4.1 (2303-SFP1) = *Release Date - 23 March 2023* * Compatible Wordpress 6.2, * Sanitized Data, Escaped, and Validated (used sanitize_text_field), * change Data agent sort by browser and usages, * change Data os sort by OS and usages, * change Data device sort by device and usages, * OS and navigator data add percent bar.
- Loading branch information
1 parent
9e13ac3
commit b8d337a
Showing
20 changed files
with
91 additions
and
89 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -5,7 +5,7 @@ | |
* @link https://ginkgos.net/ | ||
* @author VANHOUCKE Franck <[email protected]> | ||
* @license GPLv2 or later | ||
* @version 1.4.0 | ||
* @version 1.4.1 | ||
*/ | ||
|
||
namespace STATS4WP\Api; | ||
|
@@ -116,12 +116,13 @@ public static function get_var($var) | |
global $wpdb; | ||
if ($var == self::ARG_INTERVAL_FLAG) { | ||
if (isset($_GET[self::ARG_INTERVAL_FLAG])) { | ||
return ($_GET[self::ARG_INTERVAL_FLAG] = "flag") ? true : false; | ||
$flag = sanitize_text_field($_GET[self::ARG_INTERVAL_FLAG]); | ||
return ($flag = "flag") ? true : false; | ||
} | ||
return false; | ||
} | ||
if (isset($_GET[$var])) { | ||
return $_GET[$var]; | ||
return sanitize_text_field($_GET[$var]); | ||
} | ||
switch ($var) { | ||
case self::ARG_INTERVAL: | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.