-
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 Wordpress 6.2, * Delete cdn charjs Option, * Sanitized Data, Escaped, and Validated (used sanitize_text_field), * Variables and options must be escaped, * Update ChartJS 4.2.0 to 4.2.1, * Update GeoIP Database 20230321.
- Loading branch information
1 parent
4b0d043
commit 9e13ac3
Showing
102 changed files
with
2,198 additions
and
2,072 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,61 +1,62 @@ | ||
<?php | ||
/** | ||
* default variables in menu | ||
* | ||
* @category assets | ||
* @package STATS4WPPlugin | ||
* @Version 1.3.8 | ||
* @link https://ginkgos.net/ | ||
* @author VANHOUCKE Franck <[email protected]> | ||
* @license GPLv2 or later | ||
* @version 1.4.0 | ||
*/ | ||
|
||
return array( | ||
'anonymize_ips' => array( | ||
'title' => __('Anonymize IP.','stats4wp'), | ||
'title' => __('Anonymize IP.', 'stats4wp'), | ||
'section' => STATS4WP_NAME.'_admin_index', | ||
'type' => 'checkboxField') , | ||
'type' => 'checkboxField'), | ||
'ip_method' => array( | ||
'title' => __('IP methode','stats4wp'), | ||
'message' => __('chose $_SERVER.', 'stats4wp'), | ||
'section' => STATS4WP_NAME.'_admin_index', | ||
'type' => 'listField' , | ||
'choices' => array( | ||
'REMOTE_ADDR' => __('REMOTE_ADDR','stats4wp'), | ||
'HTTP_CLIENT_IP' => __('HTTP_CLIENT_IP','stats4wp'), | ||
'HTTP_X_FORWARDED_FOR' => __('HTTP_X_FORWARDED_FOR','stats4wp'), | ||
'HTTP_X_FORWARDED' => __('HTTP_X_FORWARDED','stats4wp'), | ||
'HTTP_FORWARDED_FOR' => __('HTTP_FORWARDED_FOR','stats4wp'), | ||
'HTTP_FORWARDED' => __('HTTP_FORWARDED','stats4wp'), | ||
'HTTP_X_REAL_IP' => __('HTTP_X_REAL_IP','stats4wp'), | ||
'HTTP_X_CLUSTER_CLIENT_IP' => __('HTTP_X_CLUSTER_CLIENT_IP','stats4wp') | ||
'title' => __('IP methode', 'stats4wp'), | ||
'message' => __('chose _SERVER.', 'stats4wp'), | ||
'section' => STATS4WP_NAME.'_admin_index', | ||
'type' => 'listField', | ||
'choices' => array( | ||
'REMOTE_ADDR' => __('REMOTE_ADDR', 'stats4wp'), | ||
'HTTP_CLIENT_IP' => __('HTTP_CLIENT_IP', 'stats4wp'), | ||
'HTTP_X_FORWARDED_FOR' => __('HTTP_X_FORWARDED_FOR', 'stats4wp'), | ||
'HTTP_X_FORWARDED' => __('HTTP_X_FORWARDED', 'stats4wp'), | ||
'HTTP_FORWARDED_FOR' => __('HTTP_FORWARDED_FOR', 'stats4wp'), | ||
'HTTP_FORWARDED' => __('HTTP_FORWARDED', 'stats4wp'), | ||
'HTTP_X_REAL_IP' => __('HTTP_X_REAL_IP', 'stats4wp'), | ||
'HTTP_X_CLUSTER_CLIENT_IP' => __('HTTP_X_CLUSTER_CLIENT_IP', 'stats4wp') | ||
) | ||
), | ||
'addsearchwords' => array( | ||
'title' => __('Add search words','stats4wp'), | ||
'title' => __('Add search words', 'stats4wp'), | ||
'section' => STATS4WP_NAME.'_admin_index', | ||
'type' => 'checkboxField') , | ||
'type' => 'checkboxField'), | ||
'store_ua' => array( | ||
'title' => __('Store User Agent.','stats4wp'), | ||
'title' => __('Store User Agent.', 'stats4wp'), | ||
'section' => STATS4WP_NAME.'_admin_index', | ||
'type' => 'checkboxField'), | ||
'check_online' => array( | ||
'title' => __('Max time user Online check','stats4wp'), | ||
'title' => __('Max time user Online check', 'stats4wp'), | ||
'message' => __('Delete user in table useronile after xxx seconds (default 120).', 'stats4wp'), | ||
'section' => STATS4WP_NAME.'_admin_index', | ||
'type' => 'TextField'), | ||
'top_page' => array( | ||
'title' => __('Number of result in top pages','stats4wp'), | ||
'title' => __('Number of result in top pages', 'stats4wp'), | ||
'message' => __('(default 10).', 'stats4wp'), | ||
'section' => STATS4WP_NAME.'_admin_index', | ||
'type' => 'TextField'), | ||
'disableadminstat' => array( | ||
'title' => __('Disabled statistics for the administration part (/wp-admin/).','stats4wp'), | ||
'title' => __('Disabled statistics for the administration part (/wp-admin/).', 'stats4wp'), | ||
'section' => STATS4WP_NAME.'_admin_index', | ||
'type' => 'checkboxField'), | ||
'geochart' => array( | ||
'title' => __('Enable Google GeoChart','stats4wp'), | ||
'section' => STATS4WP_NAME.'_admin_index', | ||
'type' => 'checkboxField', | ||
'message' => __('Locations are geocoded by Google Maps. Any data that does not require geocoding is not sent to any server. Please see the Google Maps Terms of Service for more information on their data policy.','stats4wp'), | ||
'link' => 'https://developers.google.com/maps/terms'), | ||
'cdn_chartjs' => array( | ||
'title' => __('Enable CDN Chart JS','stats4wp'), | ||
'title' => __('Enable Google GeoChart', 'stats4wp'), | ||
'section' => STATS4WP_NAME.'_admin_index', | ||
'type' => 'checkboxField', | ||
'message' => __('Use CDN for Chart.js: https://cdnjs.cloudflare.com/ajax/libs/Chart.js/<version>/chart.min.js.','stats4wp'), | ||
'link' => 'https://cdnjs.com/libraries/Chart.js') | ||
); | ||
'message' => __('Locations are geocoded by Google Maps. Any data that does not require geocoding is not sent to any server. Please see the Google Maps Terms of Service for more information on their data policy.', 'stats4wp'), | ||
'link' => 'https://developers.google.com/maps/terms') | ||
); |
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
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
Oops, something went wrong.