[4440]
|
johnjamesjacoby
|
Update bbpress.pot.
|
[4439]
|
johnjamesjacoby
|
Bump trunk to 2.2.
|
[4438]
|
johnjamesjacoby
|
Forums:
* Do not disable categories on forum parent drop downs in wp-admin.
* Disable forum parents in topic and reply edits if user cannot edit forums.
* This is to prevent innocent users from accidentally putting content in a forum category.
|
[4437]
|
johnjamesjacoby
|
Theme Compat:
* Fix bug causing first iteration of theme stack to be skipped.
|
[4436]
|
johnjamesjacoby
|
Update bbpress.pot file.
|
[4435]
|
johnjamesjacoby
|
BuddyPress/Capabilities:
* Add supporting methods for handling group forum topic moderator functionality.
* Uses map_meta_cap filter to allow group moderators and admins to perform their duties.
* Also allows regular group members to view private/hidden forums if they are a group member.
* Fixes #2033.
|
[4434]
|
johnjamesjacoby
|
Increase default textarea rows from 6 to 12. Feels like a better balance between normal and fancy editors.
|
[4433]
|
johnjamesjacoby
|
Capabilities:
* Set default param values in all map_meta_cap filters, incase none are passed or type cast correctly.
|
[4432]
|
johnjamesjacoby
|
Widgets:
* Declare widget() methods as static.
* Fixes PHP notices for static method usages.
* Fixes #2030.
|
[4431]
|
johnjamesjacoby
|
Capabilities:
* Only try to add the new role if there's a new role to add.
|
[4430]
|
johnjamesjacoby
|
Converter:
* Platform options is a string, not an array.
|
[4429]
|
johnjamesjacoby
|
Updated bbpress.pot file.
|
[4428]
|
johnjamesjacoby
|
Revisions:
* In bbp_get_reply_revision_log(), check the post type, and maybe return bbp_get_topic_revision_log() if post is a topic in the replies loop.
* This happens when bbp_show_lead_topic() is set to false, which is the default.
* See #2029.
|
[4427]
|
johnjamesjacoby
|
Revisions:
* Use correct post type in replies.
* See #2029.
|
[4426]
|
johnjamesjacoby
|
Revisions:
* Since we do our own revision handling, turn off revisions for the initial call to wp_update_post() in topics and replies.
* We check if the post type supports revisions, and toggle them off and back on to avoid duplicate revisions from specifically saving it later in the edit process.
* Fixes #2029.
|
[4425]
|
johnjamesjacoby
|
Update bbpress.pot for new default templates folder path.
|
[4424]
|
johnjamesjacoby
|
Templates:
* Remove 'bbp-' prefix from default templates directory name.
* Update paths where appropriate.
|
[4423]
|
johnjamesjacoby
|
Merge updated bbpress.pot file into trunk for 2.2.
|
[4422]
|
johnjamesjacoby
|
Add 2.2 to readme.txt changelog.
|
[4420]
|
johnjamesjacoby
|
Bump to RC2.
|
[4419]
|
johnjamesjacoby
|
Capabilities:
* Moderators cannot see forums in wp-admin.
|
[4418]
|
johnjamesjacoby
|
Force a max-width on forum drop-down in default templates.
|
[4417]
|
johnjamesjacoby
|
Forums Admin:
* Update 'order' and 'orderby' for get_posts() usage to sort by 'title' and not 'post_title'.
|
[4416]
|
johnjamesjacoby
|
Forums Admin:
* More aggressive CSS for forum parent.
|
[4415]
|
johnjamesjacoby
|
Forums Admin:
* Set max-width to 170px for forum parent ID.
|
[4414]
|
johnjamesjacoby
|
Forums Admin:
* Revert usage of Suggest for choosing a forum parent via auto-complete.
* Revert parts of r4260 and r4261.
* See #1910, #2014.
|
[4413]
|
johnjamesjacoby
|
Capabilities:
* Only loop through array keys in bbp_filter_blog_editable_roles().
* Prevents unused value variables from being created.
|
[4412]
|
johnjamesjacoby
|
Capabilities:
* Remove call to array_diff_assoc() in bbp_filter_blog_editable_roles().
* Use two foreach() loops instead.
* Randomly stopped working; no time before 2.2 to investigate.
|
[4411]
|
johnjamesjacoby
|
Theme Compat:
* Only replace the content if in a main query loop.
* Fixes possible incompatibilities with alternate loops and calling 'the_content' filters in strange places.
* For 2.2.
|
[4410]
|
johnjamesjacoby
|
!BuddyPress:
* Update BBP_BuddyPress::setup_title() to use more verbose and filtered !BuddyPress functions.
* Use bp_is_user() check to only set title for displayed users.
* Props paulgibbs.
* Fixes #2027.
|
[4409]
|
johnjamesjacoby
|
!BuddyPress:
* Add note to the top of !BuddyPress loader.php.
* See #1669.
|
[4408]
|
johnjamesjacoby
|
Member's Forums:
* Update "Topics Replied To" to "Replies Created."
* Reference correct template to mirror bbPress functionality in !BuddyPress profiles.
|
[4407]
|
johnjamesjacoby
|
!BuddyPress Group Forums:
* Suppress hierarchical group forums for now, for feature parity with existing !BuddyPress forums.
* See #1669.
|
[4406]
|
johnjamesjacoby
|
Capabilities:
* Add sanity check in bbp_set_current_user_default_role() to check that setup_current_user action has already fired.
* If not, bail early, since there is no user to attach a role to yet.
* This should not happen under normal circumstances, only when doing advanced tricks or otherwise _doing_it_wrong().
* This bit is subject to change, based on testing.
|
[4405]
|
johnjamesjacoby
|
BuddyPress Repair:
* Repair forum group ID meta so relationship is fully mapped.
* Update feedback message to include group and forum counts.
* Props jmdodd.
* Fixes #2025.
|
[4404]
|
johnjamesjacoby
|
Move bbp_load_textdomain() onto 'bbp_init' - was loading too early on 'bbp_loaded' -> 'plugins_loaded'.
|
[4403]
|
johnjamesjacoby
|
Bump.
|
[4402]
|
johnjamesjacoby
|
!BuddyPress:
* Only rename 'Default Forum' if name matches old bbPress default forum title.
* See #2025, #1669.
|
[4401]
|
johnjamesjacoby
|
!BuddyPress:
* Update group-repair tool to update the group forums root.
* Also rename the 'Default Forum' to 'Group Forums' since it's part of the sitewide forums now.
* See #2025, #1669.
|
[4400]
|
johnjamesjacoby
|
Converter:
* Add '_bbp_old_forum_id' in converter so forums can be easily referenced.
* Update groups-repair to use new 'old forum ID' key.
* Props jmdodd.
* Fixes #2024.
|
[4399]
|
johnjamesjacoby
|
Use correct component, item_id, and secondary_item_id in group-forum activity. Props r-a-y. Fixes #2023.
|
[4398]
|
johnjamesjacoby
|
Use correct database name/prefix in group-forum relationship tool. Props r-a-y. Fixes #2022.
|
[4397]
|
johnjamesjacoby
|
!BuddyPress:
* Remove component.php, and consolidate into loader.php.
* Introduce members.php, for modifying bbPress profile links.
* Rename loading class and references where appropriate.
* See #2020.
|
[4396]
|
johnjamesjacoby
|
!BuddyPress:
* Use !BuddyPress singleton wrapper where applicable.
* Include helper buddypress() function if using versions prior to 1.7.
|
[4395]
|
johnjamesjacoby
|
Extensions:
* Introduce core/extend.php to assist in loading extentions in a more common way.
* Move some !BuddyPress code around, into the files it makes the most sense for it to be in.
* Remove some redundant !BuddyPress loader code.
|
[4394]
|
johnjamesjacoby
|
!BuddyPress:
* Split buddypress.php up into more manageable parts.
* Props jmdodd.
* Fixes #2020.
|
[4393]
|
johnjamesjacoby
|
!BuddyPress:
* First pass attempt at repairing !BuddyPress group forum relationships.
* Includes new tool for looping through converted forums and updating group meta.
* See #1669.
|
[4392]
|
johnjamesjacoby
|
Bump to RC 1.
|
[4391]
|
johnjamesjacoby
|
About:
* Add "Codex Rockstars" section.
* Fix Gravatar URL and duplicate ID.
* See #2018.
|
[4390]
|
johnjamesjacoby
|
Activation:
* When activating bbPress, redirect to the "What's New" page.
* Replaces incomplete code in /admin/functions.php with update action and activation hook helper.
* See #2018.
|
[4389]
|
johnjamesjacoby
|
Users:
* Fix incorrectly classed replies link in user profiles navigation.
* Props netweb.
* Fixes #2019.
|
[4388]
|
johnjamesjacoby
|
About:
* Add missing mapped cap to BBP_Admin::map_settings_meta_caps().
* See: #2018.
|
[4387]
|
johnjamesjacoby
|
Use options-general.php file in settings link in What's New and Credits pages. See #2018.
|
[4386]
|
johnjamesjacoby
|
Use correct settings page link in What's New and Credits pages. See #2018.
|
[4385]
|
johnjamesjacoby
|
Credits:
* Clean up copy pasta.
* Props jmdodd.
* See #2018.
|
[4384]
|
johnjamesjacoby
|
Credits:
* Hardcode some credits for a first pass for 2.2.
* Will want to use api.wordpress.org eventually.
* Fixes #2018.
|
[4382]
|
johnjamesjacoby
|
About:
* First pass at "What's New" text.
* Props jmdodd.
* See #2018.
|
[4381]
|
johnjamesjacoby
|
Humans:
* Add jmdodd to thanks list.
|
[4380]
|
johnjamesjacoby
|
Trim off beta and revision suffixes from display version in What's New and Credits pages. See #2018.
|
[4379]
|
johnjamesjacoby
|
Tag bbPress 2.1.3.
|
[4378]
|
johnjamesjacoby
|
Bump 2.1 branch to 2.1.3.
|
[4377]
|
johnjamesjacoby
|
Theme Compat:
* Set post_excerpt when setting the dummy post.
* Fixes issue with unset $post->post_excerpt warnings.
* For 2.1 branch.
|
[4376]
|
johnjamesjacoby
|
Theme Compat:
* Set post_excerpt when setting the dummy post.
* Fixes issue with unset $post->post_excerpt warnings.
|
[4375]
|
johnjamesjacoby
|
Capabilities:
* Rehook bbp_set_current_user_default_role() back to 'bbp_setup_current_user'.
* Now that deactivation check has moved, it's safe to hook this directly again.
* Remove from bbPress::setup_current_user().
* See #1939.
|
[4374]
|
johnjamesjacoby
|
Capabilities:
* Since bbp_set_current_user_default_role() is directly hooked to switch_blog, add deactivation check to prevent php warnings.
* See #1939.
|
[4373]
|
johnjamesjacoby
|
Breadcrumb:
* Fix copy-pasta in bbp_get_breadcrumb().
* Regression from adding more arguments to HTML output.
* Fixes #2017.
|
[4372]
|
johnjamesjacoby
|
Green Scheme:
* Tweak the green scheme so it's less broken in !WordPress 3.5.
* Since admin CSS is not final, this may change, or need more tweaks.
|
[4371]
|
johnjamesjacoby
|
Capabilities:
* Hook bbp_set_current_user_default_role() to 'switch_blog'
* Fixes bug where mapped forums role was lost on multisite when WP_Admin_Bar::initialize() would switch to a blog that a user is a member of, if the user was viewing a forum on a site they do not have a role on.
* See #1939.
|
[4370]
|
johnjamesjacoby
|
Users:
* Update _is_ functions for user_status (spam|deleted)
* Remove check of 'user_status' column value, since core only uses 'spam' and 'deleted' now.
* Fixes issue where a 'user_status' setting would produce a false positive.
|
[4369]
|
johnjamesjacoby
|
Replace instances of 'bbPress' string output with 'Forums' in admin settings.
|
[4368]
|
johnjamesjacoby
|
Bump to beta 2.
|
[4367]
|
johnjamesjacoby
|
Capabilities:
* Reverse logic in bbp_user_has_profile().
* Assume all users have profiles, and they must be explicitly disabled.
* This is a more natural default behavior, as rarely will a site need to restrict a user's profile to a specific central site.
* See #1939.
|
[4366]
|
johnjamesjacoby
|
Capabilities:
* Update notices in deprecated add/remove roles functions.
* See #1939.
|
[4365]
|
johnjamesjacoby
|
Capabilities:
* Introduce functionality for bulk-edit of user forums roles.
* Uses new 'keep_gate' capability to prevent granting keymaster role from a non-keymaster.
* For !WordPress 3.5 and higher.
* Props jmdodd.
* See #1939.
* Fixes #2016.
|
[4364]
|
johnjamesjacoby
|
Capabilities:
* Introduce two helper functions: bbp_filter_user_roles_option() and _bbp_reinit_dynamic_roles()
* Fixes bug where switching to a new blog would wipe out dynamically loaded roles.
* Filter the *_user_roles option, and add bbPress's roles to it.
* See #1939.
|
[4363]
|
johnjamesjacoby
|
Capabilities:
* Introduce bbp_user_has_profile() function in /users/capabilities.php.
* Use this function to suppress links to a profile of a user with no role on the site.
* Replaces some logic in bbp_parse_query() for setting user profile query variables.
* See #1939.
|
[4362]
|
johnjamesjacoby
|
Topic Split:
* When splitting a topic off into an existing topic, use the same kludge from topic-merge, and rejig the post_date by 1 second.
* This keeps topics and replies in the correct order after splitting part of a topic, into another topic.
* Props jmdodd.
* Fixes #2015.
|
[4361]
|
johnjamesjacoby
|
Add filter to bbp_verify_nonce_request() to allow hot-swapping of the request match.
|
[4360]
|
johnjamesjacoby
|
Capabilities:
* Only setup the default current user role when the current user has been byref copied into bbPress's instance.
* Fixes issue where some core actions are suppressed during the deactivation process, causing an action order conflict with current_user.
* Fixes #1939.
|
[4359]
|
johnjamesjacoby
|
Suggest:
* Add hidden and private status's to forum suggestions.
* Sanity checks on suggestion results and improve readability.
* Refixes #1901.
|
[4358]
|
johnjamesjacoby
|
Bail out of admin actions when deactivating bbPress. Prevents admin options and display actions from interfering with the deactivation process.
|
[4356]
|
johnjamesjacoby
|
Bump.
|
[4355]
|
johnjamesjacoby
|
Capabilities:
* When transitioning a user role, avoid giving them the visitor role unless explicitly intended.
* See #1939.
|
[4354]
|
johnjamesjacoby
|
Capabilities:
* Rename 'anonymous' role to 'visitor' to avoid confusion with logged-out anonymity.
* Renames functions, keys, filters, et all.
* See #1939.
|
[4353]
|
johnjamesjacoby
|
Capabilities:
* Update inline doc for 'spectate' VS 'participate'.
* See #1939.
|
[4352]
|
johnjamesjacoby
|
Capabilities:
* Rename bbp_get_editable_roles() to bbp_get_dynamic_roles().
* This new function name better represents bbPress's approach to secondary user roles, in that these roles are no longer intentionally saved to the database.
* See #1939.
|
[4351]
|
johnjamesjacoby
|
Capabilities:
* Get correct capabilities for anonymous role in bbp_get_editable_roles().
* These are currently the same, though will change in future versions.
|
[4350]
|
johnjamesjacoby
|
Capabilities:
* Hook bbp_add_forums_roles() to 'bbp_setup_theme' since it's before user init.
* Add anonymous role to dynamic role loader.
* Fixes issues with roles not being mapped correctly on new installations.
|
[4349]
|
johnjamesjacoby
|
Capabilities:
* Remove most capability mappings to 'participate' cap.
* Update bbp_set_current_user_default_role() to dynamically map a logged in user if global access is turned off.
* Provides alternative to users being granted a database role without taking any action.
* This makes bbPress work similarly to comments, though a decision needs to be made regarding profile pages for these "anonymous" users.
|
[4348]
|
johnjamesjacoby
|
Admin Settings:
* If a setting is manually overridden, disable it.
* Introduces bbp_maybe_admin_setting_disabled() helper function.
* Update bbp_dropdown with 'disabled' parameter to allow disabling based on option.
|
[4347]
|
johnjamesjacoby
|
Trailing whitespace clean-up in: includes/admin/
|
[4346]
|
johnjamesjacoby
|
Capabilities:
* Move status and role user functions out of users/functions.php and into users/capabilities.php.
* See #1939.
|
[4345]
|
johnjamesjacoby
|
Tools:
* Remove empty( $users ) check in bbp_admin_repair_user_roles().
* Handled by while() loop.
* Tweak inline doc in bbp_admin_repair_user_roles().
|
[4344]
|
johnjamesjacoby
|
Tools:
* Break bbp_admin_repair_user_roles() loop into 1000 user chunks.
* Fixes issue where we were querying and returning too many rows at a time.
|
[4343]
|
johnjamesjacoby
|
Tools:
* Cleanup repeat variable assignments.
* Unset variables in costly loops to free up some resources.
* Remove one-time-use variables.
|
[4342]
|
johnjamesjacoby
|
Converter:
* Remove 'bbp-' prefix from parser.php include.
* Props nexia.
* Fixes #2013.
|
[4341]
|
johnjamesjacoby
|
Capabilities:
* Add tool for remapping site users to the expected forums role.
* Does not remove existing !WordPress core roles.
* See #1939, #2010.
|
[4340]
|
johnjamesjacoby
|
Capabilities:
* Use bbp_get_user_role() to get the user's forums role.
* Update bbp_set_user_role() to return false if trying to set a role the user already has.
* Remove foreach loop to remove existing roles, since there's no way to naturally have more than one.
* See #1939.
|
[4339]
|
johnjamesjacoby
|
Capabilities:
* PHP5'ize list table BBP_Users_Admin methods.
* See #2012.
|
[4338]
|
johnjamesjacoby
|
Capabilities:
* Add "Forum Role" column to single-site users list.
* Fixes issue where there was no immediate way to see what users had what forums role at a glance.
* Props jmdodd.
* Fixes #2012.
|