Version Description
- 2020-07-13
Download this release
Release Info
Developer | codeinwp |
Plugin | Menu Icons by ThemeIsle |
Version | 0.12.3 |
Comparing to | |
See all releases |
Code changes from version 0.12.2 to 0.12.3
- CHANGELOG.md +3 -2
- includes/settings.php +6 -6
- languages/menu-icons.pot +46 -84
- menu-icons.php +2 -2
- readme.md +7 -1
- readme.txt +7 -1
- vendor/autoload.php +1 -1
- vendor/codeinwp/gutenberg-menu-icons/CHANGELOG.md +4 -0
- vendor/codeinwp/gutenberg-menu-icons/build/editor.css +1 -1
- vendor/codeinwp/gutenberg-menu-icons/load.php +1 -1
- vendor/codeinwp/themeisle-sdk/CHANGELOG.md +24 -0
- vendor/codeinwp/themeisle-sdk/load.php +1 -1
- vendor/codeinwp/themeisle-sdk/src/Modules/Licenser.php +43 -6
- vendor/codeinwp/themeisle-sdk/src/Modules/Logger.php +15 -13
- vendor/codeinwp/themeisle-sdk/src/Modules/Review.php +1 -1
- vendor/codeinwp/themeisle-sdk/src/Modules/Translate.php +2 -2
- vendor/codeinwp/themeisle-sdk/src/Modules/Uninstall_feedback.php +4 -2
- vendor/composer/autoload_real.php +5 -5
- vendor/composer/installed.json +12 -12
CHANGELOG.md
CHANGED
@@ -1,7 +1,8 @@
|
|
1 |
|
2 |
-
### v0.12.
|
3 |
**Changes:**
|
4 |
-
*
|
|
|
5 |
|
6 |
### v0.12.2 - 2019-11-15
|
7 |
**Changes:**
|
1 |
|
2 |
+
### v0.12.3 - 2020-07-13
|
3 |
**Changes:**
|
4 |
+
* Fixed Menu Icons in Block Editor not working
|
5 |
+
* Fixed CWP links.
|
6 |
|
7 |
### v0.12.2 - 2019-11-15
|
8 |
**Changes:**
|
includes/settings.php
CHANGED
@@ -55,6 +55,11 @@ final class Menu_Icons_Settings {
|
|
55 |
* @since 0.3.0
|
56 |
*/
|
57 |
public static function init() {
|
|
|
|
|
|
|
|
|
|
|
58 |
/**
|
59 |
* Allow themes/plugins to override the default settings
|
60 |
*
|
@@ -106,11 +111,6 @@ final class Menu_Icons_Settings {
|
|
106 |
self::$script_deps[] = 'icon-picker';
|
107 |
}
|
108 |
|
109 |
-
// Include Menu Icons for Block Editor
|
110 |
-
if ( class_exists( '\ThemeIsle\GutenbergMenuIcons' ) ) {
|
111 |
-
\ThemeIsle\GutenbergMenuIcons::instance();
|
112 |
-
}
|
113 |
-
|
114 |
add_action( 'load-nav-menus.php', array( __CLASS__, '_load_nav_menus' ), 1 );
|
115 |
add_action( 'wp_ajax_menu_icons_update_settings', array( __CLASS__, '_ajax_menu_icons_update_settings' ) );
|
116 |
add_action( 'enqueue_block_assets', array( __CLASS__, '_enqueue_font_awesome' ) );
|
@@ -655,7 +655,7 @@ final class Menu_Icons_Settings {
|
|
655 |
*/
|
656 |
public static function _enqueue_font_awesome() {
|
657 |
$url = Menu_Icons::get( 'url' );
|
658 |
-
|
659 |
wp_register_style(
|
660 |
'font-awesome-5',
|
661 |
"{$url}css/fontawesome/css/all.min.css"
|
55 |
* @since 0.3.0
|
56 |
*/
|
57 |
public static function init() {
|
58 |
+
// Include Menu Icons for Block Editor
|
59 |
+
if ( class_exists( '\ThemeIsle\GutenbergMenuIcons' ) ) {
|
60 |
+
\ThemeIsle\GutenbergMenuIcons::instance();
|
61 |
+
}
|
62 |
+
|
63 |
/**
|
64 |
* Allow themes/plugins to override the default settings
|
65 |
*
|
111 |
self::$script_deps[] = 'icon-picker';
|
112 |
}
|
113 |
|
|
|
|
|
|
|
|
|
|
|
114 |
add_action( 'load-nav-menus.php', array( __CLASS__, '_load_nav_menus' ), 1 );
|
115 |
add_action( 'wp_ajax_menu_icons_update_settings', array( __CLASS__, '_ajax_menu_icons_update_settings' ) );
|
116 |
add_action( 'enqueue_block_assets', array( __CLASS__, '_enqueue_font_awesome' ) );
|
655 |
*/
|
656 |
public static function _enqueue_font_awesome() {
|
657 |
$url = Menu_Icons::get( 'url' );
|
658 |
+
|
659 |
wp_register_style(
|
660 |
'font-awesome-5',
|
661 |
"{$url}css/fontawesome/css/all.min.css"
|
languages/menu-icons.pot
CHANGED
@@ -4,7 +4,7 @@ msgid ""
|
|
4 |
msgstr ""
|
5 |
"Project-Id-Version: Menu Icons 0.12.2\n"
|
6 |
"Report-Msgid-Bugs-To: https://github.com/Codeinwp/wp-menu-icons/issues\n"
|
7 |
-
"POT-Creation-Date: 2020-
|
8 |
"MIME-Version: 1.0\n"
|
9 |
"Content-Type: text/plain; charset=utf-8\n"
|
10 |
"Content-Transfer-Encoding: 8bit\n"
|
@@ -64,181 +64,186 @@ msgstr ""
|
|
64 |
msgid "Icon:"
|
65 |
msgstr ""
|
66 |
|
67 |
-
#: includes/picker.php:117 includes/settings.php:
|
68 |
msgid "Select"
|
69 |
msgstr ""
|
70 |
|
71 |
-
#: includes/picker.php:118 includes/settings.php:
|
72 |
#: vendor/codeinwp/icon-picker/includes/fields/base.php:68
|
73 |
#: vendor/codeinwp/icon-picker/includes/types/elusive.php:465
|
74 |
msgid "Remove"
|
75 |
msgstr ""
|
76 |
|
77 |
-
#: includes/settings.php:
|
78 |
msgid "Menu Icons Settings"
|
79 |
msgstr ""
|
80 |
|
81 |
-
#: includes/settings.php:
|
82 |
msgid "<strong>Menu Icons Settings</strong> have been successfully updated."
|
83 |
msgstr ""
|
84 |
|
85 |
-
#: includes/settings.php:
|
86 |
msgid "<strong>Menu Icons Settings</strong> have been successfully reset."
|
87 |
msgstr ""
|
88 |
|
89 |
-
#: includes/settings.php:
|
90 |
msgid "Extensions"
|
91 |
msgstr ""
|
92 |
|
93 |
-
#: includes/settings.php:
|
94 |
msgid "Discard all changes and reset to default state"
|
95 |
msgstr ""
|
96 |
|
97 |
-
#: includes/settings.php:
|
98 |
msgid "Reset"
|
99 |
msgstr ""
|
100 |
|
101 |
-
#: includes/settings.php:
|
102 |
msgid "Save Settings"
|
103 |
msgstr ""
|
104 |
|
105 |
-
#: includes/settings.php:
|
106 |
msgid "Global"
|
107 |
msgstr ""
|
108 |
|
109 |
-
#: includes/settings.php:
|
110 |
msgid "Global settings"
|
111 |
msgstr ""
|
112 |
|
113 |
-
#: includes/settings.php:
|
114 |
msgid "Icon Types"
|
115 |
msgstr ""
|
116 |
|
117 |
-
#: includes/settings.php:
|
118 |
msgid "Current Menu"
|
119 |
msgstr ""
|
120 |
|
121 |
-
#: includes/settings.php:
|
122 |
msgid "\"%s\" menu settings"
|
123 |
msgstr ""
|
124 |
|
125 |
-
#: includes/settings.php:
|
126 |
msgid "Hide Label"
|
127 |
msgstr ""
|
128 |
|
129 |
-
#: includes/settings.php:
|
130 |
#: vendor/codeinwp/icon-picker/includes/types/dashicons.php:800
|
131 |
#: vendor/codeinwp/icon-picker/includes/types/dashicons.php:805
|
132 |
msgid "No"
|
133 |
msgstr ""
|
134 |
|
135 |
-
#: includes/settings.php:
|
136 |
#: vendor/codeinwp/icon-picker/includes/types/dashicons.php:795
|
137 |
msgid "Yes"
|
138 |
msgstr ""
|
139 |
|
140 |
-
#: includes/settings.php:
|
141 |
msgid "Position"
|
142 |
msgstr ""
|
143 |
|
144 |
-
#: includes/settings.php:
|
145 |
msgid "Before"
|
146 |
msgstr ""
|
147 |
|
148 |
-
#: includes/settings.php:
|
149 |
msgid "After"
|
150 |
msgstr ""
|
151 |
|
152 |
-
#: includes/settings.php:
|
153 |
msgid "Vertical Align"
|
154 |
msgstr ""
|
155 |
|
156 |
-
#: includes/settings.php:
|
157 |
msgid "Super"
|
158 |
msgstr ""
|
159 |
|
160 |
-
#: includes/settings.php:
|
161 |
#: vendor/codeinwp/icon-picker/includes/types/genericon.php:292
|
162 |
msgid "Top"
|
163 |
msgstr ""
|
164 |
|
165 |
-
#: includes/settings.php:
|
166 |
msgid "Text Top"
|
167 |
msgstr ""
|
168 |
|
169 |
-
#: includes/settings.php:
|
170 |
msgid "Middle"
|
171 |
msgstr ""
|
172 |
|
173 |
-
#: includes/settings.php:
|
174 |
msgid "Baseline"
|
175 |
msgstr ""
|
176 |
|
177 |
-
#: includes/settings.php:
|
178 |
msgid "Text Bottom"
|
179 |
msgstr ""
|
180 |
|
181 |
-
#: includes/settings.php:
|
182 |
msgid "Bottom"
|
183 |
msgstr ""
|
184 |
|
185 |
-
#: includes/settings.php:
|
186 |
msgid "Sub"
|
187 |
msgstr ""
|
188 |
|
189 |
-
#: includes/settings.php:
|
190 |
#: vendor/codeinwp/icon-picker/includes/types/elusive.php:910
|
191 |
msgid "Font Size"
|
192 |
msgstr ""
|
193 |
|
194 |
-
#: includes/settings.php:
|
195 |
msgid "SVG Width"
|
196 |
msgstr ""
|
197 |
|
198 |
-
#: includes/settings.php:
|
199 |
msgid "Image Size"
|
200 |
msgstr ""
|
201 |
|
202 |
-
#: includes/settings.php:
|
203 |
#: vendor/codeinwp/icon-picker/includes/fields/base.php:67
|
204 |
#: vendor/codeinwp/icon-picker/includes/loader.php:237
|
205 |
msgid "Select Icon"
|
206 |
msgstr ""
|
207 |
|
208 |
-
#: includes/settings.php:
|
209 |
msgid "Change"
|
210 |
msgstr ""
|
211 |
|
212 |
-
#: includes/settings.php:
|
213 |
#: vendor/codeinwp/icon-picker/includes/loader.php:236
|
214 |
msgid "All"
|
215 |
msgstr ""
|
216 |
|
217 |
-
#: includes/settings.php:
|
218 |
msgid "Preview"
|
219 |
msgstr ""
|
220 |
|
221 |
-
#: includes/settings.php:
|
222 |
msgid ""
|
223 |
"Please note that the actual look of the icons on the front-end will also be "
|
224 |
"affected by the style of your active theme. You can add your own CSS using "
|
225 |
"%2$s or a plugin such as %3$s if you need to override it."
|
226 |
msgstr ""
|
227 |
|
228 |
-
#: includes/settings.php:
|
229 |
msgid "the customizer"
|
230 |
msgstr ""
|
231 |
|
232 |
-
#: menu-icons.php:
|
233 |
msgid "Menu Icons: No registered icon types found."
|
234 |
msgstr ""
|
235 |
|
236 |
-
#: menu-icons.php:
|
237 |
msgid ""
|
238 |
"Looks like Menu Icons was installed via Composer. Please activate Icon "
|
239 |
"Picker first."
|
240 |
msgstr ""
|
241 |
|
|
|
|
|
|
|
|
|
|
|
242 |
#: vendor/codeinwp/icon-picker/includes/fontpack.php:132
|
243 |
msgid "Icon Picker: %1$s was not found in %2$s."
|
244 |
msgstr ""
|
@@ -4032,42 +4037,6 @@ msgstr ""
|
|
4032 |
msgid "SVG"
|
4033 |
msgstr ""
|
4034 |
|
4035 |
-
#: vendor/codeinwp/icon-picker/node_modules/grunt-wp-i18n/test/fixtures/basic-theme/exclude/file.php:3
|
4036 |
-
#: vendor/codeinwp/icon-picker/node_modules/grunt-wp-i18n/test/fixtures/plugin-include/plugin-include.php:6
|
4037 |
-
msgid "Exclude"
|
4038 |
-
msgstr ""
|
4039 |
-
|
4040 |
-
#: vendor/codeinwp/icon-picker/node_modules/grunt-wp-i18n/test/fixtures/plugin-include/include/file.php:2
|
4041 |
-
msgid "Include"
|
4042 |
-
msgstr ""
|
4043 |
-
|
4044 |
-
#: vendor/codeinwp/icon-picker/node_modules/grunt-wp-i18n/test/fixtures/text-domains/add-domain.php:2
|
4045 |
-
#: vendor/codeinwp/icon-picker/node_modules/grunt-wp-i18n/test/fixtures/text-domains/update-all-domains.php:2
|
4046 |
-
#: vendor/codeinwp/icon-picker/node_modules/grunt-wp-i18n/test/fixtures/text-domains/update-all-domains.php:3
|
4047 |
-
#: vendor/codeinwp/icon-picker/node_modules/grunt-wp-i18n/test/fixtures/text-domains/update-all-domains.php:4
|
4048 |
-
#: vendor/codeinwp/icon-picker/node_modules/grunt-wp-i18n/test/fixtures/text-domains/update-domains.php:2
|
4049 |
-
#: vendor/codeinwp/icon-picker/node_modules/grunt-wp-i18n/test/fixtures/text-domains/update-domains.php:3
|
4050 |
-
msgid "String"
|
4051 |
-
msgstr ""
|
4052 |
-
|
4053 |
-
#: vendor/codeinwp/icon-picker/node_modules/grunt-wp-i18n/test/fixtures/text-domains/update-all-domains.php:9
|
4054 |
-
#: vendor/codeinwp/icon-picker/node_modules/grunt-wp-i18n/test/fixtures/text-domains/update-all-domains.php:10
|
4055 |
-
#: vendor/codeinwp/icon-picker/node_modules/grunt-wp-i18n/test/fixtures/text-domains/update-all-domains.php:11
|
4056 |
-
msgid "1 Star"
|
4057 |
-
msgid_plural "%s Stars"
|
4058 |
-
msgstr[0] ""
|
4059 |
-
msgstr[1] ""
|
4060 |
-
|
4061 |
-
#: vendor/codeinwp/icon-picker/node_modules/grunt-wp-i18n/test/fixtures/translator-comments/translator-comments.php:7
|
4062 |
-
#. translators: A single line translators comment.
|
4063 |
-
msgid "A"
|
4064 |
-
msgstr ""
|
4065 |
-
|
4066 |
-
#: vendor/codeinwp/icon-picker/node_modules/grunt-wp-i18n/test/fixtures/translator-comments/translator-comments.php:15
|
4067 |
-
#. translators: A multiline translators comment.
|
4068 |
-
msgid "B"
|
4069 |
-
msgstr ""
|
4070 |
-
|
4071 |
#: vendor/codeinwp/menu-item-custom-fields/doc/menu-item-custom-fields-example.php:51
|
4072 |
msgid "Custom Field #1"
|
4073 |
msgstr ""
|
@@ -4094,11 +4063,4 @@ msgstr ""
|
|
4094 |
|
4095 |
#. Author URI of the plugin/theme
|
4096 |
msgid "https://themeisle.com"
|
4097 |
-
msgstr ""
|
4098 |
-
|
4099 |
-
#: vendor/codeinwp/icon-picker/node_modules/grunt-wp-i18n/test/fixtures/text-domains/update-all-domains.php:6
|
4100 |
-
#: vendor/codeinwp/icon-picker/node_modules/grunt-wp-i18n/test/fixtures/text-domains/update-all-domains.php:7
|
4101 |
-
#: vendor/codeinwp/icon-picker/node_modules/grunt-wp-i18n/test/fixtures/text-domains/update-all-domains.php:8
|
4102 |
-
msgctxt "a string"
|
4103 |
-
msgid "String"
|
4104 |
msgstr ""
|
4 |
msgstr ""
|
5 |
"Project-Id-Version: Menu Icons 0.12.2\n"
|
6 |
"Report-Msgid-Bugs-To: https://github.com/Codeinwp/wp-menu-icons/issues\n"
|
7 |
+
"POT-Creation-Date: 2020-07-13 11:24:24+00:00\n"
|
8 |
"MIME-Version: 1.0\n"
|
9 |
"Content-Type: text/plain; charset=utf-8\n"
|
10 |
"Content-Transfer-Encoding: 8bit\n"
|
64 |
msgid "Icon:"
|
65 |
msgstr ""
|
66 |
|
67 |
+
#: includes/picker.php:117 includes/settings.php:740
|
68 |
msgid "Select"
|
69 |
msgstr ""
|
70 |
|
71 |
+
#: includes/picker.php:118 includes/settings.php:741
|
72 |
#: vendor/codeinwp/icon-picker/includes/fields/base.php:68
|
73 |
#: vendor/codeinwp/icon-picker/includes/types/elusive.php:465
|
74 |
msgid "Remove"
|
75 |
msgstr ""
|
76 |
|
77 |
+
#: includes/settings.php:301
|
78 |
msgid "Menu Icons Settings"
|
79 |
msgstr ""
|
80 |
|
81 |
+
#: includes/settings.php:335
|
82 |
msgid "<strong>Menu Icons Settings</strong> have been successfully updated."
|
83 |
msgstr ""
|
84 |
|
85 |
+
#: includes/settings.php:336
|
86 |
msgid "<strong>Menu Icons Settings</strong> have been successfully reset."
|
87 |
msgstr ""
|
88 |
|
89 |
+
#: includes/settings.php:373 includes/settings.php:396
|
90 |
msgid "Extensions"
|
91 |
msgstr ""
|
92 |
|
93 |
+
#: includes/settings.php:415
|
94 |
msgid "Discard all changes and reset to default state"
|
95 |
msgstr ""
|
96 |
|
97 |
+
#: includes/settings.php:416
|
98 |
msgid "Reset"
|
99 |
msgstr ""
|
100 |
|
101 |
+
#: includes/settings.php:425
|
102 |
msgid "Save Settings"
|
103 |
msgstr ""
|
104 |
|
105 |
+
#: includes/settings.php:452
|
106 |
msgid "Global"
|
107 |
msgstr ""
|
108 |
|
109 |
+
#: includes/settings.php:453
|
110 |
msgid "Global settings"
|
111 |
msgstr ""
|
112 |
|
113 |
+
#: includes/settings.php:458
|
114 |
msgid "Icon Types"
|
115 |
msgstr ""
|
116 |
|
117 |
+
#: includes/settings.php:474
|
118 |
msgid "Current Menu"
|
119 |
msgstr ""
|
120 |
|
121 |
+
#: includes/settings.php:476
|
122 |
msgid "\"%s\" menu settings"
|
123 |
msgstr ""
|
124 |
|
125 |
+
#: includes/settings.php:502
|
126 |
msgid "Hide Label"
|
127 |
msgstr ""
|
128 |
|
129 |
+
#: includes/settings.php:507
|
130 |
#: vendor/codeinwp/icon-picker/includes/types/dashicons.php:800
|
131 |
#: vendor/codeinwp/icon-picker/includes/types/dashicons.php:805
|
132 |
msgid "No"
|
133 |
msgstr ""
|
134 |
|
135 |
+
#: includes/settings.php:511
|
136 |
#: vendor/codeinwp/icon-picker/includes/types/dashicons.php:795
|
137 |
msgid "Yes"
|
138 |
msgstr ""
|
139 |
|
140 |
+
#: includes/settings.php:518
|
141 |
msgid "Position"
|
142 |
msgstr ""
|
143 |
|
144 |
+
#: includes/settings.php:523
|
145 |
msgid "Before"
|
146 |
msgstr ""
|
147 |
|
148 |
+
#: includes/settings.php:527
|
149 |
msgid "After"
|
150 |
msgstr ""
|
151 |
|
152 |
+
#: includes/settings.php:534
|
153 |
msgid "Vertical Align"
|
154 |
msgstr ""
|
155 |
|
156 |
+
#: includes/settings.php:539
|
157 |
msgid "Super"
|
158 |
msgstr ""
|
159 |
|
160 |
+
#: includes/settings.php:543
|
161 |
#: vendor/codeinwp/icon-picker/includes/types/genericon.php:292
|
162 |
msgid "Top"
|
163 |
msgstr ""
|
164 |
|
165 |
+
#: includes/settings.php:547
|
166 |
msgid "Text Top"
|
167 |
msgstr ""
|
168 |
|
169 |
+
#: includes/settings.php:551
|
170 |
msgid "Middle"
|
171 |
msgstr ""
|
172 |
|
173 |
+
#: includes/settings.php:555
|
174 |
msgid "Baseline"
|
175 |
msgstr ""
|
176 |
|
177 |
+
#: includes/settings.php:559
|
178 |
msgid "Text Bottom"
|
179 |
msgstr ""
|
180 |
|
181 |
+
#: includes/settings.php:563
|
182 |
msgid "Bottom"
|
183 |
msgstr ""
|
184 |
|
185 |
+
#: includes/settings.php:567
|
186 |
msgid "Sub"
|
187 |
msgstr ""
|
188 |
|
189 |
+
#: includes/settings.php:574
|
190 |
#: vendor/codeinwp/icon-picker/includes/types/elusive.php:910
|
191 |
msgid "Font Size"
|
192 |
msgstr ""
|
193 |
|
194 |
+
#: includes/settings.php:585
|
195 |
msgid "SVG Width"
|
196 |
msgstr ""
|
197 |
|
198 |
+
#: includes/settings.php:596
|
199 |
msgid "Image Size"
|
200 |
msgstr ""
|
201 |
|
202 |
+
#: includes/settings.php:739
|
203 |
#: vendor/codeinwp/icon-picker/includes/fields/base.php:67
|
204 |
#: vendor/codeinwp/icon-picker/includes/loader.php:237
|
205 |
msgid "Select Icon"
|
206 |
msgstr ""
|
207 |
|
208 |
+
#: includes/settings.php:742
|
209 |
msgid "Change"
|
210 |
msgstr ""
|
211 |
|
212 |
+
#: includes/settings.php:743
|
213 |
#: vendor/codeinwp/icon-picker/includes/loader.php:236
|
214 |
msgid "All"
|
215 |
msgstr ""
|
216 |
|
217 |
+
#: includes/settings.php:744
|
218 |
msgid "Preview"
|
219 |
msgstr ""
|
220 |
|
221 |
+
#: includes/settings.php:746
|
222 |
msgid ""
|
223 |
"Please note that the actual look of the icons on the front-end will also be "
|
224 |
"affected by the style of your active theme. You can add your own CSS using "
|
225 |
"%2$s or a plugin such as %3$s if you need to override it."
|
226 |
msgstr ""
|
227 |
|
228 |
+
#: includes/settings.php:751
|
229 |
msgid "the customizer"
|
230 |
msgstr ""
|
231 |
|
232 |
+
#: menu-icons.php:123
|
233 |
msgid "Menu Icons: No registered icon types found."
|
234 |
msgstr ""
|
235 |
|
236 |
+
#: menu-icons.php:152
|
237 |
msgid ""
|
238 |
"Looks like Menu Icons was installed via Composer. Please activate Icon "
|
239 |
"Picker first."
|
240 |
msgstr ""
|
241 |
|
242 |
+
#: vendor/codeinwp/gutenberg-menu-icons/class-gutenberg-menu-icons.php:163
|
243 |
+
#: vendor/codeinwp/gutenberg-menu-icons/class-gutenberg-menu-icons.php:175
|
244 |
+
msgid "Cheatin’ huh?"
|
245 |
+
msgstr ""
|
246 |
+
|
247 |
#: vendor/codeinwp/icon-picker/includes/fontpack.php:132
|
248 |
msgid "Icon Picker: %1$s was not found in %2$s."
|
249 |
msgstr ""
|
4037 |
msgid "SVG"
|
4038 |
msgstr ""
|
4039 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
4040 |
#: vendor/codeinwp/menu-item-custom-fields/doc/menu-item-custom-fields-example.php:51
|
4041 |
msgid "Custom Field #1"
|
4042 |
msgstr ""
|
4063 |
|
4064 |
#. Author URI of the plugin/theme
|
4065 |
msgid "https://themeisle.com"
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
4066 |
msgstr ""
|
menu-icons.php
CHANGED
@@ -11,7 +11,7 @@
|
|
11 |
* Plugin name: Menu Icons
|
12 |
* Plugin URI: https://github.com/Codeinwp/wp-menu-icons
|
13 |
* Description: Spice up your navigation menus with pretty icons, easily.
|
14 |
-
* Version: 0.12.
|
15 |
* Author: ThemeIsle
|
16 |
* Author URI: https://themeisle.com
|
17 |
* License: GPLv2
|
@@ -27,7 +27,7 @@
|
|
27 |
*/
|
28 |
final class Menu_Icons {
|
29 |
|
30 |
-
const VERSION = '0.12.
|
31 |
|
32 |
/**
|
33 |
* Holds plugin data
|
11 |
* Plugin name: Menu Icons
|
12 |
* Plugin URI: https://github.com/Codeinwp/wp-menu-icons
|
13 |
* Description: Spice up your navigation menus with pretty icons, easily.
|
14 |
+
* Version: 0.12.3
|
15 |
* Author: ThemeIsle
|
16 |
* Author URI: https://themeisle.com
|
17 |
* License: GPLv2
|
27 |
*/
|
28 |
final class Menu_Icons {
|
29 |
|
30 |
+
const VERSION = '0.12.3';
|
31 |
|
32 |
/**
|
33 |
* Holds plugin data
|
readme.md
CHANGED
@@ -47,7 +47,7 @@ Development of this plugin is done on [GitHub](https://github.com/codeinwp/wp-me
|
|
47 |
|
48 |
## If you like this plugin, then consider checking out our other projects: ##
|
49 |
|
50 |
-
[CodeinWP Blog](https://codeinwp.com/blog/) – Designer's Guide To WordPress
|
51 |
[Revive.Social](https://revive.social) – Social Media Tools
|
52 |
[JustFreeThemes](https://justfreethemes.com) - Free WordPress Themes directory
|
53 |
|
@@ -224,6 +224,12 @@ Add this block of code to your [mu-plugin file](http://codex.wordpress.org/Must_
|
|
224 |
Read [this blog post](http://kucrut.org/add-custom-image-sizes-right-way/).
|
225 |
|
226 |
## Changelog ##
|
|
|
|
|
|
|
|
|
|
|
|
|
227 |
### 0.12.2 - 2019-11-15 ###
|
228 |
|
229 |
|
47 |
|
48 |
## If you like this plugin, then consider checking out our other projects: ##
|
49 |
|
50 |
+
[CodeinWP Blog](https://www.codeinwp.com/blog/) – Designer's Guide To WordPress
|
51 |
[Revive.Social](https://revive.social) – Social Media Tools
|
52 |
[JustFreeThemes](https://justfreethemes.com) - Free WordPress Themes directory
|
53 |
|
224 |
Read [this blog post](http://kucrut.org/add-custom-image-sizes-right-way/).
|
225 |
|
226 |
## Changelog ##
|
227 |
+
### 0.12.3 - 2020-07-13 ###
|
228 |
+
|
229 |
+
* Fixed Menu Icons in Block Editor not working
|
230 |
+
* Fixed CWP links.
|
231 |
+
|
232 |
+
|
233 |
### 0.12.2 - 2019-11-15 ###
|
234 |
|
235 |
|
readme.txt
CHANGED
@@ -47,7 +47,7 @@ Development of this plugin is done on [GitHub](https://github.com/codeinwp/wp-me
|
|
47 |
|
48 |
== If you like this plugin, then consider checking out our other projects: ==
|
49 |
|
50 |
-
[CodeinWP Blog](https://codeinwp.com/blog/) – Designer's Guide To WordPress
|
51 |
[Revive.Social](https://revive.social) – Social Media Tools
|
52 |
[JustFreeThemes](https://justfreethemes.com) - Free WordPress Themes directory
|
53 |
|
@@ -224,6 +224,12 @@ add_filter( 'menu_icons_menu_settings', 'my_menu_icons_menu_settings', 10, 2 );
|
|
224 |
Read [this blog post](http://kucrut.org/add-custom-image-sizes-right-way/).
|
225 |
|
226 |
== Changelog ==
|
|
|
|
|
|
|
|
|
|
|
|
|
227 |
= 0.12.2 - 2019-11-15 =
|
228 |
|
229 |
|
47 |
|
48 |
== If you like this plugin, then consider checking out our other projects: ==
|
49 |
|
50 |
+
[CodeinWP Blog](https://www.codeinwp.com/blog/) – Designer's Guide To WordPress
|
51 |
[Revive.Social](https://revive.social) – Social Media Tools
|
52 |
[JustFreeThemes](https://justfreethemes.com) - Free WordPress Themes directory
|
53 |
|
224 |
Read [this blog post](http://kucrut.org/add-custom-image-sizes-right-way/).
|
225 |
|
226 |
== Changelog ==
|
227 |
+
= 0.12.3 - 2020-07-13 =
|
228 |
+
|
229 |
+
* Fixed Menu Icons in Block Editor not working
|
230 |
+
* Fixed CWP links.
|
231 |
+
|
232 |
+
|
233 |
= 0.12.2 - 2019-11-15 =
|
234 |
|
235 |
|
vendor/autoload.php
CHANGED
@@ -4,4 +4,4 @@
|
|
4 |
|
5 |
require_once __DIR__ . '/composer' . '/autoload_real.php';
|
6 |
|
7 |
-
return
|
4 |
|
5 |
require_once __DIR__ . '/composer' . '/autoload_real.php';
|
6 |
|
7 |
+
return ComposerAutoloaderInitbdf1557f612cebf282fe0321f09d7caa::getLoader();
|
vendor/codeinwp/gutenberg-menu-icons/CHANGELOG.md
CHANGED
@@ -1,3 +1,7 @@
|
|
|
|
|
|
|
|
|
|
1 |
##### [Version 1.0.3](https://github.com/Codeinwp/gutenberg-menu-icons/compare/v1.0.2...v1.0.3) (2020-04-21)
|
2 |
|
3 |
- Fix wrong use of CONSTANT
|
1 |
+
##### [Version 1.0.4](https://github.com/Codeinwp/gutenberg-menu-icons/compare/v1.0.3...v1.0.4) (2020-05-17)
|
2 |
+
|
3 |
+
- Make it compatible with the latest version of Gutenberg
|
4 |
+
|
5 |
##### [Version 1.0.3](https://github.com/Codeinwp/gutenberg-menu-icons/compare/v1.0.2...v1.0.3) (2020-04-21)
|
6 |
|
7 |
- Fix wrong use of CONSTANT
|
vendor/codeinwp/gutenberg-menu-icons/build/editor.css
CHANGED
@@ -1,2 +1,2 @@
|
|
1 |
-
.wp-block-themeisle-blocks-menu-icon-picker-popover:not(.is-mobile).is-bottom{z-index:9999999}.wp-block-themeisle-blocks-menu-icon-picker-popover .components-popover__content{overflow-y:hidden}.wp-block-themeisle-blocks-menu-icon-picker-popover .components-popover__content .components-menu-group{padding:7px}.wp-block-themeisle-blocks-menu-icon-picker-popover .components-popover__content .components-popover__items{max-height:300px;overflow-y:auto;display:grid;grid-template-columns:auto auto auto auto;grid-column-gap:10px;grid-row-gap:10px}.wp-block-themeisle-blocks-menu-icon-picker-popover .components-popover__content .components-popover__items .components-button{display:flex;justify-content:center}.wp-block-themeisle-blocks-menu-icon-picker-popover .components-popover__content .components-popover__items .components-button:hover{box-shadow:inset 0 0 0 1px #007cba}.wp-block-themeisle-blocks-menu-icon-picker-popover .components-popover__content .components-popover__items .components-button.is-selected{background:#f8f9f9}.wp-block-themeisle-blocks-menu-icon-picker-popover .components-popover__content .components-popover__items .components-button.is-selected i{color:#007cba}.wp-block-themeisle-blocks-menu-icon-picker-popover .components-popover__content .components-popover__items .components-button i.remove-icon{color:#d92222}.fas.wp-block-navigation-link,.fab.wp-block-navigation-link,.far.wp-block-navigation-link{display:flex;font-weight:inherit;-moz-osx-font-smoothing:inherit;-webkit-font-smoothing:inherit;line-height:inherit}.fas.wp-block-navigation-link:before,.fab.wp-block-navigation-link:before,.far.wp-block-navigation-link:before{margin-right:5px}.fas.wp-block-navigation-link .wp-block-navigation-link__content,.fab.wp-block-navigation-link .wp-block-navigation-link__content,.far.wp-block-navigation-link .wp-block-navigation-link__content{font-weight:inherit;-moz-osx-font-smoothing:inherit;-webkit-font-smoothing:inherit}.fas.wp-block-navigation-link .wp-block-navigation-link__content:before,.fab.wp-block-navigation-link .wp-block-navigation-link__content:before,.far.wp-block-navigation-link .wp-block-navigation-link__content:before{margin-right:5px}
|
2 |
|
1 |
+
.wp-block-themeisle-blocks-menu-icon-picker-popover:not(.is-mobile).is-bottom{z-index:9999999}.wp-block-themeisle-blocks-menu-icon-picker-popover .components-popover__content{overflow-y:hidden}.wp-block-themeisle-blocks-menu-icon-picker-popover .components-popover__content .components-menu-group{padding:7px}.wp-block-themeisle-blocks-menu-icon-picker-popover .components-popover__content .components-popover__items{max-height:300px;overflow-y:auto;display:grid;grid-template-columns:auto auto auto auto;grid-column-gap:10px;grid-row-gap:10px}.wp-block-themeisle-blocks-menu-icon-picker-popover .components-popover__content .components-popover__items .components-button{display:flex;justify-content:center}.wp-block-themeisle-blocks-menu-icon-picker-popover .components-popover__content .components-popover__items .components-button:hover{box-shadow:inset 0 0 0 1px #007cba}.wp-block-themeisle-blocks-menu-icon-picker-popover .components-popover__content .components-popover__items .components-button.is-selected{background:#f8f9f9}.wp-block-themeisle-blocks-menu-icon-picker-popover .components-popover__content .components-popover__items .components-button.is-selected i{color:#007cba}.wp-block-themeisle-blocks-menu-icon-picker-popover .components-popover__content .components-popover__items .components-button i.remove-icon{color:#d92222}.fas.wp-block-navigation-link,.fab.wp-block-navigation-link,.far.wp-block-navigation-link{display:flex;align-items:center;font-weight:inherit;-moz-osx-font-smoothing:inherit;-webkit-font-smoothing:inherit;line-height:inherit}.fas.wp-block-navigation-link:before,.fab.wp-block-navigation-link:before,.far.wp-block-navigation-link:before{margin-right:5px}.fas.wp-block-navigation-link .wp-block-navigation-link__content,.fab.wp-block-navigation-link .wp-block-navigation-link__content,.far.wp-block-navigation-link .wp-block-navigation-link__content{display:flex;font-weight:inherit;-moz-osx-font-smoothing:inherit;-webkit-font-smoothing:inherit}.fas.wp-block-navigation-link .wp-block-navigation-link__content:before,.fab.wp-block-navigation-link .wp-block-navigation-link__content:before,.far.wp-block-navigation-link .wp-block-navigation-link__content:before{margin-right:5px}
|
2 |
|
vendor/codeinwp/gutenberg-menu-icons/load.php
CHANGED
@@ -8,7 +8,7 @@
|
|
8 |
* @since 1.0.0
|
9 |
*/
|
10 |
|
11 |
-
define( 'THEMEISLE_GUTENBERG_MENU_ICONS_VERSION', '1.0.
|
12 |
define( 'THEMEISLE_GUTENBERG_MENU_ICONS_DEV', false );
|
13 |
|
14 |
if ( function_exists( 'add_action' ) ) {
|
8 |
* @since 1.0.0
|
9 |
*/
|
10 |
|
11 |
+
define( 'THEMEISLE_GUTENBERG_MENU_ICONS_VERSION', '1.0.4' );
|
12 |
define( 'THEMEISLE_GUTENBERG_MENU_ICONS_DEV', false );
|
13 |
|
14 |
if ( function_exists( 'add_action' ) ) {
|
vendor/codeinwp/themeisle-sdk/CHANGELOG.md
CHANGED
@@ -1,3 +1,27 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
##### [Version 3.2.8](https://github.com/Codeinwp/themeisle-sdk/compare/v3.2.7...v3.2.8) (2020-03-24)
|
2 |
|
3 |
* change license handler method access
|
1 |
+
##### [Version 3.2.14](https://github.com/Codeinwp/themeisle-sdk/compare/v3.2.13...v3.2.14) (2020-06-10)
|
2 |
+
|
3 |
+
> Things are getting better every day. 🚀
|
4 |
+
|
5 |
+
##### [Version 3.2.13](https://github.com/Codeinwp/themeisle-sdk/compare/v3.2.12...v3.2.13) (2020-06-10)
|
6 |
+
|
7 |
+
Adds plan logic and expiration
|
8 |
+
|
9 |
+
##### [Version 3.2.12](https://github.com/Codeinwp/themeisle-sdk/compare/v3.2.11...v3.2.12) (2020-06-10)
|
10 |
+
|
11 |
+
Adds key filter
|
12 |
+
|
13 |
+
##### [Version 3.2.11](https://github.com/Codeinwp/themeisle-sdk/compare/v3.2.10...v3.2.11) (2020-06-04)
|
14 |
+
|
15 |
+
* remove non-printable chars
|
16 |
+
|
17 |
+
##### [Version 3.2.10](https://github.com/Codeinwp/themeisle-sdk/compare/v3.2.9...v3.2.10) (2020-05-28)
|
18 |
+
|
19 |
+
* Remove extra files on export
|
20 |
+
|
21 |
+
##### [Version 3.2.9](https://github.com/Codeinwp/themeisle-sdk/compare/v3.2.8...v3.2.9) (2020-05-18)
|
22 |
+
|
23 |
+
adds new endpoints
|
24 |
+
|
25 |
##### [Version 3.2.8](https://github.com/Codeinwp/themeisle-sdk/compare/v3.2.7...v3.2.8) (2020-03-24)
|
26 |
|
27 |
* change license handler method access
|
vendor/codeinwp/themeisle-sdk/load.php
CHANGED
@@ -14,7 +14,7 @@ if ( ! defined( 'ABSPATH' ) ) {
|
|
14 |
return;
|
15 |
}
|
16 |
// Current SDK version and path.
|
17 |
-
$themeisle_sdk_version = '3.2.
|
18 |
$themeisle_sdk_path = dirname( __FILE__ );
|
19 |
|
20 |
global $themeisle_sdk_max_version;
|
14 |
return;
|
15 |
}
|
16 |
// Current SDK version and path.
|
17 |
+
$themeisle_sdk_version = '3.2.14';
|
18 |
$themeisle_sdk_path = dirname( __FILE__ );
|
19 |
|
20 |
global $themeisle_sdk_max_version;
|
vendor/codeinwp/themeisle-sdk/src/Modules/Licenser.php
CHANGED
@@ -190,18 +190,37 @@ class Licenser extends Abstract_Module {
|
|
190 |
/**
|
191 |
* Return the license status.
|
192 |
*
|
|
|
|
|
193 |
* @return string The License status.
|
194 |
*/
|
195 |
-
public function get_license_status() {
|
196 |
|
197 |
$license_data = get_option( $this->product->get_key() . '_license_data', '' );
|
198 |
|
199 |
if ( '' === $license_data ) {
|
200 |
return get_option( $this->product->get_key() . '_license_status', 'not_active' );
|
201 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
202 |
|
203 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
204 |
|
|
|
205 |
}
|
206 |
|
207 |
/**
|
@@ -244,10 +263,10 @@ class Licenser extends Abstract_Module {
|
|
244 |
return false;
|
245 |
}
|
246 |
|
247 |
-
$status
|
248 |
-
$no_activations_string
|
249 |
-
$no_valid_string
|
250 |
-
|
251 |
// No activations left for this license.
|
252 |
if ( 'valid' != $status && $this->check_activation() ) {
|
253 |
?>
|
@@ -267,6 +286,19 @@ class Licenser extends Abstract_Module {
|
|
267 |
<?php
|
268 |
return false;
|
269 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
270 |
// Invalid license key.
|
271 |
if ( 'valid' != $status ) {
|
272 |
?>
|
@@ -667,6 +699,7 @@ class Licenser extends Abstract_Module {
|
|
667 |
if ( isset( $update_data->banners ) ) {
|
668 |
$update_data->banners = (array) $update_data->banners;
|
669 |
}
|
|
|
670 |
return $update_data;
|
671 |
}
|
672 |
|
@@ -696,6 +729,7 @@ class Licenser extends Abstract_Module {
|
|
696 |
$_transient_data->response[ $this->product->get_slug() . '/' . $this->product->get_file() ] = $api_response;
|
697 |
}
|
698 |
}
|
|
|
699 |
return $_transient_data;
|
700 |
}
|
701 |
|
@@ -796,6 +830,9 @@ class Licenser extends Abstract_Module {
|
|
796 |
|
797 |
if ( false !== $namespace ) {
|
798 |
add_filter( 'themeisle_sdk_license_process_' . $namespace, [ $this, 'do_license_process' ], 10, 2 );
|
|
|
|
|
|
|
799 |
if ( defined( 'WP_CLI' ) && WP_CLI ) {
|
800 |
\WP_CLI::add_command( $namespace . ' activate', [ $this, 'cli_activate' ] );
|
801 |
\WP_CLI::add_command( $namespace . ' deactivate', [ $this, 'cli_deactivate' ] );
|
190 |
/**
|
191 |
* Return the license status.
|
192 |
*
|
193 |
+
* @param bool $check_expiration Should check if license is valid, but expired.
|
194 |
+
*
|
195 |
* @return string The License status.
|
196 |
*/
|
197 |
+
public function get_license_status( $check_expiration = false ) {
|
198 |
|
199 |
$license_data = get_option( $this->product->get_key() . '_license_data', '' );
|
200 |
|
201 |
if ( '' === $license_data ) {
|
202 |
return get_option( $this->product->get_key() . '_license_status', 'not_active' );
|
203 |
}
|
204 |
+
$status = isset( $license_data->license ) ? $license_data->license : get_option( $this->product->get_key() . '_license_status', 'not_active' );
|
205 |
+
if ( false === $check_expiration ) {
|
206 |
+
return $status;
|
207 |
+
}
|
208 |
+
|
209 |
+
return ( 'valid' === $status && isset( $license_data->is_expired ) && 'yes' === $license_data->is_expired ) ? 'active_expired' : $status;
|
210 |
+
}
|
211 |
|
212 |
+
/**
|
213 |
+
* License price id.
|
214 |
+
*
|
215 |
+
* @return int License plan.
|
216 |
+
*/
|
217 |
+
public function get_plan() {
|
218 |
+
$license_data = get_option( $this->product->get_key() . '_license_data', '' );
|
219 |
+
if ( ! isset( $license_data->price_id ) ) {
|
220 |
+
return -1;
|
221 |
+
}
|
222 |
|
223 |
+
return (int) $license_data->price_id;
|
224 |
}
|
225 |
|
226 |
/**
|
263 |
return false;
|
264 |
}
|
265 |
|
266 |
+
$status = $this->get_license_status( true );
|
267 |
+
$no_activations_string = apply_filters( $this->product->get_key() . '_lc_no_activations_string', 'No more activations left for %s. You need to upgrade your plan in order to use %s on more websites. If you need assistance, please get in touch with %s staff.' );
|
268 |
+
$no_valid_string = apply_filters( $this->product->get_key() . '_lc_no_valid_string', 'In order to benefit from updates and support for %s, please add your license code from your <a href="%s" target="_blank">purchase history</a> and validate it <a href="%s">here</a>. ' );
|
269 |
+
$expired_license_string = apply_filters( $this->product->get_key() . '_lc_expired_string', 'Your %s License Key has expired. In order to continue receiving support and software updates you must <a href="%s" target="_blank">renew</a> your license key.' );
|
270 |
// No activations left for this license.
|
271 |
if ( 'valid' != $status && $this->check_activation() ) {
|
272 |
?>
|
286 |
<?php
|
287 |
return false;
|
288 |
}
|
289 |
+
|
290 |
+
// Invalid license key.
|
291 |
+
if ( 'active_expired' === $status ) {
|
292 |
+
?>
|
293 |
+
<div class="error">
|
294 |
+
<p>
|
295 |
+
<strong><?php echo sprintf( $expired_license_string, $this->product->get_name() . ' ' . $this->product->get_type(), $this->get_api_url() . '?license=' . $this->license_key ); ?> </strong>
|
296 |
+
</p>
|
297 |
+
</div>
|
298 |
+
<?php
|
299 |
+
|
300 |
+
return false;
|
301 |
+
}
|
302 |
// Invalid license key.
|
303 |
if ( 'valid' != $status ) {
|
304 |
?>
|
699 |
if ( isset( $update_data->banners ) ) {
|
700 |
$update_data->banners = (array) $update_data->banners;
|
701 |
}
|
702 |
+
|
703 |
return $update_data;
|
704 |
}
|
705 |
|
729 |
$_transient_data->response[ $this->product->get_slug() . '/' . $this->product->get_file() ] = $api_response;
|
730 |
}
|
731 |
}
|
732 |
+
|
733 |
return $_transient_data;
|
734 |
}
|
735 |
|
830 |
|
831 |
if ( false !== $namespace ) {
|
832 |
add_filter( 'themeisle_sdk_license_process_' . $namespace, [ $this, 'do_license_process' ], 10, 2 );
|
833 |
+
add_filter( 'product_' . $namespace . '_license_status', [ $this, 'get_license_status' ], PHP_INT_MAX );
|
834 |
+
add_filter( 'product_' . $namespace . '_license_key', [ $this->product, 'get_license' ] );
|
835 |
+
add_filter( 'product_' . $namespace . '_license_plan', [ $this, 'get_plan' ], PHP_INT_MAX );
|
836 |
if ( defined( 'WP_CLI' ) && WP_CLI ) {
|
837 |
\WP_CLI::add_command( $namespace . ' activate', [ $this, 'cli_activate' ] );
|
838 |
\WP_CLI::add_command( $namespace . ' deactivate', [ $this, 'cli_deactivate' ] );
|
vendor/codeinwp/themeisle-sdk/src/Modules/Logger.php
CHANGED
@@ -27,7 +27,7 @@ class Logger extends Abstract_Module {
|
|
27 |
/**
|
28 |
* Endpoint where to collect logs.
|
29 |
*/
|
30 |
-
const TRACKING_ENDPOINT = '
|
31 |
|
32 |
|
33 |
/**
|
@@ -90,19 +90,22 @@ class Logger extends Abstract_Module {
|
|
90 |
* @return bool Is logger active?
|
91 |
*/
|
92 |
private function is_logger_active() {
|
93 |
-
|
94 |
-
return true;
|
95 |
-
}
|
96 |
-
$pro_slug = $this->product->get_pro_slug();
|
97 |
|
98 |
-
if ( !
|
99 |
-
$
|
100 |
-
|
101 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
102 |
}
|
103 |
}
|
104 |
|
105 |
-
return ( get_option( $this->product->get_key() . '_logger_flag',
|
106 |
}
|
107 |
|
108 |
/**
|
@@ -151,6 +154,7 @@ class Logger extends Abstract_Module {
|
|
151 |
$environment['theme'] = array();
|
152 |
$environment['theme']['name'] = $theme->get( 'Name' );
|
153 |
$environment['theme']['author'] = $theme->get( 'Author' );
|
|
|
154 |
$environment['plugins'] = get_option( 'active_plugins' );
|
155 |
global $wp_version;
|
156 |
wp_remote_post(
|
@@ -159,14 +163,12 @@ class Logger extends Abstract_Module {
|
|
159 |
'method' => 'POST',
|
160 |
'timeout' => 3,
|
161 |
'redirection' => 5,
|
162 |
-
'headers' => array(
|
163 |
-
'X-ThemeIsle-Event' => 'log_site',
|
164 |
-
),
|
165 |
'body' => array(
|
166 |
'site' => get_site_url(),
|
167 |
'slug' => $this->product->get_slug(),
|
168 |
'version' => $this->product->get_version(),
|
169 |
'wp_version' => $wp_version,
|
|
|
170 |
'data' => apply_filters( $this->product->get_key() . '_logger_data', array() ),
|
171 |
'environment' => $environment,
|
172 |
'license' => apply_filters( $this->product->get_key() . '_license_status', '' ),
|
27 |
/**
|
28 |
* Endpoint where to collect logs.
|
29 |
*/
|
30 |
+
const TRACKING_ENDPOINT = 'https://api.themeisle.com/tracking/log';
|
31 |
|
32 |
|
33 |
/**
|
90 |
* @return bool Is logger active?
|
91 |
*/
|
92 |
private function is_logger_active() {
|
93 |
+
$default = 'no';
|
|
|
|
|
|
|
94 |
|
95 |
+
if ( ! $this->product->is_wordpress_available() ) {
|
96 |
+
$default = 'yes';
|
97 |
+
} else {
|
98 |
+
$pro_slug = $this->product->get_pro_slug();
|
99 |
+
|
100 |
+
if ( ! empty( $pro_slug ) ) {
|
101 |
+
$all_products = Loader::get_products();
|
102 |
+
if ( isset( $all_products[ $pro_slug ] ) ) {
|
103 |
+
$default = 'yes';
|
104 |
+
}
|
105 |
}
|
106 |
}
|
107 |
|
108 |
+
return ( get_option( $this->product->get_key() . '_logger_flag', $default ) === 'yes' );
|
109 |
}
|
110 |
|
111 |
/**
|
154 |
$environment['theme'] = array();
|
155 |
$environment['theme']['name'] = $theme->get( 'Name' );
|
156 |
$environment['theme']['author'] = $theme->get( 'Author' );
|
157 |
+
$environment['theme']['parent'] = $theme->parent() !== false ? $theme->parent()->get( 'Name' ) : $theme->get( 'Name' );
|
158 |
$environment['plugins'] = get_option( 'active_plugins' );
|
159 |
global $wp_version;
|
160 |
wp_remote_post(
|
163 |
'method' => 'POST',
|
164 |
'timeout' => 3,
|
165 |
'redirection' => 5,
|
|
|
|
|
|
|
166 |
'body' => array(
|
167 |
'site' => get_site_url(),
|
168 |
'slug' => $this->product->get_slug(),
|
169 |
'version' => $this->product->get_version(),
|
170 |
'wp_version' => $wp_version,
|
171 |
+
'locale' => get_locale(),
|
172 |
'data' => apply_filters( $this->product->get_key() . '_logger_data', array() ),
|
173 |
'environment' => $environment,
|
174 |
'license' => apply_filters( $this->product->get_key() . '_license_status', '' ),
|
vendor/codeinwp/themeisle-sdk/src/Modules/Review.php
CHANGED
@@ -67,7 +67,7 @@ class Review extends Abstract_Module {
|
|
67 |
|
68 |
$link = 'https://wordpress.org/support/' . $this->product->get_type() . '/' . $this->product->get_slug() . '/reviews/#wporg-footer';
|
69 |
|
70 |
-
$message = apply_filters( $this->product->get_key() . '_feedback_review_message', '<p>Hey, it
|
71 |
|
72 |
$button_submit = apply_filters( $this->product->get_key() . '_feedback_review_button_do', 'Ok, I will gladly help.' );
|
73 |
$button_cancel = apply_filters( $this->product->get_key() . '_feedback_review_button_cancel', 'No, thanks.' );
|
67 |
|
68 |
$link = 'https://wordpress.org/support/' . $this->product->get_type() . '/' . $this->product->get_slug() . '/reviews/#wporg-footer';
|
69 |
|
70 |
+
$message = apply_filters( $this->product->get_key() . '_feedback_review_message', '<p>Hey, it\'s great to see you have <b>{product}</b> active for a few days now. How is everything going? If you can spare a few moments to rate it on WordPress.org it would help us a lot (and boost my motivation). Cheers! <br/> <br/>~ {developer}, developer of {product}</p>' );
|
71 |
|
72 |
$button_submit = apply_filters( $this->product->get_key() . '_feedback_review_button_do', 'Ok, I will gladly help.' );
|
73 |
$button_cancel = apply_filters( $this->product->get_key() . '_feedback_review_button_cancel', 'No, thanks.' );
|
vendor/codeinwp/themeisle-sdk/src/Modules/Translate.php
CHANGED
@@ -295,7 +295,7 @@ class Translate extends Abstract_Module {
|
|
295 |
),
|
296 |
'gn' => array(
|
297 |
'slug' => 'gn',
|
298 |
-
'name' => '
|
299 |
),
|
300 |
'gsw' => array(
|
301 |
'slug' => 'gsw',
|
@@ -471,7 +471,7 @@ class Translate extends Abstract_Module {
|
|
471 |
),
|
472 |
'nb_NO' => array(
|
473 |
'slug' => 'nb',
|
474 |
-
'name' => 'Norwegian (
|
475 |
),
|
476 |
'nl_NL' => array(
|
477 |
'slug' => 'nl',
|
295 |
),
|
296 |
'gn' => array(
|
297 |
'slug' => 'gn',
|
298 |
+
'name' => 'Guarani',
|
299 |
),
|
300 |
'gsw' => array(
|
301 |
'slug' => 'gsw',
|
471 |
),
|
472 |
'nb_NO' => array(
|
473 |
'slug' => 'nb',
|
474 |
+
'name' => 'Norwegian (Bokmal)',
|
475 |
),
|
476 |
'nl_NL' => array(
|
477 |
'slug' => 'nl',
|
vendor/codeinwp/themeisle-sdk/src/Modules/Uninstall_feedback.php
CHANGED
@@ -40,7 +40,7 @@ class Uninstall_Feedback extends Abstract_Module {
|
|
40 |
*
|
41 |
* @var string Endpoint url.
|
42 |
*/
|
43 |
-
const FEEDBACK_ENDPOINT = '
|
44 |
|
45 |
/**
|
46 |
* Default options for plugins.
|
@@ -109,7 +109,7 @@ class Uninstall_Feedback extends Abstract_Module {
|
|
109 |
*
|
110 |
* @var string $heading_plugin The heading of the modal
|
111 |
*/
|
112 |
-
private $heading_plugin = 'What
|
113 |
/**
|
114 |
* Default heading for theme.
|
115 |
*
|
@@ -698,6 +698,7 @@ class Uninstall_Feedback extends Abstract_Module {
|
|
698 |
'title' => 'Below is a detailed view of all data that ThemeIsle will receive if you fill in this survey. No domain name, email address or IP addresses are transmited after you submit the survey.',
|
699 |
'items' => [
|
700 |
sprintf( '%s %s version %s %s %s %s', '<strong>', ucwords( $this->product->get_type() ), '</strong>', '<code>', $this->product->get_version(), '</code>' ),
|
|
|
701 |
sprintf( '%s Uninstall reason %s %s Selected reason from the above survey %s ', '<strong>', '</strong>', '<i>', '</i>' ),
|
702 |
],
|
703 |
],
|
@@ -782,6 +783,7 @@ class Uninstall_Feedback extends Abstract_Module {
|
|
782 |
$version = $this->product->get_version();
|
783 |
$attributes['slug'] = $slug;
|
784 |
$attributes['version'] = $version;
|
|
|
785 |
|
786 |
$response = wp_remote_post(
|
787 |
self::FEEDBACK_ENDPOINT,
|
40 |
*
|
41 |
* @var string Endpoint url.
|
42 |
*/
|
43 |
+
const FEEDBACK_ENDPOINT = 'https://api.themeisle.com/tracking/uninstall';
|
44 |
|
45 |
/**
|
46 |
* Default options for plugins.
|
109 |
*
|
110 |
* @var string $heading_plugin The heading of the modal
|
111 |
*/
|
112 |
+
private $heading_plugin = 'What\'s wrong?';
|
113 |
/**
|
114 |
* Default heading for theme.
|
115 |
*
|
698 |
'title' => 'Below is a detailed view of all data that ThemeIsle will receive if you fill in this survey. No domain name, email address or IP addresses are transmited after you submit the survey.',
|
699 |
'items' => [
|
700 |
sprintf( '%s %s version %s %s %s %s', '<strong>', ucwords( $this->product->get_type() ), '</strong>', '<code>', $this->product->get_version(), '</code>' ),
|
701 |
+
sprintf( '%sCurrent website:%s %s %s %s', '<strong>', '</strong>', '<code>', get_site_url(), '</code>' ),
|
702 |
sprintf( '%s Uninstall reason %s %s Selected reason from the above survey %s ', '<strong>', '</strong>', '<i>', '</i>' ),
|
703 |
],
|
704 |
],
|
783 |
$version = $this->product->get_version();
|
784 |
$attributes['slug'] = $slug;
|
785 |
$attributes['version'] = $version;
|
786 |
+
$attributes['url'] = get_site_url();
|
787 |
|
788 |
$response = wp_remote_post(
|
789 |
self::FEEDBACK_ENDPOINT,
|
vendor/composer/autoload_real.php
CHANGED
@@ -2,7 +2,7 @@
|
|
2 |
|
3 |
// autoload_real.php @generated by Composer
|
4 |
|
5 |
-
class
|
6 |
{
|
7 |
private static $loader;
|
8 |
|
@@ -19,9 +19,9 @@ class ComposerAutoloaderInitddf22b4b88bf26baf7ee4e0ae7c8e69c
|
|
19 |
return self::$loader;
|
20 |
}
|
21 |
|
22 |
-
spl_autoload_register(array('
|
23 |
self::$loader = $loader = new \Composer\Autoload\ClassLoader();
|
24 |
-
spl_autoload_unregister(array('
|
25 |
|
26 |
$map = require __DIR__ . '/autoload_namespaces.php';
|
27 |
foreach ($map as $namespace => $path) {
|
@@ -42,14 +42,14 @@ class ComposerAutoloaderInitddf22b4b88bf26baf7ee4e0ae7c8e69c
|
|
42 |
|
43 |
$includeFiles = require __DIR__ . '/autoload_files.php';
|
44 |
foreach ($includeFiles as $fileIdentifier => $file) {
|
45 |
-
|
46 |
}
|
47 |
|
48 |
return $loader;
|
49 |
}
|
50 |
}
|
51 |
|
52 |
-
function
|
53 |
{
|
54 |
if (empty($GLOBALS['__composer_autoload_files'][$fileIdentifier])) {
|
55 |
require $file;
|
2 |
|
3 |
// autoload_real.php @generated by Composer
|
4 |
|
5 |
+
class ComposerAutoloaderInitbdf1557f612cebf282fe0321f09d7caa
|
6 |
{
|
7 |
private static $loader;
|
8 |
|
19 |
return self::$loader;
|
20 |
}
|
21 |
|
22 |
+
spl_autoload_register(array('ComposerAutoloaderInitbdf1557f612cebf282fe0321f09d7caa', 'loadClassLoader'), true, true);
|
23 |
self::$loader = $loader = new \Composer\Autoload\ClassLoader();
|
24 |
+
spl_autoload_unregister(array('ComposerAutoloaderInitbdf1557f612cebf282fe0321f09d7caa', 'loadClassLoader'));
|
25 |
|
26 |
$map = require __DIR__ . '/autoload_namespaces.php';
|
27 |
foreach ($map as $namespace => $path) {
|
42 |
|
43 |
$includeFiles = require __DIR__ . '/autoload_files.php';
|
44 |
foreach ($includeFiles as $fileIdentifier => $file) {
|
45 |
+
composerRequirebdf1557f612cebf282fe0321f09d7caa($fileIdentifier, $file);
|
46 |
}
|
47 |
|
48 |
return $loader;
|
49 |
}
|
50 |
}
|
51 |
|
52 |
+
function composerRequirebdf1557f612cebf282fe0321f09d7caa($fileIdentifier, $file)
|
53 |
{
|
54 |
if (empty($GLOBALS['__composer_autoload_files'][$fileIdentifier])) {
|
55 |
require $file;
|
vendor/composer/installed.json
CHANGED
@@ -79,17 +79,17 @@
|
|
79 |
},
|
80 |
{
|
81 |
"name": "codeinwp/themeisle-sdk",
|
82 |
-
"version": "3.2.
|
83 |
-
"version_normalized": "3.2.
|
84 |
"source": {
|
85 |
"type": "git",
|
86 |
"url": "https://github.com/Codeinwp/themeisle-sdk.git",
|
87 |
-
"reference": "
|
88 |
},
|
89 |
"dist": {
|
90 |
"type": "zip",
|
91 |
-
"url": "https://api.github.com/repos/Codeinwp/themeisle-sdk/zipball/
|
92 |
-
"reference": "
|
93 |
"shasum": ""
|
94 |
},
|
95 |
"require-dev": {
|
@@ -97,7 +97,7 @@
|
|
97 |
"squizlabs/php_codesniffer": "^3.1",
|
98 |
"wp-coding-standards/wpcs": "^1.0.0"
|
99 |
},
|
100 |
-
"time": "2020-
|
101 |
"type": "library",
|
102 |
"installation-source": "dist",
|
103 |
"notification-url": "https://packagist.org/downloads/",
|
@@ -119,17 +119,17 @@
|
|
119 |
},
|
120 |
{
|
121 |
"name": "codeinwp/gutenberg-menu-icons",
|
122 |
-
"version": "1.0.
|
123 |
-
"version_normalized": "1.0.
|
124 |
"source": {
|
125 |
"type": "git",
|
126 |
"url": "https://github.com/Codeinwp/gutenberg-menu-icons.git",
|
127 |
-
"reference": "
|
128 |
},
|
129 |
"dist": {
|
130 |
"type": "zip",
|
131 |
-
"url": "https://api.github.com/repos/Codeinwp/gutenberg-menu-icons/zipball/
|
132 |
-
"reference": "
|
133 |
"shasum": ""
|
134 |
},
|
135 |
"require-dev": {
|
@@ -139,7 +139,7 @@
|
|
139 |
"squizlabs/php_codesniffer": "^3.3",
|
140 |
"wp-coding-standards/wpcs": "^1"
|
141 |
},
|
142 |
-
"time": "2020-
|
143 |
"type": "library",
|
144 |
"installation-source": "dist",
|
145 |
"autoload": {
|
79 |
},
|
80 |
{
|
81 |
"name": "codeinwp/themeisle-sdk",
|
82 |
+
"version": "3.2.14",
|
83 |
+
"version_normalized": "3.2.14.0",
|
84 |
"source": {
|
85 |
"type": "git",
|
86 |
"url": "https://github.com/Codeinwp/themeisle-sdk.git",
|
87 |
+
"reference": "992f5e8347836e325ffc50760da1d550b79831c4"
|
88 |
},
|
89 |
"dist": {
|
90 |
"type": "zip",
|
91 |
+
"url": "https://api.github.com/repos/Codeinwp/themeisle-sdk/zipball/992f5e8347836e325ffc50760da1d550b79831c4",
|
92 |
+
"reference": "992f5e8347836e325ffc50760da1d550b79831c4",
|
93 |
"shasum": ""
|
94 |
},
|
95 |
"require-dev": {
|
97 |
"squizlabs/php_codesniffer": "^3.1",
|
98 |
"wp-coding-standards/wpcs": "^1.0.0"
|
99 |
},
|
100 |
+
"time": "2020-06-10 16:25:09",
|
101 |
"type": "library",
|
102 |
"installation-source": "dist",
|
103 |
"notification-url": "https://packagist.org/downloads/",
|
119 |
},
|
120 |
{
|
121 |
"name": "codeinwp/gutenberg-menu-icons",
|
122 |
+
"version": "1.0.4",
|
123 |
+
"version_normalized": "1.0.4.0",
|
124 |
"source": {
|
125 |
"type": "git",
|
126 |
"url": "https://github.com/Codeinwp/gutenberg-menu-icons.git",
|
127 |
+
"reference": "121ef82c57a556301265cbd1032d28619235e488"
|
128 |
},
|
129 |
"dist": {
|
130 |
"type": "zip",
|
131 |
+
"url": "https://api.github.com/repos/Codeinwp/gutenberg-menu-icons/zipball/121ef82c57a556301265cbd1032d28619235e488",
|
132 |
+
"reference": "121ef82c57a556301265cbd1032d28619235e488",
|
133 |
"shasum": ""
|
134 |
},
|
135 |
"require-dev": {
|
139 |
"squizlabs/php_codesniffer": "^3.3",
|
140 |
"wp-coding-standards/wpcs": "^1"
|
141 |
},
|
142 |
+
"time": "2020-05-17 21:08:46",
|
143 |
"type": "library",
|
144 |
"installation-source": "dist",
|
145 |
"autoload": {
|