Make WordPress Core

Opened 4 years ago

Closed 4 years ago

Last modified 4 years ago

#18811 closed task (blessed) (fixed)

3.3 upgrade routine

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


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 4 years ago.

Download all attachments as: .zip

Change History (6)

#1 @nacin
4 years ago

In [18812]:

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

4 years ago

#2 @nacin
4 years ago

  • Keywords has-patch added

#3 @ryan
4 years ago

Looks good.

#4 @nacin
4 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
4 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.