From fc71ee70c70c76ea48d9f6ecf03df20073626f08 Mon Sep 17 00:00:00 2001 From: SM Date: Thu, 3 Sep 2020 11:19:27 -1000 Subject: [PATCH 1/4] fix: enqueue jQuery Migrate manually (WordPress 5.5 compatibility) --- model.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/model.php b/model.php index 0efd54b..dd1fdca 100644 --- a/model.php +++ b/model.php @@ -543,8 +543,8 @@ function admin_scripts() { wp_enqueue_script('media-upload'); $h_admin = $this->add_prefix('admin_script'); $h_media = $this->add_prefix('media'); - wp_enqueue_script($h_admin, $this->util->get_file_url('js/admin.js'), array('jquery', 'thickbox')); - wp_enqueue_script($h_media, $this->util->get_file_url('js/media.js'), array('jquery', $h_admin)); + wp_enqueue_script($h_admin, $this->util->get_file_url('js/admin.js'), array('jquery-migrate', 'jquery', 'thickbox')); + wp_enqueue_script($h_media, $this->util->get_file_url('js/media.js'), array('jquery-migrate', 'jquery', $h_admin)); } /** From e04ab1478361c3f2c72366628bf33488e375baf5 Mon Sep 17 00:00:00 2001 From: SM Date: Thu, 3 Sep 2020 11:27:30 -1000 Subject: [PATCH 2/4] meta: confirm WordPress 5.5 compatibility --- readme.txt | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/readme.txt b/readme.txt index 3809432..16e43b1 100644 --- a/readme.txt +++ b/readme.txt @@ -3,7 +3,7 @@ Contributors: Archetyped Donate link: http://mycharitywater.org/archetyped-2012-fall Tags: favicon,icon,template,theme,customization,simple,media,touch,ios,android Requires at least: 5.4 -Tested up to: 5.4 +Tested up to: 5.5 Stable tag: trunk Easily set site favicon and even rotate through multiple icons @@ -49,6 +49,9 @@ No upgrade notices == Changelog == += 1.2.9 = +* Optimize: WordPress 5.5 Compatibility + = 1.2.8 = * Optimize: WordPress 5.4 Compatibility From e8a51ecdb5c03957163c8dcb003cc65801cbb4ae Mon Sep 17 00:00:00 2001 From: SM Date: Thu, 3 Sep 2020 11:29:51 -1000 Subject: [PATCH 3/4] style: optimize readme formatting --- readme.txt | 2 ++ 1 file changed, 2 insertions(+) diff --git a/readme.txt b/readme.txt index 16e43b1..d1f93fc 100644 --- a/readme.txt +++ b/readme.txt @@ -13,12 +13,14 @@ Easily set site favicon and even rotate through multiple icons Favicon Rotator makes it easy to customize the favicon for your site. Just add a favicon via the administration page and it will be displayed whenever someone visits your site. #### Highlights + * **New: Set icon for Touch devices (Android, iPhone, iPad, iPod Touch, etc.)** * Simply point and click to add a favicon to your site * Supports adding **multiple icons**, from which a **randomly selected** favicon will be displayed. * Automatic icon conversion for large images (smaller files and faster loading) #### Usage + 1. Go to **Theme > Favicon** admin page to add/upload image(s) to use for the favicon **That's it! The favicon will be displayed in visitors' browsers when they visit your site** From d23d9adac5a6e2561fdba7aa17226a4373c64bad Mon Sep 17 00:00:00 2001 From: SM Date: Thu, 3 Sep 2020 11:34:09 -1000 Subject: [PATCH 4/4] Prep release (v1.2.9) --- main.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main.php b/main.php index 8e022c0..2d06816 100644 --- a/main.php +++ b/main.php @@ -3,7 +3,7 @@ Plugin Name: Favicon Rotator Plugin URI: http://archetyped.com/tools/favicon-rotator/ Description: Easily set site favicon and even rotate through multiple icons -Version: 0.0.0-dev +Version: 1.2.9 Author: Archetyped Author URI: http://archetyped.com Text Domain: favicon-rotator