Plugin Directory

Changeset 3463894


Ignore:
Timestamp:
02/17/2026 11:11:33 PM (6 weeks ago)
Author:
markai
Message:

Update to version 1.0.1 from GitHub

Location:
mark-ai
Files:
1 added
8 edited
1 copied

Legend:

Unmodified
Added
Removed
  • mark-ai/assets/icon-128x128.png

    • Property svn:mime-type changed from application/octet-stream to image/png
  • mark-ai/assets/icon-256x256.png

    • Property svn:mime-type changed from application/octet-stream to image/png
  • mark-ai/tags/1.0.1/assets/admin.css

    r3459981 r3463894  
    9595    font-weight: bold;
    9696    font-size: 12px;
     97}
     98
     99/* Hide third-party admin notices on the connect page */
     100.admin_page_markai .notice:not(.markai-notice),
     101.admin_page_markai .update-nag,
     102.admin_page_markai .updated:not(.markai-notice),
     103.admin_page_markai .error:not(.markai-notice) {
     104    display: none !important;
    97105}
    98106
  • mark-ai/tags/1.0.1/mark-ai.php

    r3459981 r3463894  
    33 * Plugin Name: Mark AI
    44 * Description: Publish content directly from Mark AI, the platform to create on-brand content at scale.
    5  * Version: 1.0.0
     5 * Version: 1.0.1
    66 * Requires at least: 5.6
    77 * Requires PHP: 7.4
     
    3737
    3838// Define plugin constants
    39 define('MARKAI_VERSION', '1.0.0');
     39define('MARKAI_VERSION', '1.0.1');
    4040define('MARKAI_PLUGIN_DIR', plugin_dir_path(__FILE__));
    4141define('MARKAI_PLUGIN_URL', plugin_dir_url(__FILE__));
     
    32453245        add_action('admin_post_markai_authorize_connection', [$this, 'handle_authorize']);
    32463246        add_action('admin_enqueue_scripts', [$this, 'enqueue_connect_styles']);
     3247        add_action('in_admin_header', [$this, 'hide_admin_notices'], 1000);
    32473248    }
    32483249
     
    32563257            [$this, 'render_connect_page']
    32573258        );
     3259    }
     3260
     3261    public function hide_admin_notices() {
     3262        $screen = get_current_screen();
     3263        if ( ! $screen || $screen->id !== 'admin_page_markai' ) {
     3264            return;
     3265        }
     3266        remove_all_actions( 'admin_notices' );
     3267        remove_all_actions( 'all_admin_notices' );
    32583268    }
    32593269
  • mark-ai/tags/1.0.1/readme.txt

    r3459981 r3463894  
    44Requires at least: 5.6
    55Tested up to: 6.9
    6 Stable tag: 1.0.0
     6Stable tag: 1.0.1
    77Requires PHP: 7.4
    88License: GPLv2 or later
     
    8181
    8282== Changelog ==
     83
     84= 1.0.1 =
     85* Hide third-party admin notices on the connection authorization page
    8386
    8487= 1.0.0 =
  • mark-ai/trunk/assets/admin.css

    r3459981 r3463894  
    9595    font-weight: bold;
    9696    font-size: 12px;
     97}
     98
     99/* Hide third-party admin notices on the connect page */
     100.admin_page_markai .notice:not(.markai-notice),
     101.admin_page_markai .update-nag,
     102.admin_page_markai .updated:not(.markai-notice),
     103.admin_page_markai .error:not(.markai-notice) {
     104    display: none !important;
    97105}
    98106
  • mark-ai/trunk/mark-ai.php

    r3459981 r3463894  
    33 * Plugin Name: Mark AI
    44 * Description: Publish content directly from Mark AI, the platform to create on-brand content at scale.
    5  * Version: 1.0.0
     5 * Version: 1.0.1
    66 * Requires at least: 5.6
    77 * Requires PHP: 7.4
     
    3737
    3838// Define plugin constants
    39 define('MARKAI_VERSION', '1.0.0');
     39define('MARKAI_VERSION', '1.0.1');
    4040define('MARKAI_PLUGIN_DIR', plugin_dir_path(__FILE__));
    4141define('MARKAI_PLUGIN_URL', plugin_dir_url(__FILE__));
     
    32453245        add_action('admin_post_markai_authorize_connection', [$this, 'handle_authorize']);
    32463246        add_action('admin_enqueue_scripts', [$this, 'enqueue_connect_styles']);
     3247        add_action('in_admin_header', [$this, 'hide_admin_notices'], 1000);
    32473248    }
    32483249
     
    32563257            [$this, 'render_connect_page']
    32573258        );
     3259    }
     3260
     3261    public function hide_admin_notices() {
     3262        $screen = get_current_screen();
     3263        if ( ! $screen || $screen->id !== 'admin_page_markai' ) {
     3264            return;
     3265        }
     3266        remove_all_actions( 'admin_notices' );
     3267        remove_all_actions( 'all_admin_notices' );
    32583268    }
    32593269
  • mark-ai/trunk/readme.txt

    r3459981 r3463894  
    44Requires at least: 5.6
    55Tested up to: 6.9
    6 Stable tag: 1.0.0
     6Stable tag: 1.0.1
    77Requires PHP: 7.4
    88License: GPLv2 or later
     
    8181
    8282== Changelog ==
     83
     84= 1.0.1 =
     85* Hide third-party admin notices on the connection authorization page
    8386
    8487= 1.0.0 =
Note: See TracChangeset for help on using the changeset viewer.