Changeset 3272170
- Timestamp:
- 04/14/2025 09:20:06 AM (12 months ago)
- Location:
- aurora-heatmap/trunk
- Files:
-
- 12 edited
-
aurora-heatmap.php (modified) (4 diffs)
-
class-aurora-heatmap-basic.php (modified) (5 diffs)
-
class-aurora-heatmap-list.php (modified) (1 diff)
-
class-aurora-heatmap-options.php (modified) (1 diff)
-
js/admin.js (modified) (1 diff)
-
js/aurora-heatmap.js (modified) (1 diff)
-
js/reporter.js (modified) (1 diff)
-
js/viewer.js (modified) (1 diff)
-
readme.txt (modified) (2 diffs)
-
readme_ja.txt (modified) (2 diffs)
-
templates/ahm-email-html.php (modified) (1 diff)
-
templates/ahm-email-plain.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
aurora-heatmap/trunk/aurora-heatmap.php
r3058058 r3272170 4 4 * Plugin URI: https://market.seous.info/aurora-heatmap 5 5 * Description: Beautiful like an aurora! A simple WordPress heatmap that can be completed with just a plugin. 6 * Version: 1.7. 06 * Version: 1.7.1 7 7 * Author: R3098 8 8 * Author URI: https://seous.info/ … … 11 11 * 12 12 * @package aurora-heatmap 13 * @copyright 2019-202 4R3098 <info@seous.info>14 * @version 1.7. 013 * @copyright 2019-2025 R3098 <info@seous.info> 14 * @version 1.7.1 15 15 */ 16 16 … … 86 86 }; 87 87 88 load_plugin_textdomain( 'aurora-heatmap' ); 88 add_action('init', function () { 89 load_plugin_textdomain( 'aurora-heatmap' ); 90 }); 89 91 90 92 if ( ! function_exists( 'aurora_heatmap_uninstall' ) ) { … … 121 123 122 124 123 $aurora_heatmap_plan = 'Basic';124 if ( is_file( __DIR__ . '/aurora-heatmap__premium_only.php' ) ) {125 $aurora_heatmap_plan = include __DIR__ . '/aurora-heatmap__premium_only.php';126 }127 125 128 126 register_activation_hook( 129 127 __FILE__, 130 128 function () { 131 add_option( 'Activated_Plugin', 'aurora _heatmap' );129 add_option( 'Activated_Plugin', 'aurora-heatmap' ); 132 130 } 133 131 ); 134 register_deactivation_hook( __FILE__, "Aurora_Heatmap_ $aurora_heatmap_plan::deactivation" );132 register_deactivation_hook( __FILE__, "Aurora_Heatmap_Basic::deactivation" ); 135 133 register_uninstall_hook( __FILE__, 'aurora_heatmap_uninstall' ); 136 134 137 135 138 add_action( 'init', "Aurora_Heatmap_$aurora_heatmap_plan::get_instance" ); 139 unset( $aurora_heatmap_plan ); 136 add_action( 'init', function() { 137 $plan = 'Basic'; 138 if ( is_file( __DIR__ . '/aurora-heatmap__premium_only.php' ) ) { 139 $plan = include __DIR__ . '/aurora-heatmap__premium_only.php'; 140 } 141 call_user_func("Aurora_Heatmap_$plan::get_instance"); 142 }); 140 143 141 144 /* vim: set ts=4 sw=4 sts=4 noet: */ -
aurora-heatmap/trunk/class-aurora-heatmap-basic.php
r3058058 r3272170 6 6 * 7 7 * @package aurora-heatmap 8 * @copyright 2019-202 4R3098 <info@seous.info>9 * @version 1.7. 08 * @copyright 2019-2025 R3098 <info@seous.info> 9 * @version 1.7.1 10 10 */ 11 11 … … 21 21 const SLUG = 'aurora-heatmap'; 22 22 23 const VERSION = '1.7. 0';23 const VERSION = '1.7.1'; 24 24 25 25 const PLAN = 'basic'; … … 140 140 public function admin_init() { 141 141 // Activate. 142 if ( is_admin() && get_option( 'Activated_Plugin' ) === $this::SLUG) {142 if ( is_admin() && in_array( get_option( 'Activated_Plugin' ), array( 'aurora-heatmap', 'aurora_heatmap' ) ) ) { 143 143 delete_option( 'Activated_Plugin' ); 144 144 $this::activation(); … … 255 255 * Callback for register_activation_hook 256 256 */ 257 public staticfunction activation() {258 self::get_instance()->setup();257 public function activation() { 258 $this->setup(); 259 259 } 260 260 … … 1760 1760 'keep_url_hash' => filter_input( INPUT_POST, 'keep_url_hash', FILTER_VALIDATE_BOOLEAN ), 1761 1761 'ajax_delay_time' => filter_input( INPUT_POST, 'ajax_delay_time', FILTER_VALIDATE_INT ), 1762 'ajax_interval' => filter_input( INPUT_POST, 'ajax_interval', FILTER_VALIDATE_INT ),1763 'ajax_bulk' => filter_input( INPUT_POST, 'ajax_bulk', FILTER_VALIDATE_INT ),1764 1762 ); 1765 1763 -
aurora-heatmap/trunk/class-aurora-heatmap-list.php
r3058058 r3272170 4 4 * 5 5 * @package aurora-heatmap 6 * @copyright 2019-202 4R3098 <info@seous.info>7 * @version 1.7. 06 * @copyright 2019-2025 R3098 <info@seous.info> 7 * @version 1.7.1 8 8 */ 9 9 -
aurora-heatmap/trunk/class-aurora-heatmap-options.php
r3058058 r3272170 4 4 * 5 5 * @package aurora-heatmap 6 * @copyright 2019-202 4R3098 <info@seous.info>7 * @version 1.7. 06 * @copyright 2019-2025 R3098 <info@seous.info> 7 * @version 1.7.1 8 8 */ 9 9 -
aurora-heatmap/trunk/js/admin.js
r3058058 r3272170 3 3 * 4 4 * @package aurora-heatmap 5 * @copyright 2019-202 4R3098 <info@seous.info>6 * @version 1.7. 05 * @copyright 2019-2025 R3098 <info@seous.info> 6 * @version 1.7.1 7 7 */ 8 8 -
aurora-heatmap/trunk/js/aurora-heatmap.js
r3058058 r3272170 3 3 * 4 4 * @package aurora-heatmap 5 * @copyright 2019-202 4R3098 <info@seous.info>6 * @version 1.7. 05 * @copyright 2019-2025 R3098 <info@seous.info> 6 * @version 1.7.1 7 7 */ 8 8 -
aurora-heatmap/trunk/js/reporter.js
r3058058 r3272170 3 3 * 4 4 * @package aurora-heatmap 5 * @copyright 2019-202 4R3098 <info@seous.info>6 * @version 1.7. 05 * @copyright 2019-2025 R3098 <info@seous.info> 6 * @version 1.7.1 7 7 */ 8 8 -
aurora-heatmap/trunk/js/viewer.js
r3058058 r3272170 3 3 * 4 4 * @package aurora-heatmap 5 * @copyright 2019-202 4R3098 <info@seous.info>6 * @version 1.7. 05 * @copyright 2019-2025 R3098 <info@seous.info> 6 * @version 1.7.1 7 7 */ 8 8 -
aurora-heatmap/trunk/readme.txt
r3058069 r3272170 4 4 Tags: analytics,analyze,click,heatmap,Japanese,statistics,ヒートマップ 5 5 Requires at least: 4.9 6 Tested up to: 6. 56 Tested up to: 6.8.0 7 7 Stable tag: 1.7.0 8 8 License: GPLv2 … … 172 172 == Changelog == 173 173 174 = 1.7.1 = 175 176 * Fixed an issue where the plugin activation process was not performed correctly. 177 * Fixed the Notice error in WordPress 6.7.0 or later. 178 * Tested up to WordPress 6.8. 179 * Update the Freemius SDK in the premium version. 180 174 181 = 1.7.0 = 175 182 -
aurora-heatmap/trunk/readme_ja.txt
r3058069 r3272170 4 4 Tags: ヒートマップ,analytics,analyze,click,heatmap,Japanese,statistics 5 5 Requires at least: 4.9 6 Tested up to: 6. 56 Tested up to: 6.8.0 7 7 Stable tag: 1.7.0 8 8 License: GPLv2 … … 172 172 == Changelog == 173 173 174 = 1.7.1 = 175 176 * プラグイン有効化の際の処理が正常に行われない問題を修正しました。 177 * WordPress 6.7.0 以降での Notice error を修正しました。 178 * Tested up to WordPress 6.8. 179 * 有料版の Freemius SDK を更新しました。 180 174 181 = 1.7.0 = 175 182 -
aurora-heatmap/trunk/templates/ahm-email-html.php
r3058058 r3272170 6 6 * 7 7 * @package aurora-heatmap 8 * @copyright 2019-202 4R3098 <info@seous.info>9 * @version 1.7. 08 * @copyright 2019-2025 R3098 <info@seous.info> 9 * @version 1.7.1 10 10 */ 11 11 -
aurora-heatmap/trunk/templates/ahm-email-plain.php
r3058058 r3272170 6 6 * 7 7 * @package aurora-heatmap 8 * @copyright 2019-202 4R3098 <info@seous.info>9 * @version 1.7. 08 * @copyright 2019-2025 R3098 <info@seous.info> 9 * @version 1.7.1 10 10 */ 11 11
Note: See TracChangeset
for help on using the changeset viewer.