[wp-meta] [Making WordPress.org] #2034: Changes in User Settings at https://translate.wordpress.org/settings are discarded
Making WordPress.org
noreply at wordpress.org
Sat Sep 24 20:37:18 UTC 2016
#2034: Changes in User Settings at https://translate.wordpress.org/settings are
discarded
--------------------------------------+---------------------
Reporter: pixolin | Owner:
Type: defect | Status: closed
Priority: normal | Milestone:
Component: Translate Site & Plugins | Resolution: fixed
Keywords: |
--------------------------------------+---------------------
Changes (by ocean90):
* status: reopened => closed
* resolution: => fixed
Comment:
Fixed in [dotorg12451]:
> Delete user data in the 'users' cache group on meta data changes.
>
> We have to do this because bbPress 1.x uses BackPress which appends user
meta to the user object and stores it in the 'users' cache group, see
https://backpress.trac.wordpress.org/browser/branches/bbpress-1.0-backpress/includes/class
.wp-users.php?marks=467#L427.
> `WP_User::init()` allows to initialize a new user object with any
arbitrary data. In this case it will be bbPress'/BackPress' outdated user
meta.
>
> WordPress uses a custom cache group for meta data so it doesn't delete
the data in the 'users' cache group by default.
>
> This plugin can be removed once all bbPress 1/BackPress-reliant stuff is
gone.
>
> Fixes #meta2034, #meta1980.
--
Ticket URL: <https://meta.trac.wordpress.org/ticket/2034#comment:7>
Making WordPress.org <https://meta.trac.wordpress.org/>
Making WordPress.org
More information about the wp-meta
mailing list