Changeset 3370335
- Timestamp:
- 09/30/2025 10:45:03 AM (5 months ago)
- Location:
- easy-menu-manager
- Files:
-
- 34 added
- 1 deleted
- 16 edited
-
tags/1.0.2 (added)
-
tags/1.0.2/assets (added)
-
tags/1.0.2/assets/js (added)
-
tags/1.0.2/assets/js/navigation.js (added)
-
tags/1.0.2/assets/lib (added)
-
tags/1.0.2/assets/lib/selectize (added)
-
tags/1.0.2/assets/lib/selectize/0.15.2 (added)
-
tags/1.0.2/assets/lib/selectize/0.15.2/selectize.default.min.css (added)
-
tags/1.0.2/assets/lib/selectize/0.15.2/selectize.min.js (added)
-
tags/1.0.2/composer.json (added)
-
tags/1.0.2/easy-menu-manager.php (added)
-
tags/1.0.2/includes (added)
-
tags/1.0.2/includes/Assets.php (added)
-
tags/1.0.2/includes/Constants.php (added)
-
tags/1.0.2/includes/EasyMenuManager.php (added)
-
tags/1.0.2/includes/FilterMenuFields.php (added)
-
tags/1.0.2/includes/MenuFields.php (added)
-
tags/1.0.2/includes/TemplateLoader.php (added)
-
tags/1.0.2/readme.txt (added)
-
tags/1.0.2/templates (added)
-
tags/1.0.2/templates/nav-menu-fieldset.php (added)
-
tags/1.0.2/vendor (added)
-
tags/1.0.2/vendor/autoload.php (added)
-
tags/1.0.2/vendor/composer (added)
-
tags/1.0.2/vendor/composer/ClassLoader.php (added)
-
tags/1.0.2/vendor/composer/InstalledVersions.php (added)
-
tags/1.0.2/vendor/composer/LICENSE (added)
-
tags/1.0.2/vendor/composer/autoload_classmap.php (added)
-
tags/1.0.2/vendor/composer/autoload_namespaces.php (added)
-
tags/1.0.2/vendor/composer/autoload_psr4.php (added)
-
tags/1.0.2/vendor/composer/autoload_real.php (added)
-
tags/1.0.2/vendor/composer/autoload_static.php (added)
-
tags/1.0.2/vendor/composer/installed.json (added)
-
tags/1.0.2/vendor/composer/installed.php (added)
-
trunk/composer.json (modified) (1 diff)
-
trunk/easy-menu-manager.php (modified) (3 diffs)
-
trunk/includes/Assets.php (modified) (5 diffs)
-
trunk/includes/Constants.php (modified) (1 diff)
-
trunk/includes/EasyMenuManager.php (modified) (5 diffs)
-
trunk/includes/FilterMenuFields.php (modified) (4 diffs)
-
trunk/includes/MenuFields.php (modified) (6 diffs)
-
trunk/includes/TemplateLoader.php (modified) (3 diffs)
-
trunk/readme.txt (modified) (1 diff)
-
trunk/templates/nav-menu-fieldset.php (modified) (2 diffs)
-
trunk/vendor/autoload.php (modified) (1 diff)
-
trunk/vendor/bin (deleted)
-
trunk/vendor/composer/InstalledVersions.php (modified) (5 diffs)
-
trunk/vendor/composer/autoload_real.php (modified) (2 diffs)
-
trunk/vendor/composer/autoload_static.php (modified) (2 diffs)
-
trunk/vendor/composer/installed.json (modified) (1 diff)
-
trunk/vendor/composer/installed.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
easy-menu-manager/trunk/composer.json
r3091276 r3370335 15 15 } 16 16 ], 17 "minimum-stability": "stable" 17 "require-dev": { 18 "squizlabs/php_codesniffer": "^3.9", 19 "wp-coding-standards/wpcs": "^3.1" 20 }, 21 "minimum-stability": "stable", 22 "config": { 23 "allow-plugins": { 24 "dealerdirect/phpcodesniffer-composer-installer": true 25 } 26 } 18 27 } -
easy-menu-manager/trunk/easy-menu-manager.php
r3091276 r3370335 2 2 /** 3 3 * Plugin Name: Easy Menu Manager 4 * Version: 1.0. 14 * Version: 1.0.2 5 5 * Author: Aftabul Islam 6 6 * Author URI: https://profiles.wordpress.org/aihimel/ … … 8 8 * Requires at least: 5.8 9 9 * Requires PHP: 7.2 10 *11 10 * Text Domain: easy-menu-manager 12 11 * Domain Path: /languages/ 13 *14 12 * Description: A menu manager plugin for WordPress 15 *16 13 * License: GPLv3 17 14 */ … … 19 16 defined( 'ABSPATH' ) || exit; 20 17 21 require_once ( 'vendor/autoload.php' );18 require_once 'vendor/autoload.php'; 22 19 23 WCPress\EasyMenuManager\EasyMenuManager::init(); 20 use WCPress\EasyMenuManager\EasyMenuManager; 21 22 EasyMenuManager::init(); -
easy-menu-manager/trunk/includes/Assets.php
r3091276 r3370335 24 24 public function __construct() { 25 25 // Registering assets 26 add_action( 'admin_enqueue_scripts', [ $this, 'register Style'] );27 add_action( 'admin_enqueue_scripts', [ $this, 'register Script'] );26 add_action( 'admin_enqueue_scripts', [ $this, 'register_style' ] ); 27 add_action( 'admin_enqueue_scripts', [ $this, 'register_script' ] ); 28 28 29 29 // Loading assets 30 add_action( 'admin_enqueue_scripts', [ $this, 'load SelectizeOnNavMenuPage' ] );30 add_action( 'admin_enqueue_scripts', [ $this, 'load_selectize' ] ); 31 31 } 32 32 … … 38 38 * @return void 39 39 */ 40 public function register Style() {40 public function register_style() { 41 41 wp_register_style( 42 Assets::SELECTIZE_STYLE,42 self::SELECTIZE_STYLE, 43 43 EASY_MENU_MANAGER_ROOT_URL . 'assets/lib/selectize/0.15.2/selectize.default.min.css', 44 44 [], … … 54 54 * @return void 55 55 */ 56 public function register Script() {56 public function register_script() { 57 57 wp_register_script( 58 Assets::SELECTIZE_SCRIPT,58 self::SELECTIZE_SCRIPT, 59 59 EASY_MENU_MANAGER_ROOT_URL . 'assets/lib/selectize/0.15.2/selectize.min.js', 60 60 [ 'jquery' ], … … 63 63 ); 64 64 wp_register_script( 65 Assets::NAVIGATION_SCRIPT,65 self::NAVIGATION_SCRIPT, 66 66 EASY_MENU_MANAGER_ROOT_URL . 'assets/js/navigation.js', 67 [ Assets::SELECTIZE_SCRIPT ],68 ( EasyMenuManager::init() )->get VersionString(),67 [ self::SELECTIZE_SCRIPT ], 68 ( EasyMenuManager::init() )->get_version_string(), 69 69 true 70 70 ); … … 78 78 * @return void 79 79 */ 80 public function load SelectizeOnNavMenuPage() {80 public function load_selectize() { 81 81 global $pagenow; 82 if ( is_admin() && $pagenow === 'nav-menus.php') {83 wp_enqueue_style( Assets::SELECTIZE_STYLE );84 wp_enqueue_script( Assets::SELECTIZE_SCRIPT );85 wp_enqueue_script( Assets::NAVIGATION_SCRIPT );82 if ( is_admin() && 'nav-menus.php' === $pagenow ) { 83 wp_enqueue_style( self::SELECTIZE_STYLE ); 84 wp_enqueue_script( self::SELECTIZE_SCRIPT ); 85 wp_enqueue_script( self::NAVIGATION_SCRIPT ); 86 86 } 87 87 } -
easy-menu-manager/trunk/includes/Constants.php
r3091276 r3370335 25 25 * @return void 26 26 */ 27 public static function declare DynamicConstants() {27 public static function declare_dynamic_constants() { 28 28 defined( 'EASY_MENU_MANAGER_ROOT_PATH' ) 29 29 || define( 30 30 'EASY_MENU_MANAGER_ROOT_PATH', 31 dirname( __FILE__ ). '/../'31 __DIR__ . '/../' 32 32 ); 33 33 defined( 'EASY_MENU_MANAGER_ROOT_URL' ) -
easy-menu-manager/trunk/includes/EasyMenuManager.php
r3091276 r3370335 43 43 */ 44 44 private function __construct() { 45 Constants::declare DynamicConstants();45 Constants::declare_dynamic_constants(); 46 46 $this->container['assets'] = new Assets(); 47 47 $this->container['menu_fields'] = new MenuFields(); … … 57 57 */ 58 58 public static function init(): EasyMenuManager { 59 if ( empty( EasyMenuManager::$self ) ) {60 EasyMenuManager::$self = new EasyMenuManager();59 if ( empty( self::$self ) ) { 60 self::$self = new EasyMenuManager(); 61 61 } 62 return EasyMenuManager::$self;62 return self::$self; 63 63 } 64 64 … … 70 70 * @return array 71 71 */ 72 public function get Container(): array {72 public function get_container(): array { 73 73 return $this->container; 74 74 } … … 81 81 * @return string 82 82 */ 83 public function get VersionString(): string {83 public function get_version_string(): string { 84 84 return $this->version_string; 85 85 } … … 92 92 * @return int 93 93 */ 94 public function get VersionInt(): int {94 public function get_version_int(): int { 95 95 return $this->version_number; 96 96 } 97 98 97 } -
easy-menu-manager/trunk/includes/FilterMenuFields.php
r3091276 r3370335 19 19 */ 20 20 public function __construct() { 21 add_filter( 'wp_nav_menu_objects', [ $this, 'filter MenuByRoles' ] );21 add_filter( 'wp_nav_menu_objects', [ $this, 'filter_menu_by_roles' ] ); 22 22 } 23 23 … … 31 31 * @return array 32 32 */ 33 public function filter MenuByRoles($items ): array {33 public function filter_menu_by_roles( array $items ): array { 34 34 foreach ( $items as $key => $item ) { 35 35 // Get selected roles for the current menu item 36 36 $selected_roles = get_post_meta( $item->ID, MenuFields::ALLOWED_ROLES_META_KEY, true ); 37 37 // If roles are selected and user doesn't have any of those roles, remove the menu item 38 if ( ! empty( $selected_roles ) && ! $this->current UserCanAny( $selected_roles ) ) {38 if ( ! empty( $selected_roles ) && ! $this->current_user_can_any( $selected_roles ) ) { 39 39 unset( $items[ $key ] ); 40 40 } … … 53 53 * @return bool 54 54 */ 55 protected function current UserCanAny($roles ): bool {55 protected function current_user_can_any( array $roles ): bool { 56 56 $user = wp_get_current_user(); 57 57 foreach ($roles as $role) { 58 if ( in_array($role, $user->roles)) {58 if ( in_array( $role, $user->roles, true ) ) { 59 59 return true; 60 60 } … … 62 62 return false; 63 63 } 64 65 64 } -
easy-menu-manager/trunk/includes/MenuFields.php
r3091276 r3370335 25 25 const NONCE_KEY = Constants::PREFIX . 'menu_nonce_key'; 26 26 27 // const ROLE_KEY28 29 27 /** 30 28 * Initializing the hooks … … 35 33 */ 36 34 public function __construct() { 37 add_action( 'wp_nav_menu_item_custom_fields', [ $this, 'add Fields' ] );38 add_action( 'wp_update_nav_menu_item', [ $this, 'save Fields' ], 10, 2 );35 add_action( 'wp_nav_menu_item_custom_fields', [ $this, 'add_fields' ] ); 36 add_action( 'wp_update_nav_menu_item', [ $this, 'save_fields' ], 10, 2 ); 39 37 } 40 38 … … 48 46 * @return void 49 47 */ 50 public function add Fields( $item_id ) {48 public function add_fields( $item_id ) { 51 49 $user_roles = get_editable_roles(); 52 $selected_roles = get_post_meta( $item_id, MenuFields::ALLOWED_ROLES_META_KEY, true );50 $selected_roles = get_post_meta( $item_id, self::ALLOWED_ROLES_META_KEY, true ); 53 51 $selected_roles = is_array( $selected_roles ) ? $selected_roles : array(); 54 52 $template_loader = TemplateLoader::init(); 55 $template_loader->load Template( 'nav-menu-fieldset.php', 'nav-menu-fieldset', [53 $template_loader->load_template( 'nav-menu-fieldset.php', 'nav-menu-fieldset', [ 56 54 'item_id' => $item_id, 57 55 'user_roles' => $user_roles, … … 70 68 * @return void 71 69 */ 72 public function save Fields( $menu_id, $menu_item_db_id ) {70 public function save_fields( $menu_id, $menu_item_db_id ) { 73 71 $nonce_key = self::NONCE_KEY . '_' . $menu_item_db_id; 74 72 // Nonce check 75 if (73 if ( 76 74 ! isset( $_POST[ $nonce_key ] ) 77 75 || ! wp_verify_nonce( … … 86 84 update_post_meta( 87 85 $menu_item_db_id, 88 MenuFields::ALLOWED_ROLES_META_KEY,86 self::ALLOWED_ROLES_META_KEY, 89 87 array_map( 90 88 'sanitize_text_field', … … 93 91 ); 94 92 } else { 95 update_post_meta( $menu_item_db_id, MenuFields::ALLOWED_ROLES_META_KEY, [] );93 update_post_meta( $menu_item_db_id, self::ALLOWED_ROLES_META_KEY, [] ); 96 94 } 97 95 } -
easy-menu-manager/trunk/includes/TemplateLoader.php
r3091276 r3370335 17 17 protected function __construct() {} 18 18 19 public static function init() {20 if ( empty( TemplateLoader::$self ) ) {21 TemplateLoader::$self = new TemplateLoader();19 public static function init(): TemplateLoader { 20 if ( empty( self::$self ) ) { 21 self::$self = new self(); 22 22 } 23 return TemplateLoader::$self;23 return self::$self; 24 24 } 25 25 … … 35 35 * @return void 36 36 */ 37 public function load Template( string $file, string $name = '', array $args = [] ) {38 $template_root_path = apply_filters( 'easy_menu_manager_template_root_path', TemplateLoader::TEMPLATE_FOLDER_PATH, $file, $name, $args );37 public function load_template( string $file, string $name = '', array $args = [] ) { 38 $template_root_path = apply_filters( 'easy_menu_manager_template_root_path', self::TEMPLATE_FOLDER_PATH, $file, $name, $args ); 39 39 $file = apply_filters( 'easy_menu_manager_template_file', $file, $name, $args ); 40 40 $args = apply_filters( 'easy_menu_manager_template_args', $args, $file, $name ); 41 $file_path = TemplateLoader::TEMPLATE_FOLDER_PATH . $file;41 $file_path = self::TEMPLATE_FOLDER_PATH . $file; 42 42 if ( file_exists( $file_path ) ) { 43 43 extract( $args ); … … 45 45 } 46 46 } 47 48 47 } -
easy-menu-manager/trunk/readme.txt
r3093004 r3370335 1 1 === Easy Menu Manager === 2 2 Contributors: aihimel 3 Tags: easy menu manager, menu manager4 Requires at least: 5. 25 Tested up to: 6. 43 Tags: menu, menu manager, user roles, restrict menu, menu visibility, role based menu 4 Requires at least: 5.8 5 Tested up to: 6.8 6 6 Requires PHP: 7.2 7 Stable tag: 1.0. 17 Stable tag: 1.0.2 8 8 License: GPL-3.0-or-later 9 License URI: http ://www.gnu.org/licenses/gpl-3.0.html9 License URI: https://www.gnu.org/licenses/gpl-3.0.html 10 10 11 Managing menu for different user roles. Only the selected role(s) will see the menu in action.11 A simple yet powerful plugin to control menu item visibility based on user roles. 12 12 13 == Used 3rd Party Resources == 14 + [Slelectize2](https://github.com/selectize/selectize.js/) 13 == Description == 14 15 Easy Menu Manager provides a seamless way to manage your WordPress navigation menus by restricting menu items to specific user roles. With this plugin, you can easily control which menu items are visible to different users, such as logged-in users, logged-out users, or specific roles like 'Administrator', 'Editor', or 'Subscriber'. 16 17 This is particularly useful for membership sites, e-commerce stores, or any WordPress site that has different user roles with different levels of access to content. 18 19 The plugin integrates a user-friendly multi-select dropdown into the WordPress menu editor, allowing you to select one or more user roles for each menu item. If no roles are selected, the menu item will be visible to all users. 20 21 == Features == 22 23 * **Restrict Menu Item by User Role:** Easily show or hide menu items based on user roles. 24 * **Multiple Role Support:** Assign multiple user roles to a single menu item. 25 * **Simple User Interface:** A simple multi-select dropdown is added to each menu item in the menu editor. 26 * **Lightweight and Efficient:** The plugin is lightweight and does not affect your site's performance. 27 * **Seamless Integration:** Integrates seamlessly with the WordPress menu management system. 28 * **Developer Friendly:** The plugin is built with developers in mind, with proper hooks and filters. 29 30 == Installation == 31 32 1. Upload the `easy-menu-manager` folder to the `/wp-content/plugins/` directory. 33 2. Activate the plugin through the 'Plugins' menu in WordPress. 34 3. Go to Appearance > Menus. 35 4. Click on any menu item to expand its options. 36 5. You will see a new field called "Only Visible to Roles". 37 6. Select the user roles that should be able to see the menu item. 38 7. Save the menu. 39 40 == Frequently Asked Questions == 41 42 = What happens if I don't select any role for a menu item? = 43 44 If you don't select any role for a menu item, it will be visible to all users, both logged-in and logged-out. 45 46 = Can I select multiple roles for a single menu item? = 47 48 Yes, you can select multiple roles. The menu item will be visible to users who have any of the selected roles. 49 50 = Does this plugin work with custom user roles? = 51 52 Yes, it works with any custom user roles created by other plugins or by your theme. 53 54 == Screenshots == 55 56 1. The "Only Visible to Roles" field in the menu item settings. 15 57 16 58 == Changelog == 17 59 18 = 1.0.0 (23 May, 2024) = 19 * ✅ **Feature:** Initial release 60 = 1.0.1 ( 30 September, 2025 ) = 61 * Fix: fatal error on some installations issue fixed 62 63 = 1.0.0 = 64 * Feature: Initial release 65 66 == Used 3rd Party Resources == 67 * [Selectize.js](https://github.com/selectize/selectize.js/) -
easy-menu-manager/trunk/templates/nav-menu-fieldset.php
r3091276 r3370335 8 8 */ 9 9 10 use WCPress\EasyMenuManager\MenuFields; 11 10 12 defined( 'ABSPATH' ) || exit; 11 13 … … 16 18 <?php esc_html_e('Only Visible to Roles:', 'easy-menu-manager' ); ?><br/> 17 19 <select 18 id="edit-menu-item-custom-<?php echo esc_attr( $item_id ); ?>"19 class="widefat code edit-menu-item-custom"20 name="menu-item-custom[<?php echo esc_attr( $item_id ); ?>][]"21 multiple="multiple"20 id="edit-menu-item-custom-<?php echo esc_attr( $item_id ); ?>" 21 class="widefat code edit-menu-item-custom" 22 name="menu-item-custom[<?php echo esc_attr( $item_id ); ?>][]" 23 multiple="multiple" 22 24 > 23 <?php foreach ( $user_roles as $role_key => $ role ) : ?>24 <option value="<?php echo esc_attr( $role_key ); ?>" <?php selected( in_array( $role_key, $selected_roles ) ); ?>>25 <?php echo esc_html( $ role['name'] ); ?>25 <?php foreach ( $user_roles as $role_key => $user_role ) : ?> 26 <option value="<?php echo esc_attr( $role_key ); ?>" <?php selected( in_array( $role_key, $selected_roles, true ) ); ?>> 27 <?php echo esc_html( $user_role['name'] ); ?> 26 28 </option> 27 29 <?php endforeach; ?> 28 <?php wp_nonce_field( $nonce_id, $nonce_id ); ?>30 <?php wp_nonce_field( $nonce_id, $nonce_id ); ?> 29 31 </select> 30 32 </label> -
easy-menu-manager/trunk/vendor/autoload.php
r3091276 r3370335 23 23 require_once __DIR__ . '/composer/autoload_real.php'; 24 24 25 return ComposerAutoloaderInit 8090253aa1337032da9d0bf1809a0bf0::getLoader();25 return ComposerAutoloaderInitb1121f9484383058140b52f2b3d382e4::getLoader(); -
easy-menu-manager/trunk/vendor/composer/InstalledVersions.php
r3091276 r3370335 32 32 */ 33 33 private static $installed; 34 35 /** 36 * @var bool 37 */ 38 private static $installedIsLocalDir; 34 39 35 40 /** … … 310 315 self::$installed = $data; 311 316 self::$installedByVendor = array(); 317 318 // when using reload, we disable the duplicate protection to ensure that self::$installed data is 319 // always returned, but we cannot know whether it comes from the installed.php in __DIR__ or not, 320 // so we have to assume it does not, and that may result in duplicate data being returned when listing 321 // all installed packages for example 322 self::$installedIsLocalDir = false; 312 323 } 313 324 … … 323 334 324 335 $installed = array(); 336 $copiedLocalDir = false; 325 337 326 338 if (self::$canGetVendors) { 339 $selfDir = strtr(__DIR__, '\\', '/'); 327 340 foreach (ClassLoader::getRegisteredLoaders() as $vendorDir => $loader) { 341 $vendorDir = strtr($vendorDir, '\\', '/'); 328 342 if (isset(self::$installedByVendor[$vendorDir])) { 329 343 $installed[] = self::$installedByVendor[$vendorDir]; … … 331 345 /** @var array{root: array{name: string, pretty_version: string, version: string, reference: string|null, type: string, install_path: string, aliases: string[], dev: bool}, versions: array<string, array{pretty_version?: string, version?: string, reference?: string|null, type?: string, install_path?: string, aliases?: string[], dev_requirement: bool, replaced?: string[], provided?: string[]}>} $required */ 332 346 $required = require $vendorDir.'/composer/installed.php'; 333 $installed[] = self::$installedByVendor[$vendorDir] = $required; 334 if (null === self::$installed && strtr($vendorDir.'/composer', '\\', '/') === strtr(__DIR__, '\\', '/')) { 335 self::$installed = $installed[count($installed) - 1]; 347 self::$installedByVendor[$vendorDir] = $required; 348 $installed[] = $required; 349 if (self::$installed === null && $vendorDir.'/composer' === $selfDir) { 350 self::$installed = $required; 351 self::$installedIsLocalDir = true; 336 352 } 353 } 354 if (self::$installedIsLocalDir && $vendorDir.'/composer' === $selfDir) { 355 $copiedLocalDir = true; 337 356 } 338 357 } … … 351 370 } 352 371 353 if (self::$installed !== array() ) {372 if (self::$installed !== array() && !$copiedLocalDir) { 354 373 $installed[] = self::$installed; 355 374 } -
easy-menu-manager/trunk/vendor/composer/autoload_real.php
r3091276 r3370335 3 3 // autoload_real.php @generated by Composer 4 4 5 class ComposerAutoloaderInit 8090253aa1337032da9d0bf1809a0bf05 class ComposerAutoloaderInitb1121f9484383058140b52f2b3d382e4 6 6 { 7 7 private static $loader; … … 23 23 } 24 24 25 spl_autoload_register(array('ComposerAutoloaderInit 8090253aa1337032da9d0bf1809a0bf0', 'loadClassLoader'), true, true);25 spl_autoload_register(array('ComposerAutoloaderInitb1121f9484383058140b52f2b3d382e4', 'loadClassLoader'), true, true); 26 26 self::$loader = $loader = new \Composer\Autoload\ClassLoader(\dirname(__DIR__)); 27 spl_autoload_unregister(array('ComposerAutoloaderInit 8090253aa1337032da9d0bf1809a0bf0', 'loadClassLoader'));27 spl_autoload_unregister(array('ComposerAutoloaderInitb1121f9484383058140b52f2b3d382e4', 'loadClassLoader')); 28 28 29 29 require __DIR__ . '/autoload_static.php'; 30 call_user_func(\Composer\Autoload\ComposerStaticInit 8090253aa1337032da9d0bf1809a0bf0::getInitializer($loader));30 call_user_func(\Composer\Autoload\ComposerStaticInitb1121f9484383058140b52f2b3d382e4::getInitializer($loader)); 31 31 32 32 $loader->register(true); -
easy-menu-manager/trunk/vendor/composer/autoload_static.php
r3091276 r3370335 5 5 namespace Composer\Autoload; 6 6 7 class ComposerStaticInit 8090253aa1337032da9d0bf1809a0bf07 class ComposerStaticInitb1121f9484383058140b52f2b3d382e4 8 8 { 9 9 public static $prefixLengthsPsr4 = array ( … … 28 28 { 29 29 return \Closure::bind(function () use ($loader) { 30 $loader->prefixLengthsPsr4 = ComposerStaticInit 8090253aa1337032da9d0bf1809a0bf0::$prefixLengthsPsr4;31 $loader->prefixDirsPsr4 = ComposerStaticInit 8090253aa1337032da9d0bf1809a0bf0::$prefixDirsPsr4;32 $loader->classMap = ComposerStaticInit 8090253aa1337032da9d0bf1809a0bf0::$classMap;30 $loader->prefixLengthsPsr4 = ComposerStaticInitb1121f9484383058140b52f2b3d382e4::$prefixLengthsPsr4; 31 $loader->prefixDirsPsr4 = ComposerStaticInitb1121f9484383058140b52f2b3d382e4::$prefixDirsPsr4; 32 $loader->classMap = ComposerStaticInitb1121f9484383058140b52f2b3d382e4::$classMap; 33 33 34 34 }, null, ClassLoader::class); -
easy-menu-manager/trunk/vendor/composer/installed.json
r3091276 r3370335 1 1 { 2 2 "packages": [], 3 "dev": true,3 "dev": false, 4 4 "dev-package-names": [] 5 5 } -
easy-menu-manager/trunk/vendor/composer/installed.php
r3091276 r3370335 2 2 'root' => array( 3 3 'name' => 'wcpress/easy-menu-manager', 4 'pretty_version' => ' dev-develop',5 'version' => ' dev-develop',6 'reference' => '8678c9d126869811b9e428c6d03544f7fef382cd',4 'pretty_version' => '1.0.0+no-version-set', 5 'version' => '1.0.0.0', 6 'reference' => null, 7 7 'type' => 'library', 8 8 'install_path' => __DIR__ . '/../../', 9 9 'aliases' => array(), 10 'dev' => true,10 'dev' => false, 11 11 ), 12 12 'versions' => array( 13 13 'wcpress/easy-menu-manager' => array( 14 'pretty_version' => ' dev-develop',15 'version' => ' dev-develop',16 'reference' => '8678c9d126869811b9e428c6d03544f7fef382cd',14 'pretty_version' => '1.0.0+no-version-set', 15 'version' => '1.0.0.0', 16 'reference' => null, 17 17 'type' => 'library', 18 18 'install_path' => __DIR__ . '/../../',
Note: See TracChangeset
for help on using the changeset viewer.