#18091 closed defect (bug) (fixed)
Collapsed menu cannot be restored
Reported by: | SergeyBiryukov | Owned by: | azaozz |
---|---|---|---|
Milestone: | 3.3 | Priority: | normal |
Severity: | normal | Version: | 2.8 |
Component: | UI | Keywords: | has-patch |
Focuses: | Cc: |
Description
- Set up a clean WP installation and log in.
- Collapse menu.
- Reload the page.
- Uncollapse menu.
- Reload the page.
- The menu will stay collapsed.
I've tracked this down to wp_user_settings()
. If a current cookie is empty (as on new installation after uncollapsing menu), it will not be saved.
Attachments (2)
Change History (15)
#2
@
13 years ago
- Version changed from 3.2.1 to 2.8
This was introduced in [11118] and appeared in 2.8. Before that, mfold
wasn't deleted from cookie, and it wasn't empty.
#3
@
13 years ago
You must check your browser cookies for an entry with mfold. This gets re-saved on admin page loads and logging out to the wp_usermeta table, key is wp_user-settings.
Manual fix via SQL:
- Log out, clear browser cookies
- Use SQL client to find entries:
SELECT * FROM wp_usermeta WHERE meta_value LIKE '%mfold%'; +----------+---------+------------------+------------+ | umeta_id | user_id | meta_key | meta_value | +----------+---------+------------------+------------+ | 1152 | 4 | wp_user-settings | mfold=f | +----------+---------+------------------+------------+
- Delete offending entries
DELETE FROM wp_usermeta WHERE umeta_id = 1152;
#6
@
13 years ago
Per IRC discussion, 18091.2.patch uses setUserSetting('mfold', 'o')
.
#7
@
13 years ago
- Owner set to azaozz
- Resolution set to fixed
- Status changed from new to closed
In [19091]:
#9
follow-up:
↓ 10
@
12 years ago
- Version 2.8 deleted
I'm having this issue on 3.5 on multiple sites. Tested on in FF and Chrome.
#10
in reply to:
↑ 9
@
12 years ago
- Version set to 2.8
Replying to daankortenbach:
I'm having this issue on 3.5 on multiple sites. Tested on in FF and Chrome.
Could you please open a new ticket for this and provide some additional details? For example, it would be helpful to know if you see any javascript errors in the console, and also if you have any plugins installed as they could interfere with this.
This ticket was confirmed and fixed, meaning your issue is likely not the same as this was.
#11
@
12 years ago
I'm having this issue as well. Very annoying.
- Clean install of WordPress 3.5
- No plugins
- No themes (other than 2012 and 2011)
- Safari 6.0.2
- Mac OS 10.8.2
The cookie "wp-settings-1" keeps getting set to "fold%3Df" no matter how many times I delete the cookies, quit the browser, etc.
The Safari inspector is now showing any Javascript errors.
Hmm. Surprised this didn't occur on 3.1 then?