Plugin Directory

Changeset 3460049


Ignore:
Timestamp:
02/12/2026 02:38:01 PM (6 weeks ago)
Author:
whiteshadow
Message:

Fixed PHP 8.5 deprecation notice "Non-canonical cast (boolean) is deprecated, use the (bool) cast instead"

File:
1 edited

Legend:

Unmodified
Added
Removed
  • admin-menu-editor/trunk/includes/menu-editor-core.php

    r3457253 r3460049  
    14201420            'imagesUrl' => plugins_url('images', $this->plugin_file),
    14211421            'adminAjaxUrl' => admin_url('admin-ajax.php'),
    1422             'hideAdvancedSettings' => (boolean)$this->options['hide_advanced_settings'],
     1422            'hideAdvancedSettings' => (bool)$this->options['hide_advanced_settings'],
    14231423            'showExtraIcons' => true, //No longer used.
    14241424            'submenuIconsEnabled' => $this->options['submenu_icons_enabled'],
Note: See TracChangeset for help on using the changeset viewer.