Skip to content
Commits on Sep 4, 2012
  1. Updater:

    johnjamesjacoby committed Sep 4, 2012
    * Move bbp_is_deactivation() check out of bbPress class, and into bbpress-functions.php loader.
    * Enables all functions and actions to run at deactivation time, allowing caps to be removed, etc...
    * Re-enable network updater for capable users. Check if bbPress is active before running versioner.
    * Introduce bbp_delete_rewrite_rules() to force a flush on the following page-load without priming rules on the current one.
    
    git-svn-id: http://bbpress.svn.wordpress.org/branches/plugin@4198 9866e705-20ec-0310-96e7-cbb4277adcfb
  2. User Edit:

    johnjamesjacoby committed Sep 4, 2012
    * Tweak capabilities CSS.
    * Also include RTL styling.
    
    git-svn-id: http://bbpress.svn.wordpress.org/branches/plugin@4197 9866e705-20ec-0310-96e7-cbb4277adcfb
  3. User Edit:

    johnjamesjacoby committed Sep 4, 2012
    * Load grant/revoke super admin functions if they are not available.
    * Remove empty user role check, as all users will have default roles going forward.
    * Tweak input/label CSS when editing a user profile.
    
    git-svn-id: http://bbpress.svn.wordpress.org/branches/plugin@4196 9866e705-20ec-0310-96e7-cbb4277adcfb
  4. User Options:

    johnjamesjacoby committed Sep 4, 2012
    * Update phpdoc for bbp_add_user_options()
    * Pass $user_id into action when adding and removing options.
    
    git-svn-id: http://bbpress.svn.wordpress.org/branches/plugin@4195 9866e705-20ec-0310-96e7-cbb4277adcfb
  5. Queries:

    johnjamesjacoby committed Sep 4, 2012
    * Revert r4183 as it's still needed for shortcodes and _is_ functions.
    * Fix incorrect ob_start() method in display_breadcrumb().
    
    git-svn-id: http://bbpress.svn.wordpress.org/branches/plugin@4194 9866e705-20ec-0310-96e7-cbb4277adcfb
  6. Options:

    johnjamesjacoby committed Sep 4, 2012
    * Visually section off user slugs in bp_get_options().
    
    git-svn-id: http://bbpress.svn.wordpress.org/branches/plugin@4193 9866e705-20ec-0310-96e7-cbb4277adcfb
  7. Capabilities:

    johnjamesjacoby committed Sep 4, 2012
    * Enforce negative capabilities in user_profile_update() by using add_cap( $cap, false );
    * Remove new-role dance from capability reset, as bbPress capabilities are still added to each individual role as needed.
    
    git-svn-id: http://bbpress.svn.wordpress.org/branches/plugin@4192 9866e705-20ec-0310-96e7-cbb4277adcfb
  8. Users:

    johnjamesjacoby committed Sep 4, 2012
    * First pass at updating bbp-theme-compat for new favorites/subscriptions template behavior.
    * Removes query name usage from templates.
    
    git-svn-id: http://bbpress.svn.wordpress.org/branches/plugin@4191 9866e705-20ec-0310-96e7-cbb4277adcfb
  9. Users:

    johnjamesjacoby committed Sep 4, 2012
    * Update main bbPress class and bbp_parse_query() for updated favorites and subscriptions behavior.
    
    git-svn-id: http://bbpress.svn.wordpress.org/branches/plugin@4190 9866e705-20ec-0310-96e7-cbb4277adcfb
  10. Users:

    johnjamesjacoby committed Sep 4, 2012
    * Update behavior of is functions for favorites and subscriptions to use parsed query variables.
    * Introduce functions for getting the rewrite ID's.
    
    git-svn-id: http://bbpress.svn.wordpress.org/branches/plugin@4189 9866e705-20ec-0310-96e7-cbb4277adcfb
  11. Users:

    johnjamesjacoby committed Sep 4, 2012
    * Add options and functions for user favorites and subscriptions slugs.
    
    git-svn-id: http://bbpress.svn.wordpress.org/branches/plugin@4188 9866e705-20ec-0310-96e7-cbb4277adcfb
  12. Updater:

    johnjamesjacoby committed Sep 4, 2012
    * Make bbp_is_update() more verbose for easier debugging.
    * Update version updater function to remove deprecated roles, and flush the capabilities.
    
    git-svn-id: http://bbpress.svn.wordpress.org/branches/plugin@4187 9866e705-20ec-0310-96e7-cbb4277adcfb
  13. Capabilities:

    johnjamesjacoby committed Sep 4, 2012
    * Update phpdoc for bbp_set_current_user_default_role().
    * See #1942.
    
    git-svn-id: http://bbpress.svn.wordpress.org/branches/plugin@4186 9866e705-20ec-0310-96e7-cbb4277adcfb
  14. Capabilities:

    johnjamesjacoby committed Sep 4, 2012
    * Rename global role masking to bbp_set_current_user_default_role().
    * Update phpdoc and action usages.
    * See #1942.
    
    git-svn-id: http://bbpress.svn.wordpress.org/branches/plugin@4185 9866e705-20ec-0310-96e7-cbb4277adcfb
  15. Capabilities:

    johnjamesjacoby committed Sep 4, 2012
    * Bring back bbp_add_caps() and bbp_remove_caps().
    * Remove role mask, and more aggressively add registered user to site with default role when user visits the site for the first time.
    * See #1942.
    
    git-svn-id: http://bbpress.svn.wordpress.org/branches/plugin@4184 9866e705-20ec-0310-96e7-cbb4277adcfb
  16. Queries:

    johnjamesjacoby committed Sep 4, 2012
    * Remove query name settings from BBP_Shortcodes.
    * No longer used.
    
    git-svn-id: http://bbpress.svn.wordpress.org/branches/plugin@4183 9866e705-20ec-0310-96e7-cbb4277adcfb
  17. Capabilities:

    johnjamesjacoby committed Sep 4, 2012
    * Bail if in network admin.
    * Prevent modifying blog caps in network admin area.
    
    git-svn-id: http://bbpress.svn.wordpress.org/branches/plugin@4182 9866e705-20ec-0310-96e7-cbb4277adcfb
