Skip to:
Content

bbPress.org

Changes between Initial Version and Version 4 of Ticket #3211


Ignore:
Timestamp:
12/03/2018 08:28:48 PM (8 years ago)
Author:
johnjamesjacoby
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #3211

    • Property Summary Shim favs/subs back-combat via BBP_User_Engagements_BaseShim favs/subs back-compat via BBP_User_Engagements_Base
  • Ticket #3211 – Description

    initial v4  
    1 In 2.6, we changed the way that engagements are stored in the DB. There is a migration script for small bbPress installs (with less than 10k users) but there is no back-combat for larger installs that haven't upgraded yet.
     1In 2.6, we changed the way that engagements are stored in the DB. There is a migration script for small bbPress installs (with less than 10k users) but there is no back-compat for larger installs that haven't upgraded yet.
    22
    3 We should extend `BBP_User_Engagements_Base` and provide back-combat for favorites & subscriptions to provide backwards compatibility to large 2.5 installations.
     3We should extend `BBP_User_Engagements_Base` and provide back-compat for favorites & subscriptions to provide backwards compatibility to large 2.5 installations.
    44
    55We'd do this by setting the "engagements strategy" in `bbPress::setup_variables()` based on the database version. Right now, we've hard-coded it to use the new one (`BBP_User_Engagements_Meta`) but we'd selectively use the back-compat one if until the database upgrade is completed.