From 9dd1df4602e2caf55c31e7a3b9d102a476d9a52c Mon Sep 17 00:00:00 2001 From: JiveDig Date: Fri, 19 Jan 2024 16:20:29 -0500 Subject: [PATCH 1/2] even more efficient no-js to js code --- assets/lang/mai-engine.pot | 104 ++++++++++++++++++------------------- lib/functions/enqueue.php | 2 +- 2 files changed, 53 insertions(+), 53 deletions(-) diff --git a/assets/lang/mai-engine.pot b/assets/lang/mai-engine.pot index 9a448e99f..dd19caa26 100644 --- a/assets/lang/mai-engine.pot +++ b/assets/lang/mai-engine.pot @@ -1,17 +1,17 @@ -# Copyright (C) 2023 BizBudding +# Copyright (C) 2024 BizBudding # This file is distributed under the GPL-2.0-or-later. msgid "" msgstr "" -"Project-Id-Version: Mai Engine 2.30.1\n" +"Project-Id-Version: Mai Engine 2.32.1\n" "Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/mai-engine\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" -"POT-Creation-Date: 2023-08-16T20:21:00+00:00\n" +"POT-Creation-Date: 2024-01-19T20:08:34+00:00\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" -"X-Generator: WP-CLI 2.7.1\n" +"X-Generator: WP-CLI 2.9.0\n" "X-Domain: mai-engine\n" #. Plugin Name of the plugin @@ -44,7 +44,7 @@ msgstr "" msgid "Corporate" msgstr "" -#: config/studio.php:35 +#: config/studio.php:36 msgid "Studio" msgstr "" @@ -115,7 +115,7 @@ msgstr "" #: lib/admin/admin-menu.php:28 #: lib/admin/admin-menu.php:29 #: lib/functions/deprecated.php:289 -#: lib/functions/utilities.php:1755 +#: lib/functions/utilities.php:1486 msgid "Mai Theme" msgstr "" @@ -303,8 +303,8 @@ msgstr "" #: lib/fields/grid-display.php:491 #: lib/functions/customizer.php:387 #: lib/functions/customizer.php:983 -#: lib/functions/loop.php:506 -#: lib/functions/loop.php:539 +#: lib/functions/loop.php:511 +#: lib/functions/loop.php:544 msgid "Header Meta" msgstr "" @@ -315,8 +315,8 @@ msgstr "" #: lib/fields/grid-display.php:506 #: lib/functions/customizer.php:424 #: lib/functions/customizer.php:1013 -#: lib/functions/loop.php:510 -#: lib/functions/loop.php:543 +#: lib/functions/loop.php:515 +#: lib/functions/loop.php:548 msgid "Custom Content" msgstr "" @@ -325,8 +325,8 @@ msgstr "" #: lib/fields/grid-display.php:581 #: lib/functions/customizer.php:476 #: lib/functions/customizer.php:998 -#: lib/functions/loop.php:514 -#: lib/functions/loop.php:547 +#: lib/functions/loop.php:519 +#: lib/functions/loop.php:552 msgid "Footer Meta" msgstr "" @@ -336,7 +336,7 @@ msgid "After Entry" msgstr "" #: lib/admin/hide-elements.php:160 -#: lib/functions/loop.php:549 +#: lib/functions/loop.php:554 msgid "Author Box" msgstr "" @@ -370,8 +370,8 @@ msgstr "" #: lib/admin/page-header.php:88 #: lib/admin/term-image.php:56 #: lib/fields/grid-display.php:190 -#: lib/functions/loop.php:503 -#: lib/functions/loop.php:536 +#: lib/functions/loop.php:508 +#: lib/functions/loop.php:541 msgid "Image" msgstr "" @@ -802,8 +802,8 @@ msgstr "" #: lib/classes/class-mai-setup-wizard-fields.php:241 #: lib/classes/class-mai-setup-wizard-steps.php:202 #: lib/fields/grid-display.php:194 -#: lib/functions/loop.php:509 -#: lib/functions/loop.php:542 +#: lib/functions/loop.php:514 +#: lib/functions/loop.php:547 msgid "Content" msgstr "" @@ -1189,7 +1189,7 @@ msgstr "" #: lib/fields/grid-display.php:568 #: lib/functions/colors.php:256 #: lib/functions/customizer.php:464 -#: lib/functions/utilities.php:1684 +#: lib/functions/utilities.php:1415 msgid "Link" msgstr "" @@ -1699,7 +1699,7 @@ msgstr "" #: lib/classes/class-mai-setup-wizard-steps.php:314 #: lib/structure/pagination.php:218 #: lib/support/facetwp.php:61 -#: lib/support/woocommerce.php:127 +#: lib/support/woocommerce.php:129 msgid "Previous" msgstr "" @@ -2002,7 +2002,7 @@ msgid "Menu Toggle" msgstr "" #: lib/customize/site-header.php:71 -#: lib/functions/utilities.php:1570 +#: lib/functions/utilities.php:1285 #: lib/structure/menus.php:385 msgid "Search" msgstr "" @@ -2044,17 +2044,17 @@ msgid "Miscellaneous" msgstr "" #: lib/customize/site-layouts.php:189 -#: lib/functions/utilities.php:678 +#: lib/functions/utilities.php:393 msgid "Search Results" msgstr "" #: lib/customize/site-layouts.php:201 -#: lib/functions/utilities.php:679 +#: lib/functions/utilities.php:394 msgid "Author Archives" msgstr "" #: lib/customize/site-layouts.php:213 -#: lib/functions/utilities.php:680 +#: lib/functions/utilities.php:395 msgid "Date Archives" msgstr "" @@ -2147,18 +2147,18 @@ msgstr "" #: lib/fields/grid-display.php:191 #: lib/fields/wp-query.php:767 #: lib/fields/wp-term-query.php:548 -#: lib/functions/loop.php:505 -#: lib/functions/loop.php:538 +#: lib/functions/loop.php:510 +#: lib/functions/loop.php:543 msgid "Title" msgstr "" #: lib/fields/grid-display.php:193 -#: lib/functions/loop.php:508 +#: lib/functions/loop.php:513 msgid "Excerpt" msgstr "" #: lib/fields/grid-display.php:196 -#: lib/functions/loop.php:512 +#: lib/functions/loop.php:517 msgid "Read More link" msgstr "" @@ -2284,7 +2284,7 @@ msgstr "" #: lib/functions/customizer.php:508 #: lib/functions/customizer.php:889 #: lib/functions/customizer.php:1096 -#: lib/functions/utilities.php:600 +#: lib/functions/utilities.php:315 #: assets/js/blocks/layout-settings.js:625 #: assets/js/blocks/layout-settings.js:726 #: assets/js/min/blocks.js:1263 @@ -2829,15 +2829,15 @@ msgstr "" msgid "Custom" msgstr "" -#: lib/functions/loop.php:541 +#: lib/functions/loop.php:546 msgid "Manual Excerpts" msgstr "" -#: lib/functions/loop.php:550 +#: lib/functions/loop.php:555 msgid "After Entry Content Area" msgstr "" -#: lib/functions/loop.php:551 +#: lib/functions/loop.php:556 msgid "Previous/Next Entry Nav" msgstr "" @@ -2952,62 +2952,62 @@ msgstr "" msgid "template part already exists" msgstr "" -#: lib/functions/utilities.php:642 -#: lib/functions/utilities.php:701 +#: lib/functions/utilities.php:357 +#: lib/functions/utilities.php:416 msgid "Post" msgstr "" -#: lib/functions/utilities.php:702 +#: lib/functions/utilities.php:417 msgid "Page" msgstr "" -#: lib/functions/utilities.php:1268 -#: lib/functions/utilities.php:1284 +#: lib/functions/utilities.php:983 +#: lib/functions/utilities.php:999 msgid "Updated" msgstr "" -#: lib/functions/utilities.php:1317 -#: lib/functions/utilities.php:1330 +#: lib/functions/utilities.php:1032 +#: lib/functions/utilities.php:1045 msgid "ago" msgstr "" -#: lib/functions/utilities.php:1513 +#: lib/functions/utilities.php:1228 msgid "Search..." msgstr "" -#: lib/functions/utilities.php:1681 +#: lib/functions/utilities.php:1412 msgid "Primary" msgstr "" -#: lib/functions/utilities.php:1682 +#: lib/functions/utilities.php:1413 msgid "Secondary" msgstr "" -#: lib/functions/utilities.php:1683 +#: lib/functions/utilities.php:1414 msgid "Outline" msgstr "" -#: lib/functions/utilities.php:1752 +#: lib/functions/utilities.php:1483 msgid "View available shortcodes from" msgstr "" -#: lib/functions/utilities.php:1753 +#: lib/functions/utilities.php:1484 msgid "Genesis" msgstr "" -#: lib/functions/utilities.php:1754 +#: lib/functions/utilities.php:1485 msgid "and" msgstr "" -#: lib/init.php:144 +#: lib/init.php:36 msgid "Your theme does not support the " msgstr "" -#: lib/init.php:146 +#: lib/init.php:38 msgid " plugin. As a result, " msgstr "" -#: lib/init.php:148 +#: lib/init.php:40 msgid " has been deactivated." msgstr "" @@ -3049,7 +3049,7 @@ msgstr "" #: lib/structure/pagination.php:230 #: lib/support/facetwp.php:86 -#: lib/support/woocommerce.php:128 +#: lib/support/woocommerce.php:130 msgid "Next" msgstr "" @@ -3061,12 +3061,12 @@ msgstr "" msgid "Go to page" msgstr "" -#: lib/support/woocommerce.php:230 +#: lib/support/woocommerce.php:232 msgid "Edit Page" msgstr "" -#: mai-engine.php:76 -#: mai-engine.php:88 +#: mai-engine.php:78 +#: mai-engine.php:90 msgid "Cheatin’ huh?" msgstr "" diff --git a/lib/functions/enqueue.php b/lib/functions/enqueue.php index 46d4e1099..7b527263d 100644 --- a/lib/functions/enqueue.php +++ b/lib/functions/enqueue.php @@ -39,7 +39,7 @@ * @return void */ function mai_js_nojs_script() { - echo ""; + echo ""; } add_action( 'wp_enqueue_scripts', 'mai_enqueue_assets' ); From 93f572dec18a77dc027e7b60b5c9315e189460bd Mon Sep 17 00:00:00 2001 From: JiveDig Date: Fri, 19 Jan 2024 16:21:56 -0500 Subject: [PATCH 2/2] 2.32.2 --- CHANGES.md | 3 +++ mai-engine.php | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/CHANGES.md b/CHANGES.md index 9ae941011..57ab7caa8 100644 --- a/CHANGES.md +++ b/CHANGES.md @@ -1,5 +1,8 @@ # Changelog +## 2.32.2 (1/19/24) +* Fixed: Even more efficient JS to change no-js to js class on the body. In some instances, this class change was not firing. + ## 2.32.1 (1/19/24) * Fixed: Encoded special characters were displaying on the front end in some configurations. diff --git a/mai-engine.php b/mai-engine.php index 8b3aefad9..0e799d76b 100644 --- a/mai-engine.php +++ b/mai-engine.php @@ -6,7 +6,7 @@ * Plugin URI: https://bizbudding.com/mai-theme/ * GitHub Plugin URI: https://github.com/maithemewp/mai-engine/ * Description: The required plugin to power Mai child themes. - * Version: 2.32.1 + * Version: 2.32.2 * Requires at least: 6.4 * Requires PHP: 7.4 * Author: BizBudding