Changeset 3267858
- Timestamp:
- 04/07/2025 12:11:09 PM (12 months ago)
- Location:
- fleekcode-omnibus/trunk
- Files:
-
- 5 added
- 3 edited
-
assets/css/deactivation-survey.css (added)
-
assets/css/statistics.css (added)
-
assets/js/deactivation-survey.js (added)
-
assets/js/statistics.js (added)
-
fleekcode-omnibus.php (modified) (8 diffs)
-
includes/class-activator.php (modified) (1 diff)
-
includes/class-statistics.php (added)
-
readme.txt (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
fleekcode-omnibus/trunk/fleekcode-omnibus.php
r3267456 r3267858 4 4 * Plugin URI: https://wordpress.org/plugins/fleekcode-omnibus/ 5 5 * Description: Automatically tracks and displays the minimum (reference) price over a specified number of days in compliance with Omnibus requirements. 6 * Version: 1.0. 66 * Version: 1.0.7 7 7 * Author: Fleekcode 8 8 * Author URI: https://profiles.wordpress.org/fleekcode/ … … 33 33 require_once FLEEKCODE_OMNIBUS_PLUGIN_DIR . 'admin/class-admin.php'; 34 34 require_once FLEEKCODE_OMNIBUS_PLUGIN_DIR . 'public/class-public.php'; 35 require_once FLEEKCODE_OMNIBUS_PLUGIN_DIR . 'includes/class-statistics.php'; 35 36 36 37 function fleekcode_omnibus_check_version() { … … 57 58 update_option('fleekcode_omnibus_version', $plugin_version); 58 59 error_log('Fleekcode Omnibus: Database updated to version ' . $plugin_version); 60 61 delete_option('fleekcode_statistics_consent'); 59 62 } 60 63 } … … 76 79 delete_option('fleekcode_omnibus_version'); 77 80 fleekcode_omnibus_check_version(); 81 82 delete_option('fleekcode_statistics_consent'); 78 83 } 79 84 } … … 88 93 add_action('plugins_loaded', 'fleekcode_omnibus_init'); 89 94 90 function fleekcode_omnibus_ init() {95 function fleekcode_omnibus_load_textdomain() { 91 96 load_plugin_textdomain( 92 97 'fleekcode-omnibus', … … 94 99 dirname(plugin_basename(__FILE__)) . '/languages' 95 100 ); 96 101 } 102 103 add_action('init', 'fleekcode_omnibus_load_textdomain'); 104 105 function fleekcode_omnibus_init() { 97 106 if (!class_exists('WooCommerce')) { 98 107 add_action('admin_notices', 'fleekcode_omnibus_missing_wc_notice'); … … 109 118 Fleekcode_Admin::init(); 110 119 Fleekcode_Public::init(); 120 Fleekcode_Statistics::init(); 111 121 112 122 if (class_exists('Fleekcode_Update_Notices')) { … … 211 221 'fleekcode_omnibus_price_position', 212 222 'fleekcode_omnibus_min_price_display_mode', 213 'fleekcode_omnibus_display_method' 223 'fleekcode_omnibus_display_method', 224 'fleekcode_statistics_consent', 225 'fleekcode_statistics_consent_time', 226 'fleekcode_statistics_last_sent' 214 227 ]; 215 228 foreach ($options as $option) { 216 229 delete_option($option); 217 230 } 218 231 219 232 wp_cache_flush_group('fleekcode_admin'); 220 233 wp_cache_flush_group('omnibus'); -
fleekcode-omnibus/trunk/includes/class-activator.php
r3267456 r3267858 58 58 59 59 update_option('fleekcode_omnibus_version', FLEEKCODE_OMNIBUS_VERSION); 60 61 // Reset statistics consent status to show the banner 62 delete_option('fleekcode_statistics_consent'); 60 63 } 61 64 -
fleekcode-omnibus/trunk/readme.txt
r3267456 r3267858 5 5 Tested up to: 6.7 6 6 Requires PHP: 7.4 7 Stable tag: 1.0. 67 Stable tag: 1.0.7 8 8 License: GPLv2 or later 9 9 License URI: https://www.gnu.org/licenses/gpl-2.0.html … … 86 86 87 87 == Changelog == 88 = 1.0.7 = 89 * Added statistics for support 90 88 91 = 1.0.6 = 89 92 * Bug fixes
Note: See TracChangeset
for help on using the changeset viewer.