Commits on Sep 3, 2012
  1. Introduce bbp_register subaction:

    johnjamesjacoby committed Sep 3, 2012
    * Switch bbp_init priority to init 0.
    * Hook bbp_register to bbp_init, prority 0.
    * Hook _register_ actions onto bbp_register.
    * Registers post types, taxonomies, post statuses, shortcodes, and topic views early, so they are available ahead of 'init' action.
    * Fixes plugin dependency issue with bbPress objects not being registered when they are needed.
    
    git-svn-id: http://bbpress.svn.wordpress.org/branches/plugin@4181 9866e705-20ec-0310-96e7-cbb4277adcfb
Commits on Aug 29, 2012
  1. Capabilities:

    johnjamesjacoby committed Aug 29, 2012
    * Remove bbp_masked capability when setting the user role.
    * Do not set a fake role in bbp_global_access_role_mask().
    * Rename variable in bbp_global_access_role_mask() to be more literal.
    * Add note to phpdoc of bbp_global_access_role_mask().
    
    git-svn-id: http://bbpress.svn.wordpress.org/branches/plugin@4180 9866e705-20ec-0310-96e7-cbb4277adcfb
  2. Capabilities:

    johnjamesjacoby committed Aug 29, 2012
    * Add 'participate' capability to admin role defaults.
    * Rearrange bbp_global_access_role_mask() to check logged in and member of blog before inactive.
    * Default to WordPress Subscriber role in bbp_global_access_role_mask().
    * Addresses issue where users don't get proper default caps masked to them.
    
    git-svn-id: http://bbpress.svn.wordpress.org/branches/plugin@4179 9866e705-20ec-0310-96e7-cbb4277adcfb
Commits on Aug 26, 2012
  1. Bump version numbers to 2.1, when singleton and magic methods were in…

    johnjamesjacoby committed Aug 26, 2012
    …troduced.
    
    git-svn-id: http://bbpress.svn.wordpress.org/branches/plugin@4178 9866e705-20ec-0310-96e7-cbb4277adcfb
  2. Doing it wrong:

    johnjamesjacoby committed Aug 26, 2012
    * Protect users from the effects of incorrectly manipulating the bbPress instance.
    * Uses _doing_it_wrong() in place of wp_die(), in bbPress::__clone() and bbPress::__wakeup() magic methods.
    
    git-svn-id: http://bbpress.svn.wordpress.org/branches/plugin@4177 9866e705-20ec-0310-96e7-cbb4277adcfb
Commits on Aug 25, 2012
  1. Stand tall, little T.

    johnjamesjacoby committed Aug 25, 2012
    git-svn-id: http://bbpress.svn.wordpress.org/branches/plugin@4176 9866e705-20ec-0310-96e7-cbb4277adcfb
  2. Bozo:

    johnjamesjacoby committed Aug 25, 2012
    * Change post status to 'bozo' on creation/edit if user is a bozo.
    * Modifies create/edit handlers for topics and replies.
    
    git-svn-id: http://bbpress.svn.wordpress.org/branches/plugin@4175 9866e705-20ec-0310-96e7-cbb4277adcfb
