Opened 16 years ago
Closed 16 years ago
#13032 closed defect (bug) (fixed)
Screen Options are per blog in 3.0
| Reported by: | ryan | Owned by: | |
|---|---|---|---|
| Priority: | normal | Milestone: | 3.0 |
| Component: | Users | Version: | |
| Severity: | blocker | Keywords: | needs-patch |
| Cc: | Focuses: |
Description
In 3.0 meta box state is saved to usermeta keys of the form wp_trunk_closedpostboxes_dashboard and wp_trunk_meta-box-hidden_dashboard. In 2.9 these are closedpostboxes_dashboard and metaboxhidden_dashboard. This causes preference loss when upgrading to 3.0 and makes screen options per blog.
Change History (17)
#2
@
16 years ago
closed-postboxes in admin-ajax.php switched from update_usermeta() to update_user_option() without adding the global flag.
#5
@
16 years ago
- Resolution fixed
- Status closed → reopened
Since the metabox options were saved in the options table during the beta 1, we should clear those out because they override the settings in the usermeta.
#8
in reply to: ↑ 7
;
follow-up:
↓ 10
@
16 years ago
Replying to wpmuguru:
(In [14213]) remove from usermeta table in r14212, see #13032
In a MySQL like query, the _ character is similar to the % character (except it matches any single character). Ref: http://dev.mysql.com/doc/refman/5.0/en/string-comparison-functions.html#operator_like
A while ago in WPMU, a like query that used $wpdb->base_prefix caused lots of trouble (http://trac.mu.wordpress.org/ticket/727).
I think we're ok in this case, but I'm just wanting to make sure a similar problem doesn't exist here.
#10
in reply to: ↑ 8
@
16 years ago
Replying to jamescollins:
In a MySQL like query, the
_character is similar to the%character (except it matches any single character).
A while ago in WPMU, a like query that used
$wpdb->base_prefixcaused lots of trouble (http://trac.mu.wordpress.org/ticket/727).
#14
@
16 years ago
- Keywords needs-patch added
Currently, metabox order is not respected on the post editing screen.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)
Note the dashes are now present in meta-box-hidden.