Version Description
- Use Webp extension for preview images.
- Simplify the Widget names.
- Introduce
Utils::array_map_recursive
method for deep sanitization. - Support multidimensional arrays in debug overrides.
- Tested to WordPress 5.8.3.
- Required PRO version 8.5.0+.
Download this release
Release Info
Developer | Mat Lipe |
Plugin | Advanced Sidebar Menu |
Version | 8.7.0 |
Comparing to | |
See all releases |
Code changes from version 8.6.4 to 8.7.0
- advanced-sidebar-menu.php +3 -3
- languages/advanced-sidebar-menu-de_DE.mo +0 -0
- languages/advanced-sidebar-menu-de_DE.po +18 -18
- languages/advanced-sidebar-menu-es_ES.mo +0 -0
- languages/advanced-sidebar-menu-es_ES.po +17 -17
- languages/advanced-sidebar-menu-fr_FR.mo +0 -0
- languages/advanced-sidebar-menu-fr_FR.po +20 -20
- languages/advanced-sidebar-menu.pot +16 -15
- readme.txt +10 -2
- src/Debug.php +4 -1
- src/Notice.php +5 -5
- src/Utils.php +28 -0
- src/Widget/Category.php +1 -1
- src/Widget/Page.php +1 -1
advanced-sidebar-menu.php
CHANGED
@@ -4,7 +4,7 @@
|
|
4 |
* Plugin URI: https://onpointplugins.com/advanced-sidebar-menu/
|
5 |
* Description: Creates dynamic menus based on parent/child relationship of your pages or categories.
|
6 |
* Author: OnPoint Plugins
|
7 |
-
* Version: 8.
|
8 |
* Author URI: https://onpointplugins.com
|
9 |
* Text Domain: advanced-sidebar-menu
|
10 |
* Domain Path: /languages/
|
@@ -19,8 +19,8 @@ if ( defined( 'ADVANCED_SIDEBAR_BASIC_VERSION' ) ) {
|
|
19 |
return;
|
20 |
}
|
21 |
|
22 |
-
define( 'ADVANCED_SIDEBAR_BASIC_VERSION', '8.
|
23 |
-
define( 'ADVANCED_SIDEBAR_MENU_REQUIRED_PRO_VERSION', '8.
|
24 |
define( 'ADVANCED_SIDEBAR_DIR', plugin_dir_path( __FILE__ ) );
|
25 |
define( 'ADVANCED_SIDEBAR_MENU_URL', plugin_dir_url( __FILE__ ) );
|
26 |
|
4 |
* Plugin URI: https://onpointplugins.com/advanced-sidebar-menu/
|
5 |
* Description: Creates dynamic menus based on parent/child relationship of your pages or categories.
|
6 |
* Author: OnPoint Plugins
|
7 |
+
* Version: 8.7.0
|
8 |
* Author URI: https://onpointplugins.com
|
9 |
* Text Domain: advanced-sidebar-menu
|
10 |
* Domain Path: /languages/
|
19 |
return;
|
20 |
}
|
21 |
|
22 |
+
define( 'ADVANCED_SIDEBAR_BASIC_VERSION', '8.7.0' );
|
23 |
+
define( 'ADVANCED_SIDEBAR_MENU_REQUIRED_PRO_VERSION', '8.5.0' );
|
24 |
define( 'ADVANCED_SIDEBAR_DIR', plugin_dir_path( __FILE__ ) );
|
25 |
define( 'ADVANCED_SIDEBAR_MENU_URL', plugin_dir_url( __FILE__ ) );
|
26 |
|
languages/advanced-sidebar-menu-de_DE.mo
CHANGED
Binary file
|
languages/advanced-sidebar-menu-de_DE.po
CHANGED
@@ -1,8 +1,8 @@
|
|
1 |
msgid ""
|
2 |
msgstr ""
|
3 |
"Project-Id-Version: Advanced Sidebar Menu\n"
|
4 |
-
"POT-Creation-Date:
|
5 |
-
"PO-Revision-Date:
|
6 |
"Last-Translator: Mat Lipe <support@onpointplugins.com>\n"
|
7 |
"Language-Team: \n"
|
8 |
"Language: de_DE\n"
|
@@ -21,7 +21,7 @@ msgstr ""
|
|
21 |
"X-Poedit-SearchPath-0: .\n"
|
22 |
"X-Poedit-SearchPathExcluded-0: *.js\n"
|
23 |
|
24 |
-
#: advanced-sidebar-menu.php:
|
25 |
msgid "widget documentation"
|
26 |
msgstr "widget-dokumentation"
|
27 |
|
@@ -36,11 +36,11 @@ msgstr ""
|
|
36 |
"Das Advanced Sidebar Menu erfordert %1$s sAdvanced Sidebar Menu PRO%2$s es "
|
37 |
"Version %3$s+. Bitte aktualisieren oder deaktivieren Sie die PRO-Version."
|
38 |
|
39 |
-
#: src/Notice.php:
|
40 |
msgid "Advanced Sidebar Menu PRO"
|
41 |
msgstr "Advanced Sidebar Menu PRO"
|
42 |
|
43 |
-
#: src/Notice.php:
|
44 |
msgid ""
|
45 |
"Styling options including borders, bullets, colors, backgrounds, size, and "
|
46 |
"font weight."
|
@@ -48,38 +48,38 @@ msgstr ""
|
|
48 |
"Stylingoptionen wie Rahmen, Aufzählungszeichen, Farben, Hintergründe, Größe "
|
49 |
"und Schriftstärke."
|
50 |
|
51 |
-
#: src/Notice.php:
|
52 |
msgid "Accordion menus."
|
53 |
msgstr "Akkordeon-Menüs."
|
54 |
|
55 |
-
#: src/Notice.php:
|
56 |
msgid "Support for custom navigation menus from Appearance -> Menus."
|
57 |
msgstr ""
|
58 |
"Unterstützung für kundenspezifische Navigationsmenüs von Appearance-> Menü."
|
59 |
|
60 |
-
#: src/Notice.php:
|
61 |
msgid "Select and display custom post types."
|
62 |
msgstr "Wählen Sie benutzerdefinierte Posttypen aus und zeigen Sie sie an."
|
63 |
|
64 |
-
#: src/Notice.php:
|
65 |
msgid "Select and display custom taxonomies."
|
66 |
msgstr "Wählen Sie benutzerdefinierte Taxonomien aus und zeigen Sie sie an."
|
67 |
|
68 |
-
#: src/Notice.php:
|
69 |
msgid "Priority support with access to members only support area."
|
70 |
msgstr ""
|
71 |
"Prioritätsunterstützung, einschließlich Zugang zum Supportbereich für "
|
72 |
"Mitglieder."
|
73 |
|
74 |
-
#: src/Notice.php:
|
75 |
msgid "So much more..."
|
76 |
msgstr "So viel mehr..."
|
77 |
|
78 |
-
#: src/Notice.php:
|
79 |
msgid "Upgrade"
|
80 |
msgstr "Aktualisierung"
|
81 |
|
82 |
-
#: src/Notice.php:
|
83 |
msgid "Preview"
|
84 |
msgstr "Vorschau"
|
85 |
|
@@ -91,8 +91,8 @@ msgstr ""
|
|
91 |
"Beziehung"
|
92 |
|
93 |
#: src/Widget/Category.php:58
|
94 |
-
msgid "Advanced Sidebar Categories
|
95 |
-
msgstr "Advanced Sidebar Kategorien
|
96 |
|
97 |
#. translators: Selected taxonomy single label
|
98 |
#: src/Widget/Category.php:123
|
@@ -151,7 +151,7 @@ msgstr "In einer anderen Liste im selben Widget"
|
|
151 |
msgid "%s to exclude (ids, comma separated)"
|
152 |
msgstr "Auszuschließende %s (IDs), durch Kommas getrennt"
|
153 |
|
154 |
-
#: src/Widget/Category.php:
|
155 |
msgid "Title"
|
156 |
msgstr "Titel"
|
157 |
|
@@ -162,8 +162,8 @@ msgstr ""
|
|
162 |
"verwenden"
|
163 |
|
164 |
#: src/Widget/Page.php:54
|
165 |
-
msgid "Advanced Sidebar Pages
|
166 |
-
msgstr "Advanced Sidebar Seitenmenü"
|
167 |
|
168 |
#. translators: Selected post type single label
|
169 |
#: src/Widget/Page.php:119
|
1 |
msgid ""
|
2 |
msgstr ""
|
3 |
"Project-Id-Version: Advanced Sidebar Menu\n"
|
4 |
+
"POT-Creation-Date: 2021-12-02 08:19-0500\n"
|
5 |
+
"PO-Revision-Date: 2021-12-02 08:20-0500\n"
|
6 |
"Last-Translator: Mat Lipe <support@onpointplugins.com>\n"
|
7 |
"Language-Team: \n"
|
8 |
"Language: de_DE\n"
|
21 |
"X-Poedit-SearchPath-0: .\n"
|
22 |
"X-Poedit-SearchPathExcluded-0: *.js\n"
|
23 |
|
24 |
+
#: advanced-sidebar-menu.php:136
|
25 |
msgid "widget documentation"
|
26 |
msgstr "widget-dokumentation"
|
27 |
|
36 |
"Das Advanced Sidebar Menu erfordert %1$s sAdvanced Sidebar Menu PRO%2$s es "
|
37 |
"Version %3$s+. Bitte aktualisieren oder deaktivieren Sie die PRO-Version."
|
38 |
|
39 |
+
#: src/Notice.php:86
|
40 |
msgid "Advanced Sidebar Menu PRO"
|
41 |
msgstr "Advanced Sidebar Menu PRO"
|
42 |
|
43 |
+
#: src/Notice.php:90
|
44 |
msgid ""
|
45 |
"Styling options including borders, bullets, colors, backgrounds, size, and "
|
46 |
"font weight."
|
48 |
"Stylingoptionen wie Rahmen, Aufzählungszeichen, Farben, Hintergründe, Größe "
|
49 |
"und Schriftstärke."
|
50 |
|
51 |
+
#: src/Notice.php:91
|
52 |
msgid "Accordion menus."
|
53 |
msgstr "Akkordeon-Menüs."
|
54 |
|
55 |
+
#: src/Notice.php:92
|
56 |
msgid "Support for custom navigation menus from Appearance -> Menus."
|
57 |
msgstr ""
|
58 |
"Unterstützung für kundenspezifische Navigationsmenüs von Appearance-> Menü."
|
59 |
|
60 |
+
#: src/Notice.php:96
|
61 |
msgid "Select and display custom post types."
|
62 |
msgstr "Wählen Sie benutzerdefinierte Posttypen aus und zeigen Sie sie an."
|
63 |
|
64 |
+
#: src/Notice.php:100
|
65 |
msgid "Select and display custom taxonomies."
|
66 |
msgstr "Wählen Sie benutzerdefinierte Taxonomien aus und zeigen Sie sie an."
|
67 |
|
68 |
+
#: src/Notice.php:104
|
69 |
msgid "Priority support with access to members only support area."
|
70 |
msgstr ""
|
71 |
"Prioritätsunterstützung, einschließlich Zugang zum Supportbereich für "
|
72 |
"Mitglieder."
|
73 |
|
74 |
+
#: src/Notice.php:110
|
75 |
msgid "So much more..."
|
76 |
msgstr "So viel mehr..."
|
77 |
|
78 |
+
#: src/Notice.php:119
|
79 |
msgid "Upgrade"
|
80 |
msgstr "Aktualisierung"
|
81 |
|
82 |
+
#: src/Notice.php:127
|
83 |
msgid "Preview"
|
84 |
msgstr "Vorschau"
|
85 |
|
91 |
"Beziehung"
|
92 |
|
93 |
#: src/Widget/Category.php:58
|
94 |
+
msgid "Advanced Sidebar - Categories"
|
95 |
+
msgstr "Advanced Sidebar - Kategorien"
|
96 |
|
97 |
#. translators: Selected taxonomy single label
|
98 |
#: src/Widget/Category.php:123
|
151 |
msgid "%s to exclude (ids, comma separated)"
|
152 |
msgstr "Auszuschließende %s (IDs), durch Kommas getrennt"
|
153 |
|
154 |
+
#: src/Widget/Category.php:283 src/Widget/Page.php:276
|
155 |
msgid "Title"
|
156 |
msgstr "Titel"
|
157 |
|
162 |
"verwenden"
|
163 |
|
164 |
#: src/Widget/Page.php:54
|
165 |
+
msgid "Advanced Sidebar - Pages"
|
166 |
+
msgstr "Advanced Sidebar - Seitenmenü"
|
167 |
|
168 |
#. translators: Selected post type single label
|
169 |
#: src/Widget/Page.php:119
|
languages/advanced-sidebar-menu-es_ES.mo
CHANGED
Binary file
|
languages/advanced-sidebar-menu-es_ES.po
CHANGED
@@ -1,8 +1,8 @@
|
|
1 |
msgid ""
|
2 |
msgstr ""
|
3 |
"Project-Id-Version: Advanced Sidebar Menu\n"
|
4 |
-
"POT-Creation-Date: 2021-
|
5 |
-
"PO-Revision-Date: 2021-
|
6 |
"Last-Translator: \n"
|
7 |
"Language-Team: \n"
|
8 |
"Language: es_ES\n"
|
@@ -21,7 +21,7 @@ msgstr ""
|
|
21 |
"X-Poedit-SearchPath-0: .\n"
|
22 |
"X-Poedit-SearchPathExcluded-0: *.js\n"
|
23 |
|
24 |
-
#: advanced-sidebar-menu.php:
|
25 |
msgid "widget documentation"
|
26 |
msgstr "documentación del widget"
|
27 |
|
@@ -36,11 +36,11 @@ msgstr ""
|
|
36 |
"Advanced Sidebar Menu requiere %1$sAdvanced Sidebar Menu PRO%2$s versión %3$s"
|
37 |
"+. Actualice o desactive la versión PRO."
|
38 |
|
39 |
-
#: src/Notice.php:
|
40 |
msgid "Advanced Sidebar Menu PRO"
|
41 |
msgstr "Advanced Sidebar Menu PRO"
|
42 |
|
43 |
-
#: src/Notice.php:
|
44 |
msgid ""
|
45 |
"Styling options including borders, bullets, colors, backgrounds, size, and "
|
46 |
"font weight."
|
@@ -48,35 +48,35 @@ msgstr ""
|
|
48 |
"Opciones de estilo que incluyen bordes, viñetas, colores, fondos, tamaño y "
|
49 |
"peso de fuente."
|
50 |
|
51 |
-
#: src/Notice.php:
|
52 |
msgid "Accordion menus."
|
53 |
msgstr "Menús de acordeón."
|
54 |
|
55 |
-
#: src/Notice.php:
|
56 |
msgid "Support for custom navigation menus from Appearance -> Menus."
|
57 |
msgstr "Compatibilidad con menús de navegación personalizados."
|
58 |
|
59 |
-
#: src/Notice.php:
|
60 |
msgid "Select and display custom post types."
|
61 |
msgstr "Seleccione y muestre los tipos de mensajes personalizados."
|
62 |
|
63 |
-
#: src/Notice.php:
|
64 |
msgid "Select and display custom taxonomies."
|
65 |
msgstr "Seleccione y muestre taxonomías personalizadas."
|
66 |
|
67 |
-
#: src/Notice.php:
|
68 |
msgid "Priority support with access to members only support area."
|
69 |
msgstr "Soporte prioritario con acceso a los miembros solo área de apoyo."
|
70 |
|
71 |
-
#: src/Notice.php:
|
72 |
msgid "So much more..."
|
73 |
msgstr "Mucho más..."
|
74 |
|
75 |
-
#: src/Notice.php:
|
76 |
msgid "Upgrade"
|
77 |
msgstr "Actualizar"
|
78 |
|
79 |
-
#: src/Notice.php:
|
80 |
msgid "Preview"
|
81 |
msgstr "Vista previa"
|
82 |
|
@@ -86,8 +86,8 @@ msgid ""
|
|
86 |
msgstr "Crea un menú de todas las categorías utilizando la relación hijo/padre"
|
87 |
|
88 |
#: src/Widget/Category.php:58
|
89 |
-
msgid "Advanced Sidebar Categories
|
90 |
-
msgstr "
|
91 |
|
92 |
#. translators: Selected taxonomy single label
|
93 |
#: src/Widget/Category.php:123
|
@@ -155,8 +155,8 @@ msgid "Creates a menu of all the pages using the child/parent relationship"
|
|
155 |
msgstr "Crea un menú de todas las páginas utilizando la relación hijo/padre"
|
156 |
|
157 |
#: src/Widget/Page.php:54
|
158 |
-
msgid "Advanced Sidebar Pages
|
159 |
-
msgstr "
|
160 |
|
161 |
#. translators: Selected post type single label
|
162 |
#: src/Widget/Page.php:119
|
1 |
msgid ""
|
2 |
msgstr ""
|
3 |
"Project-Id-Version: Advanced Sidebar Menu\n"
|
4 |
+
"POT-Creation-Date: 2021-12-02 08:20-0500\n"
|
5 |
+
"PO-Revision-Date: 2021-12-02 08:20-0500\n"
|
6 |
"Last-Translator: \n"
|
7 |
"Language-Team: \n"
|
8 |
"Language: es_ES\n"
|
21 |
"X-Poedit-SearchPath-0: .\n"
|
22 |
"X-Poedit-SearchPathExcluded-0: *.js\n"
|
23 |
|
24 |
+
#: advanced-sidebar-menu.php:136
|
25 |
msgid "widget documentation"
|
26 |
msgstr "documentación del widget"
|
27 |
|
36 |
"Advanced Sidebar Menu requiere %1$sAdvanced Sidebar Menu PRO%2$s versión %3$s"
|
37 |
"+. Actualice o desactive la versión PRO."
|
38 |
|
39 |
+
#: src/Notice.php:86
|
40 |
msgid "Advanced Sidebar Menu PRO"
|
41 |
msgstr "Advanced Sidebar Menu PRO"
|
42 |
|
43 |
+
#: src/Notice.php:90
|
44 |
msgid ""
|
45 |
"Styling options including borders, bullets, colors, backgrounds, size, and "
|
46 |
"font weight."
|
48 |
"Opciones de estilo que incluyen bordes, viñetas, colores, fondos, tamaño y "
|
49 |
"peso de fuente."
|
50 |
|
51 |
+
#: src/Notice.php:91
|
52 |
msgid "Accordion menus."
|
53 |
msgstr "Menús de acordeón."
|
54 |
|
55 |
+
#: src/Notice.php:92
|
56 |
msgid "Support for custom navigation menus from Appearance -> Menus."
|
57 |
msgstr "Compatibilidad con menús de navegación personalizados."
|
58 |
|
59 |
+
#: src/Notice.php:96
|
60 |
msgid "Select and display custom post types."
|
61 |
msgstr "Seleccione y muestre los tipos de mensajes personalizados."
|
62 |
|
63 |
+
#: src/Notice.php:100
|
64 |
msgid "Select and display custom taxonomies."
|
65 |
msgstr "Seleccione y muestre taxonomías personalizadas."
|
66 |
|
67 |
+
#: src/Notice.php:104
|
68 |
msgid "Priority support with access to members only support area."
|
69 |
msgstr "Soporte prioritario con acceso a los miembros solo área de apoyo."
|
70 |
|
71 |
+
#: src/Notice.php:110
|
72 |
msgid "So much more..."
|
73 |
msgstr "Mucho más..."
|
74 |
|
75 |
+
#: src/Notice.php:119
|
76 |
msgid "Upgrade"
|
77 |
msgstr "Actualizar"
|
78 |
|
79 |
+
#: src/Notice.php:127
|
80 |
msgid "Preview"
|
81 |
msgstr "Vista previa"
|
82 |
|
86 |
msgstr "Crea un menú de todas las categorías utilizando la relación hijo/padre"
|
87 |
|
88 |
#: src/Widget/Category.php:58
|
89 |
+
msgid "Advanced Sidebar - Categories"
|
90 |
+
msgstr "Advanced Sidebar - Categorías"
|
91 |
|
92 |
#. translators: Selected taxonomy single label
|
93 |
#: src/Widget/Category.php:123
|
155 |
msgstr "Crea un menú de todas las páginas utilizando la relación hijo/padre"
|
156 |
|
157 |
#: src/Widget/Page.php:54
|
158 |
+
msgid "Advanced Sidebar - Pages"
|
159 |
+
msgstr "Advanced Sidebar - Páginas"
|
160 |
|
161 |
#. translators: Selected post type single label
|
162 |
#: src/Widget/Page.php:119
|
languages/advanced-sidebar-menu-fr_FR.mo
CHANGED
Binary file
|
languages/advanced-sidebar-menu-fr_FR.po
CHANGED
@@ -1,13 +1,15 @@
|
|
1 |
msgid ""
|
2 |
msgstr ""
|
3 |
-
"Plural-Forms: nplurals=2; plural=(n > 1);\n"
|
4 |
"Project-Id-Version: Advanced Sidebar Menu\n"
|
5 |
-
"POT-Creation-Date: 2021-
|
6 |
-
"PO-Revision-Date: 2021-
|
|
|
7 |
"Language-Team: \n"
|
|
|
8 |
"MIME-Version: 1.0\n"
|
9 |
"Content-Type: text/plain; charset=UTF-8\n"
|
10 |
"Content-Transfer-Encoding: 8bit\n"
|
|
|
11 |
"X-Generator: Poedit 2.4.2\n"
|
12 |
"X-Poedit-Basepath: ..\n"
|
13 |
"X-Poedit-Flags-xgettext: --add-comments=translators:\n"
|
@@ -16,12 +18,10 @@ msgstr ""
|
|
16 |
"X-Poedit-KeywordsList: __;_e;_n:1,2;_x:1,2c;_ex:1,2c;_nx:4c,1,2;esc_attr__;"
|
17 |
"esc_attr_e;esc_attr_x:1,2c;esc_html__;esc_html_e;esc_html_x:1,2c;_n_noop:1,2;"
|
18 |
"_nx_noop:3c,1,2;__ngettext_noop:1,2\n"
|
19 |
-
"Last-Translator: \n"
|
20 |
-
"Language: fr_FR\n"
|
21 |
"X-Poedit-SearchPath-0: .\n"
|
22 |
"X-Poedit-SearchPathExcluded-0: *.js\n"
|
23 |
|
24 |
-
#: advanced-sidebar-menu.php:
|
25 |
msgid "widget documentation"
|
26 |
msgstr "documentation widget"
|
27 |
|
@@ -36,11 +36,11 @@ msgstr ""
|
|
36 |
"Le menu Sidebar avancé nécessite %1$sAvanced Sidebar Menu PRO%2$s version "
|
37 |
"%3$s+. Veuillez mettre à jour ou désactiver la version PRO."
|
38 |
|
39 |
-
#: src/Notice.php:
|
40 |
msgid "Advanced Sidebar Menu PRO"
|
41 |
msgstr "Advanced Sidebar Menu PRO"
|
42 |
|
43 |
-
#: src/Notice.php:
|
44 |
msgid ""
|
45 |
"Styling options including borders, bullets, colors, backgrounds, size, and "
|
46 |
"font weight."
|
@@ -48,35 +48,35 @@ msgstr ""
|
|
48 |
"Options de style incluant les bordures, les balles, les couleurs, les "
|
49 |
"arrière-plans, la taille et le poids de la police."
|
50 |
|
51 |
-
#: src/Notice.php:
|
52 |
msgid "Accordion menus."
|
53 |
msgstr "Menus accordéon."
|
54 |
|
55 |
-
#: src/Notice.php:
|
56 |
msgid "Support for custom navigation menus from Appearance -> Menus."
|
57 |
msgstr "Prise en charge des menus de navigation personnalisés "
|
58 |
|
59 |
-
#: src/Notice.php:
|
60 |
msgid "Select and display custom post types."
|
61 |
msgstr "Sélectionnez et affichez les types de postes personnalisés."
|
62 |
|
63 |
-
#: src/Notice.php:
|
64 |
msgid "Select and display custom taxonomies."
|
65 |
msgstr "Sélectionnez et affichez des taxonomies personnalisées."
|
66 |
|
67 |
-
#: src/Notice.php:
|
68 |
msgid "Priority support with access to members only support area."
|
69 |
msgstr "Soutien prioritaire avec accès aux membres uniquement zone de soutien."
|
70 |
|
71 |
-
#: src/Notice.php:
|
72 |
msgid "So much more..."
|
73 |
msgstr "Tellement plus..."
|
74 |
|
75 |
-
#: src/Notice.php:
|
76 |
msgid "Upgrade"
|
77 |
msgstr "Mise à jour"
|
78 |
|
79 |
-
#: src/Notice.php:
|
80 |
msgid "Preview"
|
81 |
msgstr "Aperçu"
|
82 |
|
@@ -88,8 +88,8 @@ msgstr ""
|
|
88 |
"parent"
|
89 |
|
90 |
#: src/Widget/Category.php:58
|
91 |
-
msgid "Advanced Sidebar Categories
|
92 |
-
msgstr "Sidebar Catégories
|
93 |
|
94 |
#. translators: Selected taxonomy single label
|
95 |
#: src/Widget/Category.php:123
|
@@ -158,8 +158,8 @@ msgstr ""
|
|
158 |
"Crée un menu de toutes les pages en utilisant la relation enfant/parent"
|
159 |
|
160 |
#: src/Widget/Page.php:54
|
161 |
-
msgid "Advanced Sidebar Pages
|
162 |
-
msgstr "Advanced Sidebar
|
163 |
|
164 |
#. translators: Selected post type single label
|
165 |
#: src/Widget/Page.php:119
|
1 |
msgid ""
|
2 |
msgstr ""
|
|
|
3 |
"Project-Id-Version: Advanced Sidebar Menu\n"
|
4 |
+
"POT-Creation-Date: 2021-12-02 08:21-0500\n"
|
5 |
+
"PO-Revision-Date: 2021-12-02 08:21-0500\n"
|
6 |
+
"Last-Translator: \n"
|
7 |
"Language-Team: \n"
|
8 |
+
"Language: fr_FR\n"
|
9 |
"MIME-Version: 1.0\n"
|
10 |
"Content-Type: text/plain; charset=UTF-8\n"
|
11 |
"Content-Transfer-Encoding: 8bit\n"
|
12 |
+
"Plural-Forms: nplurals=2; plural=(n > 1);\n"
|
13 |
"X-Generator: Poedit 2.4.2\n"
|
14 |
"X-Poedit-Basepath: ..\n"
|
15 |
"X-Poedit-Flags-xgettext: --add-comments=translators:\n"
|
18 |
"X-Poedit-KeywordsList: __;_e;_n:1,2;_x:1,2c;_ex:1,2c;_nx:4c,1,2;esc_attr__;"
|
19 |
"esc_attr_e;esc_attr_x:1,2c;esc_html__;esc_html_e;esc_html_x:1,2c;_n_noop:1,2;"
|
20 |
"_nx_noop:3c,1,2;__ngettext_noop:1,2\n"
|
|
|
|
|
21 |
"X-Poedit-SearchPath-0: .\n"
|
22 |
"X-Poedit-SearchPathExcluded-0: *.js\n"
|
23 |
|
24 |
+
#: advanced-sidebar-menu.php:136
|
25 |
msgid "widget documentation"
|
26 |
msgstr "documentation widget"
|
27 |
|
36 |
"Le menu Sidebar avancé nécessite %1$sAvanced Sidebar Menu PRO%2$s version "
|
37 |
"%3$s+. Veuillez mettre à jour ou désactiver la version PRO."
|
38 |
|
39 |
+
#: src/Notice.php:86
|
40 |
msgid "Advanced Sidebar Menu PRO"
|
41 |
msgstr "Advanced Sidebar Menu PRO"
|
42 |
|
43 |
+
#: src/Notice.php:90
|
44 |
msgid ""
|
45 |
"Styling options including borders, bullets, colors, backgrounds, size, and "
|
46 |
"font weight."
|
48 |
"Options de style incluant les bordures, les balles, les couleurs, les "
|
49 |
"arrière-plans, la taille et le poids de la police."
|
50 |
|
51 |
+
#: src/Notice.php:91
|
52 |
msgid "Accordion menus."
|
53 |
msgstr "Menus accordéon."
|
54 |
|
55 |
+
#: src/Notice.php:92
|
56 |
msgid "Support for custom navigation menus from Appearance -> Menus."
|
57 |
msgstr "Prise en charge des menus de navigation personnalisés "
|
58 |
|
59 |
+
#: src/Notice.php:96
|
60 |
msgid "Select and display custom post types."
|
61 |
msgstr "Sélectionnez et affichez les types de postes personnalisés."
|
62 |
|
63 |
+
#: src/Notice.php:100
|
64 |
msgid "Select and display custom taxonomies."
|
65 |
msgstr "Sélectionnez et affichez des taxonomies personnalisées."
|
66 |
|
67 |
+
#: src/Notice.php:104
|
68 |
msgid "Priority support with access to members only support area."
|
69 |
msgstr "Soutien prioritaire avec accès aux membres uniquement zone de soutien."
|
70 |
|
71 |
+
#: src/Notice.php:110
|
72 |
msgid "So much more..."
|
73 |
msgstr "Tellement plus..."
|
74 |
|
75 |
+
#: src/Notice.php:119
|
76 |
msgid "Upgrade"
|
77 |
msgstr "Mise à jour"
|
78 |
|
79 |
+
#: src/Notice.php:127
|
80 |
msgid "Preview"
|
81 |
msgstr "Aperçu"
|
82 |
|
88 |
"parent"
|
89 |
|
90 |
#: src/Widget/Category.php:58
|
91 |
+
msgid "Advanced Sidebar - Categories"
|
92 |
+
msgstr "Advanced Sidebar - Catégories"
|
93 |
|
94 |
#. translators: Selected taxonomy single label
|
95 |
#: src/Widget/Category.php:123
|
158 |
"Crée un menu de toutes les pages en utilisant la relation enfant/parent"
|
159 |
|
160 |
#: src/Widget/Page.php:54
|
161 |
+
msgid "Advanced Sidebar - Pages"
|
162 |
+
msgstr "Advanced Sidebar - Des Pages"
|
163 |
|
164 |
#. translators: Selected post type single label
|
165 |
#: src/Widget/Page.php:119
|
languages/advanced-sidebar-menu.pot
CHANGED
@@ -1,10 +1,11 @@
|
|
1 |
#, fuzzy
|
2 |
msgid ""
|
3 |
msgstr ""
|
4 |
-
"Project: https://translate.wordpress.org/projects/wp-plugins/advanced-
|
|
|
5 |
"Plural-Forms: nplurals=INTEGER; plural=EXPRESSION;\n"
|
6 |
"Project-Id-Version: Advanced Sidebar Menu\n"
|
7 |
-
"POT-Creation-Date: 2021-
|
8 |
"PO-Revision-Date: 2019-03-05 12:29-0500\n"
|
9 |
"Last-Translator: \n"
|
10 |
"Language-Team: \n"
|
@@ -22,7 +23,7 @@ msgstr ""
|
|
22 |
"X-Poedit-SearchPath-0: .\n"
|
23 |
"X-Poedit-SearchPathExcluded-0: *.js\n"
|
24 |
|
25 |
-
#: advanced-sidebar-menu.php:
|
26 |
msgid "widget documentation"
|
27 |
msgstr ""
|
28 |
|
@@ -35,45 +36,45 @@ msgid ""
|
|
35 |
"%3$s+. Please update or deactivate the PRO version."
|
36 |
msgstr ""
|
37 |
|
38 |
-
#: src/Notice.php:
|
39 |
msgid "Advanced Sidebar Menu PRO"
|
40 |
msgstr ""
|
41 |
|
42 |
-
#: src/Notice.php:
|
43 |
msgid ""
|
44 |
"Styling options including borders, bullets, colors, backgrounds, size, and "
|
45 |
"font weight."
|
46 |
msgstr ""
|
47 |
|
48 |
-
#: src/Notice.php:
|
49 |
msgid "Accordion menus."
|
50 |
msgstr ""
|
51 |
|
52 |
-
#: src/Notice.php:
|
53 |
msgid "Support for custom navigation menus from Appearance -> Menus."
|
54 |
msgstr ""
|
55 |
|
56 |
-
#: src/Notice.php:
|
57 |
msgid "Select and display custom post types."
|
58 |
msgstr ""
|
59 |
|
60 |
-
#: src/Notice.php:
|
61 |
msgid "Select and display custom taxonomies."
|
62 |
msgstr ""
|
63 |
|
64 |
-
#: src/Notice.php:
|
65 |
msgid "Priority support with access to members only support area."
|
66 |
msgstr ""
|
67 |
|
68 |
-
#: src/Notice.php:
|
69 |
msgid "So much more..."
|
70 |
msgstr ""
|
71 |
|
72 |
-
#: src/Notice.php:
|
73 |
msgid "Upgrade"
|
74 |
msgstr ""
|
75 |
|
76 |
-
#: src/Notice.php:
|
77 |
msgid "Preview"
|
78 |
msgstr ""
|
79 |
|
@@ -83,7 +84,7 @@ msgid ""
|
|
83 |
msgstr ""
|
84 |
|
85 |
#: src/Widget/Category.php:58
|
86 |
-
msgid "Advanced Sidebar Categories
|
87 |
msgstr ""
|
88 |
|
89 |
#. translators: Selected taxonomy single label
|
@@ -152,7 +153,7 @@ msgid "Creates a menu of all the pages using the child/parent relationship"
|
|
152 |
msgstr ""
|
153 |
|
154 |
#: src/Widget/Page.php:54
|
155 |
-
msgid "Advanced Sidebar Pages
|
156 |
msgstr ""
|
157 |
|
158 |
#. translators: Selected post type single label
|
1 |
#, fuzzy
|
2 |
msgid ""
|
3 |
msgstr ""
|
4 |
+
"Project: https://translate.wordpress.org/projects/wp-plugins/advanced-"
|
5 |
+
"sidebar-menu\n"
|
6 |
"Plural-Forms: nplurals=INTEGER; plural=EXPRESSION;\n"
|
7 |
"Project-Id-Version: Advanced Sidebar Menu\n"
|
8 |
+
"POT-Creation-Date: 2021-12-02 08:19-0500\n"
|
9 |
"PO-Revision-Date: 2019-03-05 12:29-0500\n"
|
10 |
"Last-Translator: \n"
|
11 |
"Language-Team: \n"
|
23 |
"X-Poedit-SearchPath-0: .\n"
|
24 |
"X-Poedit-SearchPathExcluded-0: *.js\n"
|
25 |
|
26 |
+
#: advanced-sidebar-menu.php:136
|
27 |
msgid "widget documentation"
|
28 |
msgstr ""
|
29 |
|
36 |
"%3$s+. Please update or deactivate the PRO version."
|
37 |
msgstr ""
|
38 |
|
39 |
+
#: src/Notice.php:86
|
40 |
msgid "Advanced Sidebar Menu PRO"
|
41 |
msgstr ""
|
42 |
|
43 |
+
#: src/Notice.php:90
|
44 |
msgid ""
|
45 |
"Styling options including borders, bullets, colors, backgrounds, size, and "
|
46 |
"font weight."
|
47 |
msgstr ""
|
48 |
|
49 |
+
#: src/Notice.php:91
|
50 |
msgid "Accordion menus."
|
51 |
msgstr ""
|
52 |
|
53 |
+
#: src/Notice.php:92
|
54 |
msgid "Support for custom navigation menus from Appearance -> Menus."
|
55 |
msgstr ""
|
56 |
|
57 |
+
#: src/Notice.php:96
|
58 |
msgid "Select and display custom post types."
|
59 |
msgstr ""
|
60 |
|
61 |
+
#: src/Notice.php:100
|
62 |
msgid "Select and display custom taxonomies."
|
63 |
msgstr ""
|
64 |
|
65 |
+
#: src/Notice.php:104
|
66 |
msgid "Priority support with access to members only support area."
|
67 |
msgstr ""
|
68 |
|
69 |
+
#: src/Notice.php:110
|
70 |
msgid "So much more..."
|
71 |
msgstr ""
|
72 |
|
73 |
+
#: src/Notice.php:119
|
74 |
msgid "Upgrade"
|
75 |
msgstr ""
|
76 |
|
77 |
+
#: src/Notice.php:127
|
78 |
msgid "Preview"
|
79 |
msgstr ""
|
80 |
|
84 |
msgstr ""
|
85 |
|
86 |
#: src/Widget/Category.php:58
|
87 |
+
msgid "Advanced Sidebar - Categories"
|
88 |
msgstr ""
|
89 |
|
90 |
#. translators: Selected taxonomy single label
|
153 |
msgstr ""
|
154 |
|
155 |
#: src/Widget/Page.php:54
|
156 |
+
msgid "Advanced Sidebar - Pages"
|
157 |
msgstr ""
|
158 |
|
159 |
#. translators: Selected post type single label
|
readme.txt
CHANGED
@@ -4,9 +4,9 @@ Contributors: Mat Lipe, onpointplugins
|
|
4 |
Donate link: https://www.paypal.com/cgi-bin/webscr?cmd=_donations&business=paypal%40onpointplugins%2ecom&lc=US&item_name=Advanced%20Sidebar%20Menu&no_note=0¤cy_code=USD&bn=PP%2dDonationsBF%3abtn_donateCC_LG%2egif%3aNonHostedGuest
|
5 |
Tags: menus, sidebar menu, hierarchy, category menu, pages menu, dynamic
|
6 |
Requires at least: 5.2.0
|
7 |
-
Tested up to: 5.8.
|
8 |
Requires PHP: 5.6.0
|
9 |
-
Stable tag: 8.
|
10 |
|
11 |
== Description ==
|
12 |
|
@@ -161,6 +161,14 @@ Yes. Based on whatever page, post or category you are on, the menu will change a
|
|
161 |
|
162 |
|
163 |
== Changelog ==
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
164 |
= 8.6.4 =
|
165 |
* Introduced `advanced-sidebar-menu/debug/print-instance` filter.
|
166 |
* Improved FAQ information.
|
4 |
Donate link: https://www.paypal.com/cgi-bin/webscr?cmd=_donations&business=paypal%40onpointplugins%2ecom&lc=US&item_name=Advanced%20Sidebar%20Menu&no_note=0¤cy_code=USD&bn=PP%2dDonationsBF%3abtn_donateCC_LG%2egif%3aNonHostedGuest
|
5 |
Tags: menus, sidebar menu, hierarchy, category menu, pages menu, dynamic
|
6 |
Requires at least: 5.2.0
|
7 |
+
Tested up to: 5.8.3
|
8 |
Requires PHP: 5.6.0
|
9 |
+
Stable tag: 8.7.0
|
10 |
|
11 |
== Description ==
|
12 |
|
161 |
|
162 |
|
163 |
== Changelog ==
|
164 |
+
= 8.7.0 =
|
165 |
+
* Use Webp extension for preview images.
|
166 |
+
* Simplify the Widget names.
|
167 |
+
* Introduce `Utils::array_map_recursive` method for deep sanitization.
|
168 |
+
* Support multidimensional arrays in debug overrides.
|
169 |
+
* Tested to WordPress 5.8.3.
|
170 |
+
* Required PRO version 8.5.0+.
|
171 |
+
|
172 |
= 8.6.4 =
|
173 |
* Introduced `advanced-sidebar-menu/debug/print-instance` filter.
|
174 |
* Improved FAQ information.
|
src/Debug.php
CHANGED
@@ -45,7 +45,10 @@ class Debug {
|
|
45 |
* @return array
|
46 |
*/
|
47 |
public function adjust_widget_settings( array $instance ) {
|
48 |
-
|
|
|
|
|
|
|
49 |
|
50 |
return wp_parse_args( $overrides, $instance );
|
51 |
}
|
45 |
* @return array
|
46 |
*/
|
47 |
public function adjust_widget_settings( array $instance ) {
|
48 |
+
if ( empty( $_GET[ self::DEBUG_PARAM ] ) ) { //phpcs:ignore
|
49 |
+
return $instance;
|
50 |
+
}
|
51 |
+
$overrides = Utils::instance()->array_map_recursive( 'sanitize_text_field', (array) $_GET[ self::DEBUG_PARAM ] ); //phpcs:ignore
|
52 |
|
53 |
return wp_parse_args( $overrides, $instance );
|
54 |
}
|
src/Notice.php
CHANGED
@@ -133,16 +133,16 @@ class Notice {
|
|
133 |
|
134 |
|
135 |
/**
|
136 |
-
* Display a preview image which covers the widget when the "Preview"
|
137 |
* button is clicked.
|
138 |
*
|
139 |
* @param array $instance - Widgets settings.
|
140 |
* @param \WP_Widget $widget - Widget class.
|
141 |
*/
|
142 |
public function preview( array $instance, \WP_Widget $widget ) {
|
143 |
-
$src = 'pages-widget-min.
|
144 |
if ( Category::NAME === $widget->id_base ) {
|
145 |
-
$src = 'category-widget-min.
|
146 |
}
|
147 |
?>
|
148 |
<div
|
@@ -153,8 +153,8 @@ class Notice {
|
|
153 |
data-js="advanced-sidebar-menu/pro/preview/image"
|
154 |
class="advanced-sidebar-menu-preview-image"
|
155 |
src="https://onpointplugins.com/plugins/assets/shared/<?php echo esc_attr( $src ); ?>"
|
156 |
-
srcset="https://onpointplugins.com/plugins/assets/shared/<?php echo esc_attr( str_replace( '-min.
|
157 |
-
alt="PRO version widget options" />
|
158 |
</div>
|
159 |
<?php
|
160 |
}
|
133 |
|
134 |
|
135 |
/**
|
136 |
+
* Display a preview image, which covers the widget when the "Preview"
|
137 |
* button is clicked.
|
138 |
*
|
139 |
* @param array $instance - Widgets settings.
|
140 |
* @param \WP_Widget $widget - Widget class.
|
141 |
*/
|
142 |
public function preview( array $instance, \WP_Widget $widget ) {
|
143 |
+
$src = 'pages-widget-min.webp?version=' . ADVANCED_SIDEBAR_BASIC_VERSION;
|
144 |
if ( Category::NAME === $widget->id_base ) {
|
145 |
+
$src = 'category-widget-min.webp?version=' . ADVANCED_SIDEBAR_BASIC_VERSION;
|
146 |
}
|
147 |
?>
|
148 |
<div
|
153 |
data-js="advanced-sidebar-menu/pro/preview/image"
|
154 |
class="advanced-sidebar-menu-preview-image"
|
155 |
src="https://onpointplugins.com/plugins/assets/shared/<?php echo esc_attr( $src ); ?>"
|
156 |
+
srcset="https://onpointplugins.com/plugins/assets/shared/<?php echo esc_attr( str_replace( '-min.webp', '-1x-min.webp', $src ) ); ?> 1x, https://onpointplugins.com/plugins/assets/shared/<?php echo esc_attr( $src ); ?> 2x"
|
157 |
+
alt="<?php esc_attr_e( 'PRO version widget options', 'advanced-sidebar-menu' ); ?>" />
|
158 |
</div>
|
159 |
<?php
|
160 |
}
|
src/Utils.php
CHANGED
@@ -33,4 +33,32 @@ class Utils {
|
|
33 |
// Standard non array names.
|
34 |
return isset( $settings[ $name ] ) && 'checked' === $settings[ $name ];
|
35 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
36 |
}
|
33 |
// Standard non array names.
|
34 |
return isset( $settings[ $name ] ) && 'checked' === $settings[ $name ];
|
35 |
}
|
36 |
+
|
37 |
+
|
38 |
+
/**
|
39 |
+
* Apply a callback to all elements of an array recursively.
|
40 |
+
*
|
41 |
+
* Like `array_walk_recursive` except returns the result as
|
42 |
+
* a new array instead of requiring you pass the array element by reference
|
43 |
+
* and alter it directly.
|
44 |
+
*
|
45 |
+
* @param callable $callback - Callback for each element in each level of array.
|
46 |
+
* @param array $array - Array to recurse.
|
47 |
+
*
|
48 |
+
* @since 8.6.5
|
49 |
+
*
|
50 |
+
* @return array
|
51 |
+
*/
|
52 |
+
public function array_map_recursive( callable $callback, array $array ) {
|
53 |
+
$output = [];
|
54 |
+
foreach ( $array as $key => $data ) {
|
55 |
+
if ( \is_array( $data ) ) {
|
56 |
+
$output[ $key ] = $this->array_map_recursive( $callback, $data );
|
57 |
+
} else {
|
58 |
+
$output[ $key ] = $callback( $data );
|
59 |
+
}
|
60 |
+
}
|
61 |
+
|
62 |
+
return $output;
|
63 |
+
}
|
64 |
}
|
src/Widget/Category.php
CHANGED
@@ -55,7 +55,7 @@ class Category extends Widget_Abstract {
|
|
55 |
'width' => wp_is_mobile() ? false : 620,
|
56 |
];
|
57 |
|
58 |
-
parent::__construct( self::NAME, __( 'Advanced Sidebar Categories
|
59 |
|
60 |
$this->hook();
|
61 |
}
|
55 |
'width' => wp_is_mobile() ? false : 620,
|
56 |
];
|
57 |
|
58 |
+
parent::__construct( self::NAME, __( 'Advanced Sidebar - Categories', 'advanced-sidebar-menu' ), $widget_ops, $control_ops );
|
59 |
|
60 |
$this->hook();
|
61 |
}
|
src/Widget/Page.php
CHANGED
@@ -51,7 +51,7 @@ class Page extends Widget_Abstract {
|
|
51 |
'width' => wp_is_mobile() ? false : 620,
|
52 |
];
|
53 |
|
54 |
-
parent::__construct( self::NAME, __( 'Advanced Sidebar Pages
|
55 |
|
56 |
$this->hook();
|
57 |
}
|
51 |
'width' => wp_is_mobile() ? false : 620,
|
52 |
];
|
53 |
|
54 |
+
parent::__construct( self::NAME, __( 'Advanced Sidebar - Pages', 'advanced-sidebar-menu' ), $widget_ops, $control_ops );
|
55 |
|
56 |
$this->hook();
|
57 |
}
|