-
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.
* Compatible PHP8.x, * Add translations, * Correction phpcs 3.7.2 warning Wordpress, * Update GeoIP Database 20240223.
- Loading branch information
1 parent
4e054ae
commit 252b044
Showing
46 changed files
with
1,302 additions
and
1,337 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 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
Binary file not shown.
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 |
---|---|---|
|
@@ -9,7 +9,7 @@ | |
* @author Franck VANHOUCKE <[email protected]> | ||
* @copyright 2021-2023 Copyright 2023, Inc. All rights reserved. | ||
* @license GNU General Public License version 2 or later | ||
* @version 1.4.6 GIT:https://github.com/thanatos-vf-2000/WordPress | ||
* @version 1.4.9 GIT:https://github.com/thanatos-vf-2000/WordPress | ||
* @link https://ginkgos.net | ||
*/ | ||
|
||
|
@@ -155,11 +155,11 @@ public static function get_var( $var ) { | |
case 6: | ||
return gmdate( 'Y-m-d', strtotime( '-2 years' ) ); | ||
break; | ||
case 7; | ||
case 7: | ||
if ( ! isset( $wpdb->stats4wp_visitor ) ) { | ||
$wpdb->stats4wp_visitor = DB::table( 'visitor' );} | ||
$visitor = $wpdb->get_row( "SELECT min(last_counter) as minimum FROM $wpdb->stats4wp_visitor" ); | ||
return $visitor->minimum; | ||
return $visitor->minimum; | ||
break; | ||
} | ||
} else { | ||
|
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
<?php | ||
/** | ||
* @package STATS4WPPlugin | ||
* @version 1.4.9 | ||
*/ | ||
|
||
/** | ||
* @param $string | ||
* | ||
* @return string | ||
*/ | ||
function filter_string_polyfill( string $string ): string { | ||
$str = preg_replace( '/\x00|<[^>]*>?/', '', $string ); | ||
return str_replace( array( "'", '"' ), array( ''', '"' ), $str ); | ||
} |
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.