WordPress.org

Plugin Directory

Changeset 356906


Ignore:
Timestamp:
03/07/11 20:54:28 (3 years ago)
Author:
ozh
Message:

3.5.2:
Added: version constant

Location:
ozh-admin-drop-down-menu/trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • ozh-admin-drop-down-menu/trunk/inc/core.php

    r353954 r356906  
    226226    } 
    227227    $plugin_url = wp_ozh_adminmenu_pluginurl(); 
    228     $insert_main_js = '<script src="'.$plugin_url.'inc/js/adminmenu.js" type="text/javascript"></script>'; 
     228    $insert_main_js = '<script src="'.$plugin_url.'inc/js/adminmenu.js?v='. OZH_MENU_VER .'" type="text/javascript"></script>'; 
    229229 
    230230    echo <<<JS 
     
    254254    // query vars 
    255255    $query = array( 
     256        'v' => OZH_MENU_VER, 
    256257        'p' => wp_make_link_relative($plugin), 
    257258        'a' => wp_make_link_relative( get_admin_url() ), 
  • ozh-admin-drop-down-menu/trunk/wp_ozh_adminmenu.php

    r356286 r356906  
    106106              Fixed: JS bug introduced with WP 3.1 when resizing menus 
    107107 * 3.5.1:     Added: nl_NL (thanks Cees van den Heuvel) 
     108 * 3.5.2:     Added: version constant 
    108109 */ 
    109110 
     111 
     112define( 'OZH_MENU_VER', '3.5.2' ); 
     113  
    110114/***** Hook things in when visiting an admin page. When viewing a blog page, nothing even loads in memory. ****/ 
    111115if ( is_admin() ){ 
Note: See TracChangeset for help on using the changeset viewer.