Skip to:
Content

bbPress.org


Ignore:
Timestamp:
12/04/2018 06:31:09 PM (3 years ago)
Author:
johnjamesjacoby
Message:

Engagements: next pass at back-compat for pre-2.6 user strategy.

  • Renames BBP_User_Engagements_Back_Compat to BBP_User_Engagements_User so the approach is more clear.
  • Fill in get_query() method, left todo from r6844.
  • Move active strategy into a preloaded option, default to meta
  • Set active strategy to user on failed auto-upgrade to 2.6 to maintain backwards compatibility
  • Introduces sub-actions to assist with abstracting the engagement strategy setup

Fixes #3211.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/includes/core/actions.php

    r6792 r6876  
    8383add_action( 'bbp_init', 'bbp_add_rewrite_rules', 30  );
    8484add_action( 'bbp_init', 'bbp_add_permastructs',  40  );
     85add_action( 'bbp_init', 'bbp_setup_engagements', 50  );
    8586add_action( 'bbp_init', 'bbp_ready',             999 );
    8687
Note: See TracChangeset for help on using the changeset viewer.