Commits on Aug 24, 2012
  1. Bozo:

    johnjamesjacoby committed Aug 24, 2012
    * Use correct bbp_get_bozo_post_status() function when registering post status.
    
    git-svn-id: http://bbpress.svn.wordpress.org/branches/plugin@4174 9866e705-20ec-0310-96e7-cbb4277adcfb
  2. Bozo:

    johnjamesjacoby committed Aug 24, 2012
    * Map 'bozo' caps to disallow for moderators.
    * Move inactive user check out of bbp_is_user_bozo() and into bbp_map_meta_caps().
    
    git-svn-id: http://bbpress.svn.wordpress.org/branches/plugin@4173 9866e705-20ec-0310-96e7-cbb4277adcfb
  3. Capabilities:

    johnjamesjacoby committed Aug 24, 2012
    * Tweak CSS for capability UI to fix layout issues with varying height divs.
    
    git-svn-id: http://bbpress.svn.wordpress.org/branches/plugin@4172 9866e705-20ec-0310-96e7-cbb4277adcfb
  4. Bozos:

    johnjamesjacoby committed Aug 24, 2012
    * Add bozo post status to bbp_has_topics() and bbp_has_replies() if current user is a bozo.
    
    git-svn-id: http://bbpress.svn.wordpress.org/branches/plugin@4171 9866e705-20ec-0310-96e7-cbb4277adcfb
  5. Bozos:

    johnjamesjacoby committed Aug 24, 2012
    * Add bbp_is_user_bozo() function to bbp-user-functions.php.
    * Note that neither anonymous nor inactive users can be bozos, as they already either can or cannot post, and should not be allowed to post uncontrollably. This behavior differs from bbPress 1.x, where a bozo could also be a spam user.
    
    git-svn-id: http://bbpress.svn.wordpress.org/branches/plugin@4170 9866e705-20ec-0310-96e7-cbb4277adcfb
  6. Bozons:

    johnjamesjacoby committed Aug 24, 2012
    * Add bozo post_status and function helper.
    * For 'bozo' capability.
    
    git-svn-id: http://bbpress.svn.wordpress.org/branches/plugin@4169 9866e705-20ec-0310-96e7-cbb4277adcfb
  7. Capabilities:

    johnjamesjacoby committed Aug 24, 2012
    * Remove negative 'blocked' cap and use positive 'participate' cap instead.
    * Replaces old 'bbp_participant' role nicely.
    
    git-svn-id: http://bbpress.svn.wordpress.org/branches/plugin@4168 9866e705-20ec-0310-96e7-cbb4277adcfb
  8. Forums:

    johnjamesjacoby committed Aug 24, 2012
    * Remove superfluous is_super_admin() login in bbp_has_forums().
    * Capes always pass current_user_can() checks unless specifically not allowed, which is the intended behavior here.
    
    git-svn-id: http://bbpress.svn.wordpress.org/branches/plugin@4167 9866e705-20ec-0310-96e7-cbb4277adcfb
Commits on Aug 21, 2012
  1. Topic Tags:

    johnjamesjacoby committed Aug 21, 2012
    * When posting a topic or reply, check that user can assign tags to topics.
    * If user cannot assign tags, and topic-tag value is not set, use existing topic tags.
    
    git-svn-id: http://bbpress.svn.wordpress.org/branches/plugin@4166 9866e705-20ec-0310-96e7-cbb4277adcfb
  2. Capabilities:

    johnjamesjacoby committed Aug 21, 2012
    * Reference correct function in bbp_add_caps()
    * See #1939
    
    git-svn-id: http://bbpress.svn.wordpress.org/branches/plugin@4165 9866e705-20ec-0310-96e7-cbb4277adcfb
  3. Capabilities:

    johnjamesjacoby committed Aug 21, 2012
    * Remove roles and move everything to mapped capabilities.
    * First pass at admin-side forum capability manager.
    * Deprecate moderator, anonymous, and participant roles and associated functions.
    * Deprecate add/remove role/cap functions.
    * More cap mapping needed for users that are not explicitly blocked.
    * Adds cap check to forms for topic-tag adding/editing.
    * See #1939
    
    git-svn-id: http://bbpress.svn.wordpress.org/branches/plugin@4164 9866e705-20ec-0310-96e7-cbb4277adcfb
Something went wrong with that request. Please try again.