[wp-meta] [Making WordPress.org] #1980: Forums: Subscribe/unsubscribe and Favorite/Unfavorite actions not functioning
Making WordPress.org
noreply at wordpress.org
Sat Sep 24 20:37:43 UTC 2016
#1980: Forums: Subscribe/unsubscribe and Favorite/Unfavorite actions not
functioning
----------------------------+---------------------
Reporter: SergeyBiryukov | Owner:
Type: defect | Status: closed
Priority: high | Milestone:
Component: Support Forums | Resolution: fixed
Keywords: |
----------------------------+---------------------
Changes (by ocean90):
* status: new => 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/1980#comment:15>
Making WordPress.org <https://meta.trac.wordpress.org/>
Making WordPress.org
More information about the wp-meta
mailing list