Make WordPress Core


Ignore:
Timestamp:
05/29/2010 07:39:40 PM (14 years ago)
Author:
markjaquith
Message:

Do not load window.onbeforeonload event if we are not on an existing nav menu. props filosofo. Reduce opacity on nav menu postboxes if we are not on an existing nav menu, and for JS users, deactivate all links and form elements, to make it obvious that those UI elements are not usable at this stage. fixes #13615

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-includes/script-loader.php

    r15049 r15062  
    386386
    387387        // Custom Navigation
    388         $scripts->add( 'nav-menu', "/wp-admin/js/nav-menu$suffix.js", false, '20100528b' );
     388        $scripts->add( 'nav-menu', "/wp-admin/js/nav-menu$suffix.js", false, '20100529' );
    389389        $scripts->localize( 'nav-menu', 'navMenuL10n', array(
    390390            'custom' => _x('Custom', 'menu nav item type'),
     
    466466    $styles->add( 'jcrop', '/wp-includes/js/jcrop/jquery.Jcrop.css', array(), '0.9.8' );
    467467    $styles->add( 'imgareaselect', '/wp-includes/js/imgareaselect/imgareaselect.css', array(), '0.9.1' );
    468     $styles->add( 'nav-menu', "/wp-admin/css/nav-menu$suffix.css", array(), '20100527c' );
     468    $styles->add( 'nav-menu', "/wp-admin/css/nav-menu$suffix.css", array(), '20100529' );
    469469
    470470    foreach ( $rtl_styles as $rtl_style ) {
Note: See TracChangeset for help on using the changeset viewer.