Plugin Directory

Changeset 3326152


Ignore:
Timestamp:
07/11/2025 09:14:30 AM (9 months ago)
Author:
ashleysmith1
Message:

Update to version 4.1.12

Location:
maio-the-new-ai-geo-seo-tool/trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • maio-the-new-ai-geo-seo-tool/trunk/maio-main.php

    r3325477 r3326152  
    44 * Plugin URI: https://maioai.com
    55 * Description: This plugin helps optimize your Website for AI-powered discovery tools such as ChatGPT, Perplexity, Claude, Google Gemini, Google AI Overviews, Meta Llama and many more. It combines the best of traditional SEO and emerging AIO strategies to ensure your brand is accurately and favorably represented in AI-generated content.
    6  * Version: 4.0.16
     6 * Version: 4.1.12
    77 * Requires at least: 5.0
    88 * Requires PHP: 7.2
     
    1818
    1919// Define plugin constants
    20 define('MAIO_VERSION', '4.0.16');
     20define('MAIO_VERSION', '4.1.12');
    2121define('MAIO_PLUGIN_DIR', plugin_dir_path(__FILE__));
    2222define('MAIO_PLUGIN_URL', plugin_dir_url(__FILE__));
     
    375375    );
    376376
    377     // Register the AI-Friendly Article page as a hidden admin page
    378     add_menu_page(
     377    // Register the AI-Friendly Article page as a hidden admin page (accessible by direct link, not shown in menu)
     378    add_submenu_page(
     379        null, // No parent menu, so it won't show up
    379380        esc_html__('AI-Friendly Content Guide', 'maio-the-new-ai-geo-seo-tool'),
    380         '',  // Empty menu title to hide it
     381        '', // No menu title, so it won't show up
    381382        'manage_options',
    382383        'maio-ai-friendly-article',
    383         'maio_ai_friendly_article_page',
    384         '',
    385         null  // No menu position
     384        'maio_ai_friendly_article_page'
    386385    );
    387     // Remove the submenu to prevent it from showing up
    388     remove_submenu_page('maio-ai-friendly-article', 'maio-ai-friendly-article');
    389386}
    390387add_action('admin_menu', 'maio_register_admin_menu');
     
    675672        update_option('maio_brand_logo_url', $site_icon_url);
    676673    }
     674
     675    if (get_option('maio_first_version', '') === '') {
     676        update_option('maio_first_version', MAIO_VERSION);
     677    }
     678    if (get_option('maio_first_install_time', '') === '') {
     679        update_option('maio_first_install_time', current_time('mysql'));
     680    }
     681    if (get_option('maio_site_uuid', '') === '') {
     682        update_option('maio_site_uuid', wp_generate_uuid4());
     683    }
     684
    677685    flush_rewrite_rules();
    678686});
     
    21342142    $first_install_time = get_option('maio_first_install_time');
    21352143
     2144    $event_type = 'install';
     2145    if ($first_version && $first_version !== MAIO_VERSION) {
     2146        $event_type = 'upgrade';
     2147    }
     2148
    21362149    $payload = array(
    21372150        'site_url'             => home_url(),
     
    21422155        'wp_version'           => get_bloginfo('version'),
    21432156        'php_version'          => phpversion(),
    2144         'locale'               => get_locale()
     2157        'locale'               => get_locale(),
     2158        'event_type'           => $event_type,
    21452159    );
    21462160
  • maio-the-new-ai-geo-seo-tool/trunk/readme.txt

    r3325477 r3326152  
    33Tags: geo, seo, ai, chatgpt, google ai overviews
    44Requires at least: 5.0
    5 Tested up to: 6.8
    6 Stable tag: 4.0.16
     5Tested up to: 6.8.2
     6Stable tag: 4.1.12
    77License: GPLv2 or later
    88License URI: http://www.gnu.org/licenses/gpl-2.0.html
     
    3838
    3939== Changelog ==
     40
     41= 4.1.12 =
     42* Installation improvements and bugs fixes
    4043
    4144= 4.0.16 =
Note: See TracChangeset for help on using the changeset viewer.