From 0cd8c43f84c84fe207aa49c7ef40281842a271a6 Mon Sep 17 00:00:00 2001 From: Alexander Agnarson Date: Fri, 5 Mar 2021 17:09:53 +0100 Subject: [PATCH] 3.1.1 --- footer.php | 2 +- functions.php | 2 +- functions/nav.php | 6 ++--- functions/updater/theme-updater.php | 2 +- header.php | 6 ++--- readme.txt | 42 ++++++++++++++++++++--------- 6 files changed, 39 insertions(+), 21 deletions(-) diff --git a/footer.php b/footer.php index da3fcca..8706d15 100644 --- a/footer.php +++ b/footer.php @@ -41,7 +41,7 @@ diff --git a/functions.php b/functions.php index 4a3bb88..366d249 100644 --- a/functions.php +++ b/functions.php @@ -98,7 +98,7 @@ add_action( 'after_setup_theme', 'magaziner_setup' ); /* ------------------------------------ */ add_action( 'wp', function() { require_once 'functions/nav.php'; - $nav = new \AlxMedia\Nav(); + $nav = new \Magaziner\Nav(); $nav->enqueue( [ 'script' => 'js/nav.js', diff --git a/functions/nav.php b/functions/nav.php index cd3c028..6e5bec4 100644 --- a/functions/nav.php +++ b/functions/nav.php @@ -3,7 +3,7 @@ * An accessible and mobile-friendly implementation for navigation menus. */ -namespace AlxMedia; +namespace Magaziner; /** * Object containing all methods and hooks to modify default menus. @@ -46,7 +46,7 @@ class Nav { * * @var string */ - protected $handle_prefix = 'alxmedia-nav'; + protected $handle_prefix = 'magaziner-nav'; /** * Init. @@ -56,7 +56,7 @@ class Nav { * @return void */ public function init() { - if ( apply_filters( 'alxmedia_disable_nav_mods', false ) ) { + if ( apply_filters( 'magaziner_disable_nav_mods', false ) ) { return; } add_filter( 'walker_nav_menu_start_el', [ $this, 'add_nav_sub_menu_buttons' ], 10, 4 ); diff --git a/functions/updater/theme-updater.php b/functions/updater/theme-updater.php index bbce6cf..48d7603 100644 --- a/functions/updater/theme-updater.php +++ b/functions/updater/theme-updater.php @@ -18,7 +18,7 @@ $updater = new EDD_Theme_Updater_Admin( 'remote_api_url' => 'https://alx.media', // Site where EDD is hosted 'item_name' => 'Magaziner', // Name of theme 'theme_slug' => 'magaziner', // Theme slug - 'version' => '3.1.0', // The current version of this theme + 'version' => '3.1.1', // The current version of this theme 'author' => 'AlxMedia', // The author of this theme 'download_id' => '', // Optional, used for generating a license renewal link 'renew_url' => '', // Optional, allows for a custom license renewal link diff --git a/header.php b/header.php index cae93aa..88b04c6 100644 --- a/header.php +++ b/header.php @@ -34,13 +34,13 @@
- 'mobile','menu_id' => 'nav-mobile','fallback_cb'=> false)); ?> + 'mobile','menu_id' => 'nav-mobile','fallback_cb'=> false)); ?>
- 'topbar','menu_id' => 'nav-topbar','fallback_cb'=> false)); ?> + 'topbar','menu_id' => 'nav-topbar','fallback_cb'=> false)); ?>
@@ -86,7 +86,7 @@
- 'header','menu_id' => 'nav-header','fallback_cb'=> false)); ?> + 'header','menu_id' => 'nav-header','fallback_cb'=> false)); ?>
diff --git a/readme.txt b/readme.txt index 8a32530..808c86b 100644 --- a/readme.txt +++ b/readme.txt @@ -1,7 +1,7 @@ === Magaziner === Contributors: alxmedia Requires at least: 5.0 -Tested up to: 5.5 +Tested up to: 5.6 License: GPLv3 License URI: http://www.gnu.org/licenses/gpl-3.0.html Tags: blog, one-column, two-columns, three-columns, right-sidebar, left-sidebar, custom-colors, custom-menu, featured-images, flexible-header, full-width-template, post-formats, sticky-post, theme-options, threaded-comments, translation-ready, custom-logo, custom-header, custom-background @@ -23,7 +23,7 @@ http://alx.media/documentation/ == Copyright == -Magaziner WordPress Theme, Copyright 2019 AlxMedia +Magaziner WordPress Theme, Copyright 2021 AlxMedia Magaziner is distributed under the terms of the GNU GPL This program is free software: you can redistribute it and/or modify @@ -38,36 +38,54 @@ GNU General Public License for more details. Magaziner bundles the following third-party resources: -Font Awesome, Copyright Dave Gandy +Font Awesome +Copyright (c) Dave Gandy License: SIL OFL 1.1 (Fonts); MIT (CSS) -Source: http://fontawesome.com/ +Source: https://fontawesome.com/ -Titillium font, Copyright Accademia di Belle Arti di Urbino -License: SIL Open Font License, version 1.1. +Titillium Font +Copyright (c) Accademia di Belle Arti di Urbino +License: SIL OFL 1.1 Source: http://www.campivisivi.net/titillium/ -Flexslider, Copyright WooThemes +Flexslider +Copyright (c) WooThemes License: GPLv2 or later Source: http://flexslider.woothemes.com/ -OwlCarousel, Copyright Bartosz Wojciechowski +OwlCarousel +Copyright (c) Bartosz Wojciechowski License: MIT Source: http://www.owlgraphic.com/owlcarousel/ -FitVids, Copyright Chris Coyier +FitVids +Copyright (c) Chris Coyier License: WTFPL Source: http://fitvidsjs.com/ -Kirki, Copyright Aristeides Stathopoulos +Kirki +Copyright (c) David Vongries License: MIT -Source: https://github.com/aristath/kirki +Source: https://kirki.org/ Screenshot images License: CC0 1.0 Universal (CC0 1.0) -Source: http://pixabay.com/ +Source: https://stocksnap.io == Changelog == += 3.1.1 - 2021-03-05 = +* Fixed: mobile menu tabbing will enter in the menu even when it's closed +* Fixed: trap focus in search popup +* Fixed: prefix for custom menu names and classes +* Fixed: readme format to declare license information +* Fixed: make sure that the pingback_url is conditional since pings can be turned off +* Fixed: added no minified font awesome css +* Increased menu dropdown width +* Added option to disable custom navigation in child themes +* Updated language files +* Updated to Font Awesome Free 5.15.2 + = 3.1.0 - 2020-12-05 = * Added and made search button visible for mobile header menu * Fixed broken icons for archive headings