Version Description
Download this release
Release Info
Developer | themeisle |
Plugin | Menu Icons by ThemeIsle |
Version | 0.12.12 |
Comparing to | |
See all releases |
Code changes from version 0.12.11 to 0.12.12
- CHANGELOG.md +6 -0
- css/dashboard-notice.css +4 -0
- css/dashboard-notice.min.css +1 -1
- includes/front.php +33 -3
- js/dashboard-notice.js +0 -12
- js/dashboard-notice.min.js +0 -1
- menu-icons.php +21 -37
- readme.txt +10 -1
- vendor/autoload.php +6 -1
- vendor/composer/InstalledVersions.php +2 -0
- vendor/composer/autoload_classmap.php +1 -1
- vendor/composer/autoload_files.php +1 -1
- vendor/composer/autoload_namespaces.php +1 -1
- vendor/composer/autoload_psr4.php +1 -1
- vendor/composer/autoload_real.php +9 -32
- vendor/composer/autoload_static.php +2 -2
- vendor/composer/installed.php +6 -6
CHANGELOG.md
CHANGED
@@ -1,3 +1,9 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
##### [Version 0.12.11](https://github.com/codeinwp/wp-menu-icons/compare/v0.12.10...v0.12.11) (2022-03-16)
|
2 |
|
3 |
Add font awesome 5 support
|
1 |
+
##### [Version 0.12.12](https://github.com/codeinwp/wp-menu-icons/compare/v0.12.11...v0.12.12) (2022-05-27)
|
2 |
+
|
3 |
+
- Fix the style handler conflict issue which breaks the arrow icon of the submenus on some themes
|
4 |
+
- Fix dismiss dashboard notice issue on some edge cases
|
5 |
+
- Fix compatibility with the Max Mega Menu plugin
|
6 |
+
|
7 |
##### [Version 0.12.11](https://github.com/codeinwp/wp-menu-icons/compare/v0.12.10...v0.12.11) (2022-03-16)
|
8 |
|
9 |
Add font awesome 5 support
|
css/dashboard-notice.css
CHANGED
@@ -1,4 +1,5 @@
|
|
1 |
.menu-icon-dashboard-notice {
|
|
|
2 |
background: #FFFFFF;
|
3 |
border: 1px solid #E1E1E1;
|
4 |
box-sizing: border-box;
|
@@ -38,3 +39,6 @@
|
|
38 |
font-size: 13px;
|
39 |
line-height: 1.5;
|
40 |
}
|
|
|
|
|
|
1 |
.menu-icon-dashboard-notice {
|
2 |
+
position: relative;
|
3 |
background: #FFFFFF;
|
4 |
border: 1px solid #E1E1E1;
|
5 |
box-sizing: border-box;
|
39 |
font-size: 13px;
|
40 |
line-height: 1.5;
|
41 |
}
|
42 |
+
.menu-icon-dashboard-notice .notice-dismiss {
|
43 |
+
text-decoration: none;
|
44 |
+
}
|
css/dashboard-notice.min.css
CHANGED
@@ -1 +1 @@
|
|
1 |
-
.menu-icon-dashboard-notice{background:#fff;border:1px solid #e1e1e1;box-sizing:border-box;padding:24px;border-left:4px solid #72aee6;margin:0 0 30px}.menu-icon-dashboard-notice h2{padding:0;margin:0 0 8px;font-weight:700;font-size:18px;line-height:1.2;color:#000}.menu-icon-dashboard-notice p{font-size:12px;line-height:1.2;color:#000;display:block;margin-bottom:16px}.menu-icon-dashboard-notice .button{display:flex;flex-direction:row;justify-content:center;align-items:center;padding:5px 12px;background:#0071ae;border-radius:4px;width:105px;height:30px;color:#fff;font-size:13px;line-height:1.5}
|
1 |
+
.menu-icon-dashboard-notice{position:relative;background:#fff;border:1px solid #e1e1e1;box-sizing:border-box;padding:24px;border-left:4px solid #72aee6;margin:0 0 30px}.menu-icon-dashboard-notice h2{padding:0;margin:0 0 8px;font-weight:700;font-size:18px;line-height:1.2;color:#000}.menu-icon-dashboard-notice p{font-size:12px;line-height:1.2;color:#000;display:block;margin-bottom:16px}.menu-icon-dashboard-notice .button{display:flex;flex-direction:row;justify-content:center;align-items:center;padding:5px 12px;background:#0071ae;border-radius:4px;width:105px;height:30px;color:#fff;font-size:13px;line-height:1.5}.menu-icon-dashboard-notice .notice-dismiss{text-decoration:none}
|
includes/front.php
CHANGED
@@ -141,9 +141,23 @@ final class Menu_Icons_Front_End {
|
|
141 |
* @link http://codex.wordpress.org/Plugin_API/Action_Reference/wp_enqueue_scripts
|
142 |
*/
|
143 |
public static function _enqueue_styles() {
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
144 |
foreach ( self::$icon_types as $type ) {
|
145 |
-
|
146 |
-
|
|
|
|
|
|
|
|
|
147 |
}
|
148 |
}
|
149 |
|
@@ -181,6 +195,8 @@ final class Menu_Icons_Front_End {
|
|
181 |
*/
|
182 |
public static function _add_menu_item_title_filter( $args ) {
|
183 |
add_filter( 'the_title', array( __CLASS__, '_add_icon' ), 999, 2 );
|
|
|
|
|
184 |
|
185 |
return $args;
|
186 |
}
|
@@ -199,7 +215,8 @@ final class Menu_Icons_Front_End {
|
|
199 |
*/
|
200 |
public static function _remove_menu_item_title_filter( $nav_menu ) {
|
201 |
remove_filter( 'the_title', array( __CLASS__, '_add_icon' ), 999, 2 );
|
202 |
-
|
|
|
203 |
return $nav_menu;
|
204 |
}
|
205 |
|
@@ -480,4 +497,17 @@ final class Menu_Icons_Front_End {
|
|
480 |
$style
|
481 |
);
|
482 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
483 |
}
|
141 |
* @link http://codex.wordpress.org/Plugin_API/Action_Reference/wp_enqueue_scripts
|
142 |
*/
|
143 |
public static function _enqueue_styles() {
|
144 |
+
// Deregister icon picker plugin font-awesome style and re-register with the new handler to avoid other plugin/theme style handler conflict.
|
145 |
+
$wp_styles = wp_styles();
|
146 |
+
if ( $wp_styles && isset( $wp_styles->registered['font-awesome'] ) ) {
|
147 |
+
$registered = $wp_styles->registered['font-awesome'];
|
148 |
+
if ( strpos( $registered->src, Menu_Icons::get( 'url' ) ) !== false ) {
|
149 |
+
$wp_styles->remove( 'font-awesome' );
|
150 |
+
$wp_styles->add( 'menu-icon-' . $registered->handle, $registered->src, $registered->deps, $registered->ver, $registered->args );
|
151 |
+
}
|
152 |
+
}
|
153 |
+
|
154 |
foreach ( self::$icon_types as $type ) {
|
155 |
+
$stylesheet_id = $type->stylesheet_id;
|
156 |
+
if ( 'font-awesome' === $stylesheet_id ) {
|
157 |
+
$stylesheet_id = 'menu-icon-' . $stylesheet_id;
|
158 |
+
}
|
159 |
+
if ( wp_style_is( $stylesheet_id, 'registered' ) ) {
|
160 |
+
wp_enqueue_style( $stylesheet_id );
|
161 |
}
|
162 |
}
|
163 |
|
195 |
*/
|
196 |
public static function _add_menu_item_title_filter( $args ) {
|
197 |
add_filter( 'the_title', array( __CLASS__, '_add_icon' ), 999, 2 );
|
198 |
+
add_filter( 'megamenu_the_title', array( __CLASS__, '_add_icon' ), 999, 2 );
|
199 |
+
add_filter( 'megamenu_nav_menu_css_class', array( __CLASS__, '_add_menu_item_class' ), 10, 3 );
|
200 |
|
201 |
return $args;
|
202 |
}
|
215 |
*/
|
216 |
public static function _remove_menu_item_title_filter( $nav_menu ) {
|
217 |
remove_filter( 'the_title', array( __CLASS__, '_add_icon' ), 999, 2 );
|
218 |
+
remove_filter( 'megamenu_the_title', array( __CLASS__, '_add_icon' ), 999, 2 );
|
219 |
+
remove_filter( 'megamenu_nav_menu_css_class', array( __CLASS__, '_add_menu_item_class' ), 10, 3 );
|
220 |
return $nav_menu;
|
221 |
}
|
222 |
|
497 |
$style
|
498 |
);
|
499 |
}
|
500 |
+
|
501 |
+
/**
|
502 |
+
* Add menu item class in `Max Mega Menu` item.
|
503 |
+
*
|
504 |
+
* @param array $classes Item classes.
|
505 |
+
* @param array $item WP menu item.
|
506 |
+
* @param object $args Menu object.
|
507 |
+
* @return array
|
508 |
+
*/
|
509 |
+
public static function _add_menu_item_class( $classes, $item, $args ) { // phpcs:ignore PSR2.Methods.MethodDeclaration.Underscore
|
510 |
+
$classes[] = 'menu-item';
|
511 |
+
return $classes;
|
512 |
+
}
|
513 |
}
|
js/dashboard-notice.js
DELETED
@@ -1,12 +0,0 @@
|
|
1 |
-
jQuery( document ).ready( function( $ ) {
|
2 |
-
$( '.menu-icon-dashboard-notice' ).on( 'click', 'button.notice-dismiss', function() {
|
3 |
-
$.post( window.menuIcons.ajaxUrls,
|
4 |
-
{
|
5 |
-
action: 'wp_menu_icons_dismiss_dashboard_notice',
|
6 |
-
_nonce: window.menuIcons._nonce,
|
7 |
-
dismiss: 1,
|
8 |
-
},
|
9 |
-
function( res ) {}
|
10 |
-
)
|
11 |
-
} );
|
12 |
-
} );
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
js/dashboard-notice.min.js
DELETED
@@ -1 +0,0 @@
|
|
1 |
-
jQuery(document).ready(function(n){n(".menu-icon-dashboard-notice").on("click","button.notice-dismiss",function(){n.post(window.menuIcons.ajaxUrls,{action:"wp_menu_icons_dismiss_dashboard_notice",_nonce:window.menuIcons._nonce,dismiss:1},function(n){})})});
|
|
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
|
@@ -29,7 +29,7 @@ final class Menu_Icons {
|
|
29 |
|
30 |
const DISMISS_NOTICE = 'menu-icons-dismiss-notice';
|
31 |
|
32 |
-
const VERSION = '0.12.
|
33 |
|
34 |
/**
|
35 |
* Holds plugin data
|
@@ -100,7 +100,7 @@ final class Menu_Icons {
|
|
100 |
|
101 |
add_action( 'admin_enqueue_scripts', array( __CLASS__, '_admin_enqueue_scripts' ) );
|
102 |
add_action( 'wp_dashboard_setup', array( __CLASS__, '_wp_menu_icons_dashboard_notice' ) );
|
103 |
-
add_action( '
|
104 |
}
|
105 |
|
106 |
|
@@ -172,35 +172,12 @@ final class Menu_Icons {
|
|
172 |
$url = self::get( 'url' );
|
173 |
$suffix = kucrut_get_script_suffix();
|
174 |
|
175 |
-
if ( defined( 'MENU_ICONS_SCRIPT_DEBUG' ) && MENU_ICONS_SCRIPT_DEBUG ) {
|
176 |
-
$script_url = '//localhost:8081/';
|
177 |
-
} else {
|
178 |
-
$script_url = $url;
|
179 |
-
}
|
180 |
-
|
181 |
wp_register_style(
|
182 |
'menu-icons-dashboard',
|
183 |
"{$url}css/dashboard-notice{$suffix}.css",
|
184 |
false,
|
185 |
self::VERSION
|
186 |
);
|
187 |
-
|
188 |
-
wp_register_script(
|
189 |
-
'menu-icons-dashboard',
|
190 |
-
"{$script_url}js/dashboard-notice{$suffix}.js",
|
191 |
-
array( 'jquery' ),
|
192 |
-
self::VERSION,
|
193 |
-
true
|
194 |
-
);
|
195 |
-
|
196 |
-
wp_localize_script(
|
197 |
-
'menu-icons-dashboard',
|
198 |
-
'menuIcons',
|
199 |
-
array(
|
200 |
-
'ajaxUrls' => admin_url( 'admin-ajax.php' ),
|
201 |
-
'_nonce' => wp_create_nonce( self::DISMISS_NOTICE ),
|
202 |
-
)
|
203 |
-
);
|
204 |
}
|
205 |
|
206 |
/**
|
@@ -218,17 +195,15 @@ final class Menu_Icons {
|
|
218 |
* Ajax request handle for dissmiss dashboard notice.
|
219 |
*/
|
220 |
public static function wp_menu_icons_dismiss_dashboard_notice() {
|
221 |
-
|
222 |
-
|
223 |
-
|
224 |
-
|
225 |
|
226 |
-
|
227 |
-
|
228 |
-
|
229 |
-
|
230 |
-
);
|
231 |
-
die();
|
232 |
}
|
233 |
|
234 |
/**
|
@@ -241,11 +216,20 @@ final class Menu_Icons {
|
|
241 |
),
|
242 |
admin_url( 'theme-install.php' )
|
243 |
);
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
244 |
?>
|
245 |
-
<div class="notice notice-info
|
246 |
<h2><?php esc_html_e( 'Thank you for installing Menu Icons!', 'menu-icons' ); ?></h2>
|
247 |
<p><?php esc_html_e( 'Have you heard about our latest FREE theme - Neve? Using a mobile-first approach, compatibility with AMP and popular page-builders, Neve makes website building accessible for everyone.', 'menu-icons' ); ?></p>
|
248 |
<a href="<?php echo esc_url( $neve_theme_url ); ?>" class="button button-primary button-large"><?php esc_html_e( 'Preview Neve', 'menu-icons' ); ?></a>
|
|
|
249 |
</div>
|
250 |
<?php
|
251 |
}
|
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.12
|
15 |
* Author: ThemeIsle
|
16 |
* Author URI: https://themeisle.com
|
17 |
* License: GPLv2
|
29 |
|
30 |
const DISMISS_NOTICE = 'menu-icons-dismiss-notice';
|
31 |
|
32 |
+
const VERSION = '0.12.12';
|
33 |
|
34 |
/**
|
35 |
* Holds plugin data
|
100 |
|
101 |
add_action( 'admin_enqueue_scripts', array( __CLASS__, '_admin_enqueue_scripts' ) );
|
102 |
add_action( 'wp_dashboard_setup', array( __CLASS__, '_wp_menu_icons_dashboard_notice' ) );
|
103 |
+
add_action( 'admin_action_menu_icon_hide_notice', array( __CLASS__, 'wp_menu_icons_dismiss_dashboard_notice' ) );
|
104 |
}
|
105 |
|
106 |
|
172 |
$url = self::get( 'url' );
|
173 |
$suffix = kucrut_get_script_suffix();
|
174 |
|
|
|
|
|
|
|
|
|
|
|
|
|
175 |
wp_register_style(
|
176 |
'menu-icons-dashboard',
|
177 |
"{$url}css/dashboard-notice{$suffix}.css",
|
178 |
false,
|
179 |
self::VERSION
|
180 |
);
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
181 |
}
|
182 |
|
183 |
/**
|
195 |
* Ajax request handle for dissmiss dashboard notice.
|
196 |
*/
|
197 |
public static function wp_menu_icons_dismiss_dashboard_notice() {
|
198 |
+
// Verify WP nonce and store hide notice flag.
|
199 |
+
if ( isset( $_GET['_wp_notice_nonce'] ) && wp_verify_nonce( sanitize_text_field( wp_unslash( $_GET['_wp_notice_nonce'] ) ), self::DISMISS_NOTICE ) ) {
|
200 |
+
set_transient( self::DISMISS_NOTICE, 1, 365 * DAY_IN_SECONDS );
|
201 |
+
}
|
202 |
|
203 |
+
if ( ! headers_sent() ) {
|
204 |
+
wp_safe_redirect( admin_url() );
|
205 |
+
exit;
|
206 |
+
}
|
|
|
|
|
207 |
}
|
208 |
|
209 |
/**
|
216 |
),
|
217 |
admin_url( 'theme-install.php' )
|
218 |
);
|
219 |
+
|
220 |
+
$action_url = add_query_arg(
|
221 |
+
array(
|
222 |
+
'action' => 'menu_icon_hide_notice',
|
223 |
+
'_wp_notice_nonce' => wp_create_nonce( self::DISMISS_NOTICE ),
|
224 |
+
),
|
225 |
+
admin_url( 'index.php' )
|
226 |
+
);
|
227 |
?>
|
228 |
+
<div class="notice notice-info menu-icon-dashboard-notice">
|
229 |
<h2><?php esc_html_e( 'Thank you for installing Menu Icons!', 'menu-icons' ); ?></h2>
|
230 |
<p><?php esc_html_e( 'Have you heard about our latest FREE theme - Neve? Using a mobile-first approach, compatibility with AMP and popular page-builders, Neve makes website building accessible for everyone.', 'menu-icons' ); ?></p>
|
231 |
<a href="<?php echo esc_url( $neve_theme_url ); ?>" class="button button-primary button-large"><?php esc_html_e( 'Preview Neve', 'menu-icons' ); ?></a>
|
232 |
+
<a href="<?php echo esc_url( $action_url ); ?>" class="notice-dismiss"></a>
|
233 |
</div>
|
234 |
<?php
|
235 |
}
|
readme.txt
CHANGED
@@ -2,7 +2,7 @@
|
|
2 |
Contributors: codeinwp, themeisle
|
3 |
Tags: menu, nav-menu, icons, navigation
|
4 |
Requires at least: 4.3
|
5 |
-
Tested up to:
|
6 |
Stable tag: trunk
|
7 |
License: GPLv2
|
8 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
@@ -225,6 +225,15 @@ Read [this blog post](http://kucrut.org/add-custom-image-sizes-right-way/).
|
|
225 |
|
226 |
== Changelog ==
|
227 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
228 |
##### [Version 0.12.11](https://github.com/codeinwp/wp-menu-icons/compare/v0.12.10...v0.12.11) (2022-03-16)
|
229 |
|
230 |
Add font awesome 5 support
|
2 |
Contributors: codeinwp, themeisle
|
3 |
Tags: menu, nav-menu, icons, navigation
|
4 |
Requires at least: 4.3
|
5 |
+
Tested up to: 6.0
|
6 |
Stable tag: trunk
|
7 |
License: GPLv2
|
8 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
225 |
|
226 |
== Changelog ==
|
227 |
|
228 |
+
##### [Version 0.12.12](https://github.com/codeinwp/wp-menu-icons/compare/v0.12.11...v0.12.12) (2022-05-27)
|
229 |
+
|
230 |
+
- Fix the style handler conflict issue which breaks the arrow icon of the submenus on some themes
|
231 |
+
- Fix dismiss dashboard notice issue on some edge cases
|
232 |
+
- Fix compatibility with the Max Mega Menu plugin
|
233 |
+
|
234 |
+
|
235 |
+
|
236 |
+
|
237 |
##### [Version 0.12.11](https://github.com/codeinwp/wp-menu-icons/compare/v0.12.10...v0.12.11) (2022-03-16)
|
238 |
|
239 |
Add font awesome 5 support
|
vendor/autoload.php
CHANGED
@@ -2,6 +2,11 @@
|
|
2 |
|
3 |
// autoload.php @generated by Composer
|
4 |
|
|
|
|
|
|
|
|
|
|
|
5 |
require_once __DIR__ . '/composer/autoload_real.php';
|
6 |
|
7 |
-
return
|
2 |
|
3 |
// autoload.php @generated by Composer
|
4 |
|
5 |
+
if (PHP_VERSION_ID < 50600) {
|
6 |
+
echo 'Composer 2.3.0 dropped support for autoloading on PHP <5.6 and you are running '.PHP_VERSION.', please upgrade PHP or use Composer 2.2 LTS via "composer self-update --2.2". Aborting.'.PHP_EOL;
|
7 |
+
exit(1);
|
8 |
+
}
|
9 |
+
|
10 |
require_once __DIR__ . '/composer/autoload_real.php';
|
11 |
|
12 |
+
return ComposerAutoloaderInite86229ff9ba735012afe266068a3adea::getLoader();
|
vendor/composer/InstalledVersions.php
CHANGED
@@ -21,6 +21,8 @@ use Composer\Semver\VersionParser;
|
|
21 |
* See also https://getcomposer.org/doc/07-runtime.md#installed-versions
|
22 |
*
|
23 |
* To require its presence, you can require `composer-runtime-api ^2.0`
|
|
|
|
|
24 |
*/
|
25 |
class InstalledVersions
|
26 |
{
|
21 |
* See also https://getcomposer.org/doc/07-runtime.md#installed-versions
|
22 |
*
|
23 |
* To require its presence, you can require `composer-runtime-api ^2.0`
|
24 |
+
*
|
25 |
+
* @final
|
26 |
*/
|
27 |
class InstalledVersions
|
28 |
{
|
vendor/composer/autoload_classmap.php
CHANGED
@@ -2,7 +2,7 @@
|
|
2 |
|
3 |
// autoload_classmap.php @generated by Composer
|
4 |
|
5 |
-
$vendorDir = dirname(
|
6 |
$baseDir = dirname($vendorDir);
|
7 |
|
8 |
return array(
|
2 |
|
3 |
// autoload_classmap.php @generated by Composer
|
4 |
|
5 |
+
$vendorDir = dirname(__DIR__);
|
6 |
$baseDir = dirname($vendorDir);
|
7 |
|
8 |
return array(
|
vendor/composer/autoload_files.php
CHANGED
@@ -2,7 +2,7 @@
|
|
2 |
|
3 |
// autoload_files.php @generated by Composer
|
4 |
|
5 |
-
$vendorDir = dirname(
|
6 |
$baseDir = dirname($vendorDir);
|
7 |
|
8 |
return array(
|
2 |
|
3 |
// autoload_files.php @generated by Composer
|
4 |
|
5 |
+
$vendorDir = dirname(__DIR__);
|
6 |
$baseDir = dirname($vendorDir);
|
7 |
|
8 |
return array(
|
vendor/composer/autoload_namespaces.php
CHANGED
@@ -2,7 +2,7 @@
|
|
2 |
|
3 |
// autoload_namespaces.php @generated by Composer
|
4 |
|
5 |
-
$vendorDir = dirname(
|
6 |
$baseDir = dirname($vendorDir);
|
7 |
|
8 |
return array(
|
2 |
|
3 |
// autoload_namespaces.php @generated by Composer
|
4 |
|
5 |
+
$vendorDir = dirname(__DIR__);
|
6 |
$baseDir = dirname($vendorDir);
|
7 |
|
8 |
return array(
|
vendor/composer/autoload_psr4.php
CHANGED
@@ -2,7 +2,7 @@
|
|
2 |
|
3 |
// autoload_psr4.php @generated by Composer
|
4 |
|
5 |
-
$vendorDir = dirname(
|
6 |
$baseDir = dirname($vendorDir);
|
7 |
|
8 |
return array(
|
2 |
|
3 |
// autoload_psr4.php @generated by Composer
|
4 |
|
5 |
+
$vendorDir = dirname(__DIR__);
|
6 |
$baseDir = dirname($vendorDir);
|
7 |
|
8 |
return array(
|
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 |
|
@@ -22,41 +22,18 @@ class ComposerAutoloaderInitf44550e036fbd5cdd6c5a1a84cf40e8f
|
|
22 |
return self::$loader;
|
23 |
}
|
24 |
|
25 |
-
spl_autoload_register(array('
|
26 |
-
self::$loader = $loader = new \Composer\Autoload\ClassLoader(\dirname(
|
27 |
-
spl_autoload_unregister(array('
|
28 |
|
29 |
-
|
30 |
-
|
31 |
-
require __DIR__ . '/autoload_static.php';
|
32 |
-
|
33 |
-
call_user_func(\Composer\Autoload\ComposerStaticInitf44550e036fbd5cdd6c5a1a84cf40e8f::getInitializer($loader));
|
34 |
-
} else {
|
35 |
-
$map = require __DIR__ . '/autoload_namespaces.php';
|
36 |
-
foreach ($map as $namespace => $path) {
|
37 |
-
$loader->set($namespace, $path);
|
38 |
-
}
|
39 |
-
|
40 |
-
$map = require __DIR__ . '/autoload_psr4.php';
|
41 |
-
foreach ($map as $namespace => $path) {
|
42 |
-
$loader->setPsr4($namespace, $path);
|
43 |
-
}
|
44 |
-
|
45 |
-
$classMap = require __DIR__ . '/autoload_classmap.php';
|
46 |
-
if ($classMap) {
|
47 |
-
$loader->addClassMap($classMap);
|
48 |
-
}
|
49 |
-
}
|
50 |
|
51 |
$loader->register(true);
|
52 |
|
53 |
-
|
54 |
-
$includeFiles = Composer\Autoload\ComposerStaticInitf44550e036fbd5cdd6c5a1a84cf40e8f::$files;
|
55 |
-
} else {
|
56 |
-
$includeFiles = require __DIR__ . '/autoload_files.php';
|
57 |
-
}
|
58 |
foreach ($includeFiles as $fileIdentifier => $file) {
|
59 |
-
|
60 |
}
|
61 |
|
62 |
return $loader;
|
@@ -68,7 +45,7 @@ class ComposerAutoloaderInitf44550e036fbd5cdd6c5a1a84cf40e8f
|
|
68 |
* @param string $file
|
69 |
* @return void
|
70 |
*/
|
71 |
-
function
|
72 |
{
|
73 |
if (empty($GLOBALS['__composer_autoload_files'][$fileIdentifier])) {
|
74 |
$GLOBALS['__composer_autoload_files'][$fileIdentifier] = true;
|
2 |
|
3 |
// autoload_real.php @generated by Composer
|
4 |
|
5 |
+
class ComposerAutoloaderInite86229ff9ba735012afe266068a3adea
|
6 |
{
|
7 |
private static $loader;
|
8 |
|
22 |
return self::$loader;
|
23 |
}
|
24 |
|
25 |
+
spl_autoload_register(array('ComposerAutoloaderInite86229ff9ba735012afe266068a3adea', 'loadClassLoader'), true, true);
|
26 |
+
self::$loader = $loader = new \Composer\Autoload\ClassLoader(\dirname(__DIR__));
|
27 |
+
spl_autoload_unregister(array('ComposerAutoloaderInite86229ff9ba735012afe266068a3adea', 'loadClassLoader'));
|
28 |
|
29 |
+
require __DIR__ . '/autoload_static.php';
|
30 |
+
call_user_func(\Composer\Autoload\ComposerStaticInite86229ff9ba735012afe266068a3adea::getInitializer($loader));
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
31 |
|
32 |
$loader->register(true);
|
33 |
|
34 |
+
$includeFiles = \Composer\Autoload\ComposerStaticInite86229ff9ba735012afe266068a3adea::$files;
|
|
|
|
|
|
|
|
|
35 |
foreach ($includeFiles as $fileIdentifier => $file) {
|
36 |
+
composerRequiree86229ff9ba735012afe266068a3adea($fileIdentifier, $file);
|
37 |
}
|
38 |
|
39 |
return $loader;
|
45 |
* @param string $file
|
46 |
* @return void
|
47 |
*/
|
48 |
+
function composerRequiree86229ff9ba735012afe266068a3adea($fileIdentifier, $file)
|
49 |
{
|
50 |
if (empty($GLOBALS['__composer_autoload_files'][$fileIdentifier])) {
|
51 |
$GLOBALS['__composer_autoload_files'][$fileIdentifier] = true;
|
vendor/composer/autoload_static.php
CHANGED
@@ -4,7 +4,7 @@
|
|
4 |
|
5 |
namespace Composer\Autoload;
|
6 |
|
7 |
-
class
|
8 |
{
|
9 |
public static $files = array (
|
10 |
'2c2d2fe92db4cd03403dbb108ac263b7' => __DIR__ . '/..' . '/codeinwp/gutenberg-menu-icons/load.php',
|
@@ -20,7 +20,7 @@ class ComposerStaticInitf44550e036fbd5cdd6c5a1a84cf40e8f
|
|
20 |
public static function getInitializer(ClassLoader $loader)
|
21 |
{
|
22 |
return \Closure::bind(function () use ($loader) {
|
23 |
-
$loader->classMap =
|
24 |
|
25 |
}, null, ClassLoader::class);
|
26 |
}
|
4 |
|
5 |
namespace Composer\Autoload;
|
6 |
|
7 |
+
class ComposerStaticInite86229ff9ba735012afe266068a3adea
|
8 |
{
|
9 |
public static $files = array (
|
10 |
'2c2d2fe92db4cd03403dbb108ac263b7' => __DIR__ . '/..' . '/codeinwp/gutenberg-menu-icons/load.php',
|
20 |
public static function getInitializer(ClassLoader $loader)
|
21 |
{
|
22 |
return \Closure::bind(function () use ($loader) {
|
23 |
+
$loader->classMap = ComposerStaticInite86229ff9ba735012afe266068a3adea::$classMap;
|
24 |
|
25 |
}, null, ClassLoader::class);
|
26 |
}
|
vendor/composer/installed.php
CHANGED
@@ -1,11 +1,11 @@
|
|
1 |
<?php return array(
|
2 |
'root' => array(
|
3 |
-
'pretty_version' => 'v0.12.
|
4 |
-
'version' => '0.12.
|
5 |
'type' => 'wordpress-plugin',
|
6 |
'install_path' => __DIR__ . '/../../',
|
7 |
'aliases' => array(),
|
8 |
-
'reference' => '
|
9 |
'name' => 'codeinwp/wp-menu-icons',
|
10 |
'dev' => false,
|
11 |
),
|
@@ -53,12 +53,12 @@
|
|
53 |
'dev_requirement' => false,
|
54 |
),
|
55 |
'codeinwp/wp-menu-icons' => array(
|
56 |
-
'pretty_version' => 'v0.12.
|
57 |
-
'version' => '0.12.
|
58 |
'type' => 'wordpress-plugin',
|
59 |
'install_path' => __DIR__ . '/../../',
|
60 |
'aliases' => array(),
|
61 |
-
'reference' => '
|
62 |
'dev_requirement' => false,
|
63 |
),
|
64 |
'composer/installers' => array(
|
1 |
<?php return array(
|
2 |
'root' => array(
|
3 |
+
'pretty_version' => 'v0.12.12',
|
4 |
+
'version' => '0.12.12.0',
|
5 |
'type' => 'wordpress-plugin',
|
6 |
'install_path' => __DIR__ . '/../../',
|
7 |
'aliases' => array(),
|
8 |
+
'reference' => '67d06d108844f32ccddfddb7420e7de9ee47bdb9',
|
9 |
'name' => 'codeinwp/wp-menu-icons',
|
10 |
'dev' => false,
|
11 |
),
|
53 |
'dev_requirement' => false,
|
54 |
),
|
55 |
'codeinwp/wp-menu-icons' => array(
|
56 |
+
'pretty_version' => 'v0.12.12',
|
57 |
+
'version' => '0.12.12.0',
|
58 |
'type' => 'wordpress-plugin',
|
59 |
'install_path' => __DIR__ . '/../../',
|
60 |
'aliases' => array(),
|
61 |
+
'reference' => '67d06d108844f32ccddfddb7420e7de9ee47bdb9',
|
62 |
'dev_requirement' => false,
|
63 |
),
|
64 |
'composer/installers' => array(
|