Make WordPress Core

Opened 13 years ago

Closed 13 years ago

Last modified 13 years ago

#18811 closed task (blessed) (fixed)

3.3 upgrade routine

Reported by: nacin's profile nacin Owned by: nacin's profile nacin
Milestone: 3.3 Priority: normal
Severity: normal Version:
Component: Upgrade/Install Keywords: has-patch
Focuses: Cc:

Description

We need to remove a few usermeta keys on upgrade: show_admin_bar_admin and plugins_last_view.

While both were stored as global meta, they were fetched with get_user_option(), which means we could consider running a query looking for all table prefixes as well. Though, that's a bit rough on giant usermeta tables, so we could always stick to the basic keys.

Attachments (1)

18811.diff (860 bytes) - added by nacin 13 years ago.

Download all attachments as: .zip

Change History (6)

#1 @nacin
13 years ago

In [18812]:

Remove remnants of show_admin_bar_admin. see #18811, see #18197.

@nacin
13 years ago

#2 @nacin
13 years ago

  • Keywords has-patch added

#3 @ryan
13 years ago

Looks good.

#4 @nacin
13 years ago

  • Owner set to nacin
  • Resolution set to fixed
  • Status changed from new to closed

In [19061]:

Introduce upgrade_330() to clear usermeta keys show_admin_bar_admin and plugins_last_view. fixes #18811.

#5 @nacin
13 years ago

In [19062]:

Merge upgrade_old_widgets_order_array() into upgrade_330(). see #18811, see #18821.

Note: See TracTickets for help on using tickets.