Changeset 3370907
- Timestamp:
- 10/01/2025 07:25:37 AM (2 months ago)
- Location:
- mailchimp-top-bar
- Files:
-
- 10 edited
- 1 copied
-
tags/1.7.3 (copied) (copied from mailchimp-top-bar/trunk)
-
tags/1.7.3/CHANGELOG.md (modified) (1 diff)
-
tags/1.7.3/mailchimp-top-bar.php (modified) (4 diffs)
-
tags/1.7.3/readme.txt (modified) (3 diffs)
-
tags/1.7.3/src/Admin.php (modified) (1 diff)
-
tags/1.7.3/src/Bar.php (modified) (1 diff)
-
trunk/CHANGELOG.md (modified) (1 diff)
-
trunk/mailchimp-top-bar.php (modified) (4 diffs)
-
trunk/readme.txt (modified) (3 diffs)
-
trunk/src/Admin.php (modified) (1 diff)
-
trunk/src/Bar.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
mailchimp-top-bar/tags/1.7.3/CHANGELOG.md
r3346161 r3370907 2 2 ========== 3 3 4 ### 1.7. 2 - Aug 18, 20254 ### 1.7.3 - Oct 1, 2025 5 5 6 6 - Minor performance or memory usage related improvements. 7 - Compatibility check with latest WordPress version. 7 8 8 9 -
mailchimp-top-bar/tags/1.7.3/mailchimp-top-bar.php
r3346161 r3370907 1 1 <?php 2 2 3 /* 3 4 Plugin Name: MC4WP: Mailchimp Top Bar 4 5 Plugin URI: https://www.mc4wp.com/ 5 6 Description: Adds a Mailchimp opt-in bar to the top of your site. 6 Version: 1.7. 27 Version: 1.7.3 7 8 Author: ibericode 8 Author URI: https:// ibericode.com/9 Author URI: https://www.ibericode.com/ 9 10 Text Domain: mailchimp-top-bar 10 11 Domain Path: /languages … … 29 30 */ 30 31 32 31 33 defined('ABSPATH') or exit; 32 34 … … 46 48 define('MAILCHIMP_TOP_BAR_FILE', __FILE__); 47 49 define('MAILCHIMP_TOP_BAR_DIR', __DIR__); 48 define('MAILCHIMP_TOP_BAR_VERSION', '1.7. 2');50 define('MAILCHIMP_TOP_BAR_VERSION', '1.7.3'); 49 51 50 52 require __DIR__ . '/src/functions.php'; … … 57 59 require __DIR__ . '/src/Bar.php'; 58 60 $bar = new MailChimp\TopBar\Bar(); 59 $bar->add_hooks();61 add_action('wp', [$bar, 'init']); 60 62 } 61 63 }, 30); -
mailchimp-top-bar/tags/1.7.3/readme.txt
r3346161 r3370907 5 5 Requires at least: 4.9 6 6 Tested up to: 6.8 7 Stable tag: 1.7. 27 Stable tag: 1.7.3 8 8 License: GPL-3.0-or-later 9 9 License URI: http://www.gnu.org/licenses/gpl-3.0.html … … 39 39 = About the author = 40 40 41 Mailchimp Top Bar is a plugin by [ibericode](https:/www.ibericode.com/), a small Dutch company that you may knownfrom other plugins like [Mailchimp for WordPress](https://www.mc4wp.com/), [Boxzilla Pop-ups](https://www.boxzillaplugin.com) and [Koko Analytics](https://www.kokoanalytics.com/).41 Mailchimp 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/). 42 42 43 43 … … 126 126 127 127 128 ### 1.7. 2 - Aug 18, 2025128 ### 1.7.3 - Oct 1, 2025 129 129 130 130 - Minor performance or memory usage related improvements. 131 - Compatibility check with latest WordPress version. 131 132 132 133 -
mailchimp-top-bar/tags/1.7.3/src/Admin.php
r3229550 r3370907 219 219 public function footer_text($text) 220 220 { 221 222 221 if (( isset($_GET['page']) && strpos($_GET['page'], 'mailchimp-for-wp-top-bar') === 0 )) { 223 222 $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 45 45 46 46 /** 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 59 55 add_action('wp_enqueue_scripts', [ $this, 'load_assets' ]); 60 56 add_action('wp_head', [ $this, 'output_css' ], 90); 61 57 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 74 59 $this->listen(); 75 60 } -
mailchimp-top-bar/trunk/CHANGELOG.md
r3346161 r3370907 2 2 ========== 3 3 4 ### 1.7. 2 - Aug 18, 20254 ### 1.7.3 - Oct 1, 2025 5 5 6 6 - Minor performance or memory usage related improvements. 7 - Compatibility check with latest WordPress version. 7 8 8 9 -
mailchimp-top-bar/trunk/mailchimp-top-bar.php
r3346161 r3370907 1 1 <?php 2 2 3 /* 3 4 Plugin Name: MC4WP: Mailchimp Top Bar 4 5 Plugin URI: https://www.mc4wp.com/ 5 6 Description: Adds a Mailchimp opt-in bar to the top of your site. 6 Version: 1.7. 27 Version: 1.7.3 7 8 Author: ibericode 8 Author URI: https:// ibericode.com/9 Author URI: https://www.ibericode.com/ 9 10 Text Domain: mailchimp-top-bar 10 11 Domain Path: /languages … … 29 30 */ 30 31 32 31 33 defined('ABSPATH') or exit; 32 34 … … 46 48 define('MAILCHIMP_TOP_BAR_FILE', __FILE__); 47 49 define('MAILCHIMP_TOP_BAR_DIR', __DIR__); 48 define('MAILCHIMP_TOP_BAR_VERSION', '1.7. 2');50 define('MAILCHIMP_TOP_BAR_VERSION', '1.7.3'); 49 51 50 52 require __DIR__ . '/src/functions.php'; … … 57 59 require __DIR__ . '/src/Bar.php'; 58 60 $bar = new MailChimp\TopBar\Bar(); 59 $bar->add_hooks();61 add_action('wp', [$bar, 'init']); 60 62 } 61 63 }, 30); -
mailchimp-top-bar/trunk/readme.txt
r3346161 r3370907 5 5 Requires at least: 4.9 6 6 Tested up to: 6.8 7 Stable tag: 1.7. 27 Stable tag: 1.7.3 8 8 License: GPL-3.0-or-later 9 9 License URI: http://www.gnu.org/licenses/gpl-3.0.html … … 39 39 = About the author = 40 40 41 Mailchimp Top Bar is a plugin by [ibericode](https:/www.ibericode.com/), a small Dutch company that you may knownfrom other plugins like [Mailchimp for WordPress](https://www.mc4wp.com/), [Boxzilla Pop-ups](https://www.boxzillaplugin.com) and [Koko Analytics](https://www.kokoanalytics.com/).41 Mailchimp 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/). 42 42 43 43 … … 126 126 127 127 128 ### 1.7. 2 - Aug 18, 2025128 ### 1.7.3 - Oct 1, 2025 129 129 130 130 - Minor performance or memory usage related improvements. 131 - Compatibility check with latest WordPress version. 131 132 132 133 -
mailchimp-top-bar/trunk/src/Admin.php
r3229550 r3370907 219 219 public function footer_text($text) 220 220 { 221 222 221 if (( isset($_GET['page']) && strpos($_GET['page'], 'mailchimp-for-wp-top-bar') === 0 )) { 223 222 $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 45 45 46 46 /** 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 59 55 add_action('wp_enqueue_scripts', [ $this, 'load_assets' ]); 60 56 add_action('wp_head', [ $this, 'output_css' ], 90); 61 57 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 74 59 $this->listen(); 75 60 }
Note: See TracChangeset
for help on using the changeset viewer.