Plugin Directory

Changeset 3370907


Ignore:
Timestamp:
10/01/2025 07:25:37 AM (2 months ago)
Author:
DvanKooten
Message:

v1.7.3

Location:
mailchimp-top-bar
Files:
10 edited
1 copied

Legend:

Unmodified
Added
Removed
  • mailchimp-top-bar/tags/1.7.3/CHANGELOG.md

    r3346161 r3370907  
    22==========
    33
    4 ### 1.7.2 - Aug 18, 2025
     4### 1.7.3 - Oct 1, 2025
    55
    66- Minor performance or memory usage related improvements.
     7- Compatibility check with latest WordPress version.
    78
    89
  • mailchimp-top-bar/tags/1.7.3/mailchimp-top-bar.php

    r3346161 r3370907  
    11<?php
     2
    23/*
    34Plugin Name: MC4WP: Mailchimp Top Bar
    45Plugin URI: https://www.mc4wp.com/
    56Description: Adds a Mailchimp opt-in bar to the top of your site.
    6 Version: 1.7.2
     7Version: 1.7.3
    78Author: ibericode
    8 Author URI: https://ibericode.com/
     9Author URI: https://www.ibericode.com/
    910Text Domain: mailchimp-top-bar
    1011Domain Path: /languages
     
    2930*/
    3031
     32
    3133defined('ABSPATH') or exit;
    3234
     
    4648    define('MAILCHIMP_TOP_BAR_FILE', __FILE__);
    4749    define('MAILCHIMP_TOP_BAR_DIR', __DIR__);
    48     define('MAILCHIMP_TOP_BAR_VERSION', '1.7.2');
     50    define('MAILCHIMP_TOP_BAR_VERSION', '1.7.3');
    4951
    5052    require __DIR__ . '/src/functions.php';
     
    5759        require __DIR__ . '/src/Bar.php';
    5860        $bar = new MailChimp\TopBar\Bar();
    59         $bar->add_hooks();
     61        add_action('wp', [$bar, 'init']);
    6062    }
    6163}, 30);
  • mailchimp-top-bar/tags/1.7.3/readme.txt

    r3346161 r3370907  
    55Requires at least: 4.9
    66Tested up to: 6.8
    7 Stable tag: 1.7.2
     7Stable tag: 1.7.3
    88License: GPL-3.0-or-later
    99License URI: http://www.gnu.org/licenses/gpl-3.0.html
     
    3939= About the author =
    4040
    41 Mailchimp Top Bar is a plugin by [ibericode](https:/www.ibericode.com/), a small Dutch company that you may known from other plugins like [Mailchimp for WordPress](https://www.mc4wp.com/), [Boxzilla Pop-ups](https://www.boxzillaplugin.com) and [Koko Analytics](https://www.kokoanalytics.com/).
     41Mailchimp Top Bar is a plugin by [ibericode](https:/www.ibericode.com/), a company from The Netherlands that you may know from other plugins like [Mailchimp for WordPress](https://www.mc4wp.com/), [Boxzilla Pop-ups](https://www.boxzillaplugin.com) and [Koko Analytics](https://www.kokoanalytics.com/).
    4242
    4343
     
    126126
    127127
    128 ### 1.7.2 - Aug 18, 2025
     128### 1.7.3 - Oct 1, 2025
    129129
    130130- Minor performance or memory usage related improvements.
     131- Compatibility check with latest WordPress version.
    131132
    132133
  • mailchimp-top-bar/tags/1.7.3/src/Admin.php

    r3229550 r3370907  
    219219    public function footer_text($text)
    220220    {
    221 
    222221        if (( isset($_GET['page']) && strpos($_GET['page'], 'mailchimp-for-wp-top-bar') === 0 )) {
    223222            $text = 'If you enjoy using <strong>Mailchimp Top Bar</strong>, please leave us a <a href="https://wordpress.org/support/view/plugin-reviews/mailchimp-top-bar?rate=5#postform" target="_blank">★★★★★</a> rating. A <strong style="text-decoration: underline;">huge</strong> thank you in advance!';
  • mailchimp-top-bar/tags/1.7.3/src/Bar.php

    r3346161 r3370907  
    4545
    4646    /**
    47      * Add the hooks
    48      */
    49     public function add_hooks()
    50     {
    51         add_action('wp', [ $this, 'init' ]);
    52     }
    53 
    54     /**
    55      * Add template related hooks
    56      */
    57     public function add_template_hooks()
    58     {
     47     *
     48     */
     49    public function init()
     50    {
     51        if (! $this->should_show_bar()) {
     52            return;
     53        }
     54
    5955        add_action('wp_enqueue_scripts', [ $this, 'load_assets' ]);
    6056        add_action('wp_head', [ $this, 'output_css' ], 90);
    6157        add_action('wp_footer', [ $this, 'output_html' ], 1);
    62     }
    63 
    64     /**
    65      *
    66      */
    67     public function init()
    68     {
    69         if (! $this->should_show_bar()) {
    70             return;
    71         }
    72 
    73         $this->add_template_hooks();
     58
    7459        $this->listen();
    7560    }
  • mailchimp-top-bar/trunk/CHANGELOG.md

    r3346161 r3370907  
    22==========
    33
    4 ### 1.7.2 - Aug 18, 2025
     4### 1.7.3 - Oct 1, 2025
    55
    66- Minor performance or memory usage related improvements.
     7- Compatibility check with latest WordPress version.
    78
    89
  • mailchimp-top-bar/trunk/mailchimp-top-bar.php

    r3346161 r3370907  
    11<?php
     2
    23/*
    34Plugin Name: MC4WP: Mailchimp Top Bar
    45Plugin URI: https://www.mc4wp.com/
    56Description: Adds a Mailchimp opt-in bar to the top of your site.
    6 Version: 1.7.2
     7Version: 1.7.3
    78Author: ibericode
    8 Author URI: https://ibericode.com/
     9Author URI: https://www.ibericode.com/
    910Text Domain: mailchimp-top-bar
    1011Domain Path: /languages
     
    2930*/
    3031
     32
    3133defined('ABSPATH') or exit;
    3234
     
    4648    define('MAILCHIMP_TOP_BAR_FILE', __FILE__);
    4749    define('MAILCHIMP_TOP_BAR_DIR', __DIR__);
    48     define('MAILCHIMP_TOP_BAR_VERSION', '1.7.2');
     50    define('MAILCHIMP_TOP_BAR_VERSION', '1.7.3');
    4951
    5052    require __DIR__ . '/src/functions.php';
     
    5759        require __DIR__ . '/src/Bar.php';
    5860        $bar = new MailChimp\TopBar\Bar();
    59         $bar->add_hooks();
     61        add_action('wp', [$bar, 'init']);
    6062    }
    6163}, 30);
  • mailchimp-top-bar/trunk/readme.txt

    r3346161 r3370907  
    55Requires at least: 4.9
    66Tested up to: 6.8
    7 Stable tag: 1.7.2
     7Stable tag: 1.7.3
    88License: GPL-3.0-or-later
    99License URI: http://www.gnu.org/licenses/gpl-3.0.html
     
    3939= About the author =
    4040
    41 Mailchimp Top Bar is a plugin by [ibericode](https:/www.ibericode.com/), a small Dutch company that you may known from other plugins like [Mailchimp for WordPress](https://www.mc4wp.com/), [Boxzilla Pop-ups](https://www.boxzillaplugin.com) and [Koko Analytics](https://www.kokoanalytics.com/).
     41Mailchimp Top Bar is a plugin by [ibericode](https:/www.ibericode.com/), a company from The Netherlands that you may know from other plugins like [Mailchimp for WordPress](https://www.mc4wp.com/), [Boxzilla Pop-ups](https://www.boxzillaplugin.com) and [Koko Analytics](https://www.kokoanalytics.com/).
    4242
    4343
     
    126126
    127127
    128 ### 1.7.2 - Aug 18, 2025
     128### 1.7.3 - Oct 1, 2025
    129129
    130130- Minor performance or memory usage related improvements.
     131- Compatibility check with latest WordPress version.
    131132
    132133
  • mailchimp-top-bar/trunk/src/Admin.php

    r3229550 r3370907  
    219219    public function footer_text($text)
    220220    {
    221 
    222221        if (( isset($_GET['page']) && strpos($_GET['page'], 'mailchimp-for-wp-top-bar') === 0 )) {
    223222            $text = 'If you enjoy using <strong>Mailchimp Top Bar</strong>, please leave us a <a href="https://wordpress.org/support/view/plugin-reviews/mailchimp-top-bar?rate=5#postform" target="_blank">★★★★★</a> rating. A <strong style="text-decoration: underline;">huge</strong> thank you in advance!';
  • mailchimp-top-bar/trunk/src/Bar.php

    r3346161 r3370907  
    4545
    4646    /**
    47      * Add the hooks
    48      */
    49     public function add_hooks()
    50     {
    51         add_action('wp', [ $this, 'init' ]);
    52     }
    53 
    54     /**
    55      * Add template related hooks
    56      */
    57     public function add_template_hooks()
    58     {
     47     *
     48     */
     49    public function init()
     50    {
     51        if (! $this->should_show_bar()) {
     52            return;
     53        }
     54
    5955        add_action('wp_enqueue_scripts', [ $this, 'load_assets' ]);
    6056        add_action('wp_head', [ $this, 'output_css' ], 90);
    6157        add_action('wp_footer', [ $this, 'output_html' ], 1);
    62     }
    63 
    64     /**
    65      *
    66      */
    67     public function init()
    68     {
    69         if (! $this->should_show_bar()) {
    70             return;
    71         }
    72 
    73         $this->add_template_hooks();
     58
    7459        $this->listen();
    7560    }
Note: See TracChangeset for help on using the changeset viewer.