Plugin Directory

Changeset 3272170


Ignore:
Timestamp:
04/14/2025 09:20:06 AM (12 months ago)
Author:
r3098
Message:

AHM 1.7.1 release

Location:
aurora-heatmap/trunk
Files:
12 edited

Legend:

Unmodified
Added
Removed
  • aurora-heatmap/trunk/aurora-heatmap.php

    r3058058 r3272170  
    44 * Plugin URI:  https://market.seous.info/aurora-heatmap
    55 * Description: Beautiful like an aurora! A simple WordPress heatmap that can be completed with just a plugin.
    6  * Version:     1.7.0
     6 * Version:     1.7.1
    77 * Author:      R3098
    88 * Author URI:  https://seous.info/
     
    1111 *
    1212 * @package aurora-heatmap
    13  * @copyright 2019-2024 R3098 <info@seous.info>
    14  * @version 1.7.0
     13 * @copyright 2019-2025 R3098 <info@seous.info>
     14 * @version 1.7.1
    1515  */
    1616
     
    8686};
    8787
    88 load_plugin_textdomain( 'aurora-heatmap' );
     88add_action('init', function () {
     89    load_plugin_textdomain( 'aurora-heatmap' );
     90});
    8991
    9092if ( ! function_exists( 'aurora_heatmap_uninstall' ) ) {
     
    121123
    122124
    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 }
    127125
    128126register_activation_hook(
    129127    __FILE__,
    130128    function () {
    131         add_option( 'Activated_Plugin', 'aurora_heatmap' );
     129        add_option( 'Activated_Plugin', 'aurora-heatmap' );
    132130    }
    133131);
    134 register_deactivation_hook( __FILE__, "Aurora_Heatmap_$aurora_heatmap_plan::deactivation" );
     132register_deactivation_hook( __FILE__, "Aurora_Heatmap_Basic::deactivation" );
    135133register_uninstall_hook( __FILE__, 'aurora_heatmap_uninstall' );
    136134
    137135
    138 add_action( 'init', "Aurora_Heatmap_$aurora_heatmap_plan::get_instance" );
    139 unset( $aurora_heatmap_plan );
     136add_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});
    140143
    141144/* vim: set ts=4 sw=4 sts=4 noet: */
  • aurora-heatmap/trunk/class-aurora-heatmap-basic.php

    r3058058 r3272170  
    66 *
    77 * @package aurora-heatmap
    8  * @copyright 2019-2024 R3098 <info@seous.info>
    9  * @version 1.7.0
     8 * @copyright 2019-2025 R3098 <info@seous.info>
     9 * @version 1.7.1
    1010 */
    1111
     
    2121    const SLUG = 'aurora-heatmap';
    2222
    23     const VERSION = '1.7.0';
     23    const VERSION = '1.7.1';
    2424
    2525    const PLAN = 'basic';
     
    140140    public function admin_init() {
    141141        // 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' ) ) ) {
    143143            delete_option( 'Activated_Plugin' );
    144144            $this::activation();
     
    255255     * Callback for register_activation_hook
    256256     */
    257     public static function activation() {
    258         self::get_instance()->setup();
     257    public function activation() {
     258        $this->setup();
    259259    }
    260260
     
    17601760            'keep_url_hash'       => filter_input( INPUT_POST, 'keep_url_hash', FILTER_VALIDATE_BOOLEAN ),
    17611761            '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 ),
    17641762        );
    17651763
  • aurora-heatmap/trunk/class-aurora-heatmap-list.php

    r3058058 r3272170  
    44 *
    55 * @package aurora-heatmap
    6  * @copyright 2019-2024 R3098 <info@seous.info>
    7  * @version 1.7.0
     6 * @copyright 2019-2025 R3098 <info@seous.info>
     7 * @version 1.7.1
    88 */
    99
  • aurora-heatmap/trunk/class-aurora-heatmap-options.php

    r3058058 r3272170  
    44 *
    55 * @package aurora-heatmap
    6  * @copyright 2019-2024 R3098 <info@seous.info>
    7  * @version 1.7.0
     6 * @copyright 2019-2025 R3098 <info@seous.info>
     7 * @version 1.7.1
    88 */
    99
  • aurora-heatmap/trunk/js/admin.js

    r3058058 r3272170  
    33 *
    44 * @package aurora-heatmap
    5  * @copyright 2019-2024 R3098 <info@seous.info>
    6  * @version 1.7.0
     5 * @copyright 2019-2025 R3098 <info@seous.info>
     6 * @version 1.7.1
    77 */
    88
  • aurora-heatmap/trunk/js/aurora-heatmap.js

    r3058058 r3272170  
    33 *
    44 * @package aurora-heatmap
    5  * @copyright 2019-2024 R3098 <info@seous.info>
    6  * @version 1.7.0
     5 * @copyright 2019-2025 R3098 <info@seous.info>
     6 * @version 1.7.1
    77 */
    88
  • aurora-heatmap/trunk/js/reporter.js

    r3058058 r3272170  
    33 *
    44 * @package aurora-heatmap
    5  * @copyright 2019-2024 R3098 <info@seous.info>
    6  * @version 1.7.0
     5 * @copyright 2019-2025 R3098 <info@seous.info>
     6 * @version 1.7.1
    77 */
    88
  • aurora-heatmap/trunk/js/viewer.js

    r3058058 r3272170  
    33 *
    44 * @package aurora-heatmap
    5  * @copyright 2019-2024 R3098 <info@seous.info>
    6  * @version 1.7.0
     5 * @copyright 2019-2025 R3098 <info@seous.info>
     6 * @version 1.7.1
    77 */
    88
  • aurora-heatmap/trunk/readme.txt

    r3058069 r3272170  
    44Tags: analytics,analyze,click,heatmap,Japanese,statistics,ヒートマップ
    55Requires at least: 4.9
    6 Tested up to: 6.5
     6Tested up to: 6.8.0
    77Stable tag: 1.7.0
    88License: GPLv2
     
    172172== Changelog ==
    173173
     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
    174181= 1.7.0 =
    175182
  • aurora-heatmap/trunk/readme_ja.txt

    r3058069 r3272170  
    44Tags: ヒートマップ,analytics,analyze,click,heatmap,Japanese,statistics
    55Requires at least: 4.9
    6 Tested up to: 6.5
     6Tested up to: 6.8.0
    77Stable tag: 1.7.0
    88License: GPLv2
     
    172172== Changelog ==
    173173
     174= 1.7.1 =
     175
     176* プラグイン有効化の際の処理が正常に行われない問題を修正しました。
     177* WordPress 6.7.0 以降での Notice error を修正しました。
     178* Tested up to WordPress 6.8.
     179* 有料版の Freemius SDK を更新しました。
     180
    174181= 1.7.0 =
    175182
  • aurora-heatmap/trunk/templates/ahm-email-html.php

    r3058058 r3272170  
    66 *
    77 * @package aurora-heatmap
    8  * @copyright 2019-2024 R3098 <info@seous.info>
    9  * @version 1.7.0
     8 * @copyright 2019-2025 R3098 <info@seous.info>
     9 * @version 1.7.1
    1010 */
    1111
  • aurora-heatmap/trunk/templates/ahm-email-plain.php

    r3058058 r3272170  
    66 *
    77 * @package aurora-heatmap
    8  * @copyright 2019-2024 R3098 <info@seous.info>
    9  * @version 1.7.0
     8 * @copyright 2019-2025 R3098 <info@seous.info>
     9 * @version 1.7.1
    1010 */
    1111
Note: See TracChangeset for help on using the changeset viewer.