WordPress.org

Make WordPress Core

Changeset 25185


Ignore:
Timestamp:
08/30/13 17:06:00 (8 months ago)
Author:
SergeyBiryukov
Message:

Fix menu folding on new installs. fixes #24921 for 3.6.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/3.6/wp-admin/js/common.js

    r24619 r25185  
    186186                body.removeClass('auto-fold').removeClass('folded'); 
    187187                setUserSetting('unfold', 1); 
    188                 deleteUserSetting('mfold'); 
     188                setUserSetting('mfold', 'o'); 
    189189            } else { 
    190190                body.addClass('auto-fold'); 
    191                 deleteUserSetting('unfold'); 
     191                setUserSetting('unfold', 0); 
    192192            } 
    193193        } else { 
    194194            if ( body.hasClass('folded') ) { 
    195195                body.removeClass('folded'); 
    196                 deleteUserSetting('mfold'); 
     196                setUserSetting('mfold', 'o'); 
    197197            } else { 
    198198                body.addClass('folded'); 
Note: See TracChangeset for help on using the changeset viewer.