Plugin Directory

Changeset 3325477


Ignore:
Timestamp:
07/10/2025 09:22:19 AM (9 months ago)
Author:
ashleysmith1
Message:

Rollback: Restore trunk to version 4.0.16

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

    r3325473 r3325477  
    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.1.10
     6 * Version: 4.0.16
    77 * Requires at least: 5.0
    88 * Requires PHP: 7.2
     
    1818
    1919// Define plugin constants
    20 define('MAIO_VERSION', '4.1.10');
     20define('MAIO_VERSION', '4.0.16');
    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 (accessible by direct link, not shown in menu)
    378     add_submenu_page(
    379         null, // No parent menu, so it won't show up
     377    // Register the AI-Friendly Article page as a hidden admin page
     378    add_menu_page(
    380379        esc_html__('AI-Friendly Content Guide', 'maio-the-new-ai-geo-seo-tool'),
    381         '', // No menu title, so it won't show up
     380        '',  // Empty menu title to hide it
    382381        'manage_options',
    383382        'maio-ai-friendly-article',
    384         'maio_ai_friendly_article_page'
     383        'maio_ai_friendly_article_page',
     384        '',
     385        null  // No menu position
    385386    );
     387    // Remove the submenu to prevent it from showing up
     388    remove_submenu_page('maio-ai-friendly-article', 'maio-ai-friendly-article');
    386389}
    387390add_action('admin_menu', 'maio_register_admin_menu');
     
    672675        update_option('maio_brand_logo_url', $site_icon_url);
    673676    }
    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 
    685677    flush_rewrite_rules();
    686678});
     
    21422134    $first_install_time = get_option('maio_first_install_time');
    21432135
    2144     $event_type = 'install';
    2145     if ($first_version && $first_version !== MAIO_VERSION) {
    2146         $event_type = 'upgrade';
    2147     }
    2148 
    21492136    $payload = array(
    21502137        'site_url'             => home_url(),
     
    21552142        'wp_version'           => get_bloginfo('version'),
    21562143        'php_version'          => phpversion(),
    2157         'locale'               => get_locale(),
    2158         'event_type'           => $event_type,
     2144        'locale'               => get_locale()
    21592145    );
    21602146
  • maio-the-new-ai-geo-seo-tool/trunk/readme.txt

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