[wp-meta] [Making WordPress.org] #3479: Support Profile / Unsubscribe from all Topics button

Making WordPress.org noreply at wordpress.org
Thu Feb 22 22:12:51 UTC 2018


#3479: Support Profile / Unsubscribe from all Topics button
-------------------------------------------------+-------------------------
 Reporter:  xkon                                 |       Owner:
     Type:  enhancement                          |      Status:  new
 Priority:  normal                               |   Milestone:
Component:  Profiles                             |  Resolution:
 Keywords:  has-screenshots 2nd-opinion needs-   |
  patch ui-feedback                              |
-------------------------------------------------+-------------------------

Comment (by Otto42):

 This may need to wait for better or more comprehensive support for
 subscriptions in bbPress.

 Right now, bbP stores topic subscriptions as usermeta. This isn't
 particularly scalable and we have some issues with it already when it's
 doing queries to get the list of users to whom to send those
 notifications. It only works because of caching, really.

 If bbP changes how it stores the subscriptions, then any code we added
 onto the forums to do this would likely need to be changed if and when
 bbPress changes. However, if bbPress is going to change, then implementing
 a function to do this properly could be part of that change as well.

 Right now, deleting all topic subs is basically just calling
 delete_user_option( $user_id, '_bbp_subscriptions' ); and then doing some
 cache cleanup. But that assumes that we'll continue to store them that
 way. Having this built into bbPress with a
 bbp_remove_all_user_subscriptions() or something would be more future-
 proof.

--
Ticket URL: <https://meta.trac.wordpress.org/ticket/3479#comment:1>
Making WordPress.org <https://meta.trac.wordpress.org/>
Making WordPress.org


More information about the wp-meta mailing list