From dfd4a4ac36f029e8b845960f588cd92356ec338c Mon Sep 17 00:00:00 2001 From: Andrew Marino Date: Thu, 10 Jun 2021 21:41:15 -0400 Subject: [PATCH 1/3] update link destination for modal --- README.md | 2 +- README.txt | 2 +- juneteenth.php | 2 +- public/class-juneteenth-public.php | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index 8f36536..eb7ee73 100644 --- a/README.md +++ b/README.md @@ -7,7 +7,7 @@ * License: GPLv2 or later * License URI: http://www.gnu.org/licenses/gpl-2.0.html -Spread Juneteenth awareness with this modal that automatically appears on your website on Juneteenth (WCAG 2.1 AA compliant). Links to https://sixnineteen.com/ for more information and to get involved. +Spread Juneteenth awareness with this modal that automatically appears on your website on Juneteenth (WCAG 2.1 AA compliant). ## Installation diff --git a/README.txt b/README.txt index ffe8a27..c01bb7f 100644 --- a/README.txt +++ b/README.txt @@ -7,7 +7,7 @@ Stable tag: 5.4 License: GPLv2 or later License URI: http://www.gnu.org/licenses/gpl-2.0.html -Spread Juneteenth awareness with this modal that automatically appears on your website on Juneteenth (WCAG 2.1 AA compliant). Links to https://sixnineteen.com/ for more information and to get involved. +Spread Juneteenth awareness with this modal that automatically appears on your website on Juneteenth (WCAG 2.1 AA compliant). == Installation == diff --git a/juneteenth.php b/juneteenth.php index 08f012a..f0e4740 100644 --- a/juneteenth.php +++ b/juneteenth.php @@ -8,7 +8,7 @@ * @wordpress-plugin * Plugin Name: Juneteenth Banner * Plugin URI: https://github.com/unitymakesus/juneteenth - * Description: Spread Juneteenth awareness with this modal that automatically appears on your website on Juneteenth (WCAG 2.1 AA compliant). Links to https://sixnineteen.com/ for more information and to get involved. + * Description: Spread Juneteenth awareness with this modal that automatically appears on your website on Juneteenth (WCAG 2.1 AA compliant). * Version: 1.0.1 * Author: Unity Web Agency * Author URI: https://unitywebagency.com/ diff --git a/public/class-juneteenth-public.php b/public/class-juneteenth-public.php index 66085bf..9f42e05 100644 --- a/public/class-juneteenth-public.php +++ b/public/class-juneteenth-public.php @@ -131,7 +131,7 @@ public function its_juneteenth_div() { -

+

From 9b43e76331f6b7d4628bb5c02e243874a08b959f Mon Sep 17 00:00:00 2001 From: Andrew Marino Date: Thu, 10 Jun 2021 21:41:49 -0400 Subject: [PATCH 2/3] bump wp compat and plugin version --- README.md | 4 ++-- README.txt | 4 ++-- juneteenth.php | 6 +++--- package-lock.json | 2 +- package.json | 2 +- 5 files changed, 9 insertions(+), 9 deletions(-) diff --git a/README.md b/README.md index eb7ee73..38c7555 100644 --- a/README.md +++ b/README.md @@ -2,8 +2,8 @@ * Contributors: isabisa, andrewmarino * Tags: juneteenth, modal, a11y * Requires at least: 3.0.1 -* Tested up to: 5.4.2 -* Stable tag: 5.4 +* Tested up to: 5.7.2 +* Stable tag: 5.7 * License: GPLv2 or later * License URI: http://www.gnu.org/licenses/gpl-2.0.html diff --git a/README.txt b/README.txt index c01bb7f..690b555 100644 --- a/README.txt +++ b/README.txt @@ -2,8 +2,8 @@ Contributors: isabisa, andrewmarino Tags: juneteenth, modal, a11y Requires at least: 3.0.1 -Tested up to: 5.4.2 -Stable tag: 5.4 +Tested up to: 5.7.2 +Stable tag: 5.7 License: GPLv2 or later License URI: http://www.gnu.org/licenses/gpl-2.0.html diff --git a/juneteenth.php b/juneteenth.php index f0e4740..61cec0a 100644 --- a/juneteenth.php +++ b/juneteenth.php @@ -9,7 +9,7 @@ * Plugin Name: Juneteenth Banner * Plugin URI: https://github.com/unitymakesus/juneteenth * Description: Spread Juneteenth awareness with this modal that automatically appears on your website on Juneteenth (WCAG 2.1 AA compliant). - * Version: 1.0.1 + * Version: 1.0.2 * Author: Unity Web Agency * Author URI: https://unitywebagency.com/ * License: GPL-2.0+ @@ -28,7 +28,7 @@ * Start at version 1.0.0 and use SemVer - https://semver.org * Rename this for your plugin and update it as you release new versions. */ -define( 'JUNETEENTH_VERSION', '1.0.1' ); +define( 'JUNETEENTH_VERSION', '1.0.2' ); /** * The code that runs during plugin activation. @@ -71,7 +71,7 @@ function run_juneteenth() { * Only run if current time (based on setting's configured Timezone) * is during Juneteenth. */ - $juneteenth = '619'; + $juneteenth = '610'; $current_time = current_time('nj', false); if ($juneteenth == $current_time) { diff --git a/package-lock.json b/package-lock.json index 8a175ac..1f983a6 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,6 +1,6 @@ { "name": "juneteenth", - "version": "1.0.0", + "version": "1.0.2", "lockfileVersion": 1, "requires": true, "dependencies": { diff --git a/package.json b/package.json index 729a556..678b5f8 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "juneteenth", - "version": "1.0.0", + "version": "1.0.2", "description": "", "main": "index.js", "babel": { From cb32d3c01f51bcc66018673d1ffd6a15fac3df28 Mon Sep 17 00:00:00 2001 From: Andrew Marino Date: Thu, 10 Jun 2021 21:44:03 -0400 Subject: [PATCH 3/3] set correct date for current date check conditional this was temporarily set to 6-10 for testing ahead of time --- juneteenth.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/juneteenth.php b/juneteenth.php index 61cec0a..f6ada5a 100644 --- a/juneteenth.php +++ b/juneteenth.php @@ -71,7 +71,7 @@ function run_juneteenth() { * Only run if current time (based on setting's configured Timezone) * is during Juneteenth. */ - $juneteenth = '610'; + $juneteenth = '619'; $current_time = current_time('nj', false); if ($juneteenth == $current_time) {