diff --git a/functions.php b/functions.php index a89305d..48000df 100644 --- a/functions.php +++ b/functions.php @@ -98,8 +98,10 @@ add_action( 'after_setup_theme', 'featureon_setup' ); /* Custom navigation /* ------------------------------------ */ -add_action( 'wp', function() { +if ( ! class_exists( '\Featureon\Nav' ) ) { require_once 'functions/nav.php'; +} +add_action( 'wp', function() { $nav = new \Featureon\Nav(); $nav->enqueue( [ diff --git a/languages/featureon.pot b/languages/featureon.pot index 874ffd4..0dbe501 100644 --- a/languages/featureon.pot +++ b/languages/featureon.pot @@ -2,7 +2,7 @@ msgid "" msgstr "" "Project-Id-Version: Featureon\n" -"POT-Creation-Date: 2021-03-05 15:47+0100\n" +"POT-Creation-Date: 2021-05-25 14:21+0200\n" "PO-Revision-Date: 2018-09-21 21:27+0100\n" "Last-Translator: \n" "Language-Team: \n" @@ -78,83 +78,83 @@ msgstr "" msgid "Footer" msgstr "" -#: functions.php:184 +#: functions.php:186 msgid "Primary" msgstr "" -#: functions.php:184 functions.php:185 +#: functions.php:186 functions.php:187 msgid "Normal full width sidebar" msgstr "" -#: functions.php:185 +#: functions.php:187 msgid "Secondary" msgstr "" -#: functions.php:187 functions/theme-options.php:295 +#: functions.php:189 functions/theme-options.php:295 msgid "Header Ads" msgstr "" -#: functions.php:188 functions/theme-options.php:322 +#: functions.php:190 functions/theme-options.php:322 msgid "Footer Ads" msgstr "" -#: functions.php:188 +#: functions.php:190 msgid "Footer ads area" msgstr "" -#: functions.php:190 +#: functions.php:192 msgid "Frontpage Top 1" msgstr "" -#: functions.php:190 functions.php:191 functions.php:192 functions.php:193 +#: functions.php:192 functions.php:193 functions.php:194 functions.php:195 msgid "Frontpage area" msgstr "" -#: functions.php:191 +#: functions.php:193 msgid "Frontpage Top 2" msgstr "" -#: functions.php:192 +#: functions.php:194 msgid "Frontpage Bottom 1" msgstr "" -#: functions.php:193 +#: functions.php:195 msgid "Frontpage Bottom 2" msgstr "" -#: functions.php:195 +#: functions.php:197 msgid "Footer 1" msgstr "" -#: functions.php:195 functions.php:196 functions.php:197 functions.php:198 +#: functions.php:197 functions.php:198 functions.php:199 functions.php:200 msgid "Widgetized footer" msgstr "" -#: functions.php:196 +#: functions.php:198 msgid "Footer 2" msgstr "" -#: functions.php:197 +#: functions.php:199 msgid "Footer 3" msgstr "" -#: functions.php:198 +#: functions.php:200 msgid "Footer 4" msgstr "" -#: functions.php:693 +#: functions.php:695 msgid "Alx Extensions" msgstr "" -#: functions.php:697 +#: functions.php:699 msgid "Meta Box" msgstr "" -#: functions.php:701 +#: functions.php:703 msgid "Regenerate Thumbnails" msgstr "" -#: functions.php:705 +#: functions.php:707 msgid "WP-PageNavi" msgstr "" diff --git a/readme.txt b/readme.txt index 2d5ba93..011d4d0 100644 --- a/readme.txt +++ b/readme.txt @@ -74,6 +74,10 @@ Source: https://stocksnap.io == Changelog == += 2.4.3 - 2021-05-25 = +* Fixed compatibility issue with custom nav and various security plugins +* Updated language files + = 2.4.2 - 2021-03-05 = * Fixed: mobile menu tabbing will enter in the menu even when it's closed * Fixed: trap focus in search popup diff --git a/style.css b/style.css index 7d27a67..aae9d7a 100644 --- a/style.css +++ b/style.css @@ -1,7 +1,7 @@ /* Theme Name: Featureon Theme URI: http://alx.media/themes/featureon/ -Version: 2.4.2 +Version: 2.4.3 Requires at least: 5.0 Requires PHP: 5.6 Tested up to: 5.6