[5100]
|
johnjamesjacoby
|
Bump trunk to 2.5-alpha.
|
[5099]
|
johnjamesjacoby
|
Tag 2.4.
|
[5098]
|
johnjamesjacoby
|
Create 2.4 branch from trunk.
|
[5097]
|
johnjamesjacoby
|
Bump readme.txt stable tag and version.
|
[5096]
|
johnjamesjacoby
|
Bump trunk to 2.4.
|
[5095]
|
johnjamesjacoby
|
Bump bbpress.pot.
|
[5094]
|
johnjamesjacoby
|
Update badge image gradients.
|
[5093]
|
johnjamesjacoby
|
Add reply_to capability to main converter class. Props netweb. Fixes #2400.
|
[5092]
|
johnjamesjacoby
|
Update contributors and props list for 2.4 release.
|
[5091]
|
johnjamesjacoby
|
More updated "About" text for 2.4.
|
[5090]
|
johnjamesjacoby
|
Updated "About" text for 2.4.
|
[5089]
|
johnjamesjacoby
|
PHP 5.4+ E_STRICT improvement to BuddyPress Groups display_forums() method. See #BP5108.
|
[5088]
|
johnjamesjacoby
|
Remove incorrect @uses bbp_is_user_keymaster() phpdoc reference.
|
[5087]
|
johnjamesjacoby
|
In bbp_user_can_view_forum(), pass the $user_id into bbp_is_user_keymaster().
Fixes issue where bbp_user_can_view_forum() may return incorrect results for users with the Keymaster role.
Props alex-ye. Fixes #2393.
|
[5086]
|
johnjamesjacoby
|
When converting backticks to pre and code blocks, wrap pre's in new lines. Fixes inconsistent output between: the original posted content, formatted output, and editing content. See #2091.
|
[5085]
|
johnjamesjacoby
|
Update CSS for code and pre tags to reduce scrollbars. See #2091.
|
[5084]
|
johnjamesjacoby
|
Add 'show_none' to forum ID dropdown in form-topic.php template part. Fixes UX problem where a new-topic page would automatically select the first option in the list for topics to go in. Also escape output of 'show_none' in bbp_get_dropdown(). Fixes #2390.
|
[5083]
|
johnjamesjacoby
|
Clean up admin settings fields attribute order: name, ID, type, value, others... See #2388.
|
[5082]
|
johnjamesjacoby
|
Remove duplicate id attributes from some admin settings fields. Props alex-ye. Fixes #2388.
|
[5081]
|
johnjamesjacoby
|
Only allow topics to have an archive when the forums archive is showing forums (not topics). Fixes SEO concern where it was possible to have duplicate forum-archives at two different URL's.
|
[5080]
|
johnjamesjacoby
|
Separate content replacement from title replacement in forum and topic archives, allowing pages with matching slugs but empty post_content to replace the_content as expected. Fixes situation where a user creates a "Forums" page and leaves the content empty, expecting bbPress to replace it.
Also use the $page->ID to help "Edit" links to point to the correct post ID.
|
[5079]
|
johnjamesjacoby
|
Do not allow forum/topic/reply author to edit their own replies via wp-admin. Fixes #2389.
|
[5078]
|
johnjamesjacoby
|
Use bbp_get_topic_types() rather than compare to hardcoded array. Also switch from isset() to !empty() checks, and add an empty() check for 'sub_action' when toggling a topic.
|
[5077]
|
johnjamesjacoby
|
Check that 'bbp_topic_status' is set before comparing to available topic statuses. Also, use bbp_get_topic_statuses() instead of hardcoded array.
|
[5076]
|
johnjamesjacoby
|
Add is_admin() and $pagenow checks to bbp_is_deactivation() and bbp_is_activation(). Hat tip alex-ye. Fixes #2386.
|
[5075]
|
johnjamesjacoby
|
Use bbp_forum_content() instead of bbp_the_content() in loop-search-forum.php. Fixes missing forum description in search results. Props netweb. Fixes #2387.
|
[5074]
|
johnjamesjacoby
|
Bump bbpress.pot.
|
[5073]
|
johnjamesjacoby
|
String match 'to front' from changes to #2090.
|
[5072]
|
johnjamesjacoby
|
Fix typo. See #2090.
|
[5071]
|
johnjamesjacoby
|
Rename link class to match function and output, and remove some duplicate escapings. See #2090.
|
[5070]
|
johnjamesjacoby
|
Add missing output escaping in admin edit links, and add unique classes to all admin links. See #2090.
|
[5069]
|
johnjamesjacoby
|
Shift output escaping around in admin links to allow for filtering and passing additional HTML into them. Hat tip mourdak. Fixes #2090.
|
[5068]
|
johnjamesjacoby
|
Bump trunk to RC1.
|
[5067]
|
johnjamesjacoby
|
Bump bbpress.pot.
|
[5066]
|
johnjamesjacoby
|
Set max-width on .form-allowed-tags to 100%. Improves theme compat, and fixes issues with allowed tags breaking theme output. Props kobenland.
|
[5065]
|
johnjamesjacoby
|
Rename Walker class parameters to prevent PHP5.4 E_STRICT warnings.
|
[5064]
|
johnjamesjacoby
|
Introduce the bbp_get_blog_roles() helper function, to match bbp_get_dynamic_roles(). This function gets the roles of a blog with bbPress's dynamic roles filtered out (if they previously exist.)
Use bbp_get_blog_roles() where applicable to match bbp_get_dynamic_roles() usages.
Removes dependence on get_editable_roles() admin-only function.
|
[5063]
|
johnjamesjacoby
|
Revert accidental change to forum query 'orderby' args from r5060.
|
[5062]
|
johnjamesjacoby
|
Revert accidental change to bbp_remove_roles() from r5060.
|
[5061]
|
johnjamesjacoby
|
Revert accidental removal of threaded replies dropdown pre-option disabled check from r5060.
|
[5060]
|
johnjamesjacoby
|
Normalize forum, topic, and reply dropdown form fields and associated functions. Includes several new functions with _get_ equivalents to replace incorrectly named _select() functions.
First pass at adding custom topic status handling. Props jkudish. See #2187.
Also replaces $wpdb->update() calls with wp_update_post() in associated functions. Fixes #2351.
|
[5059]
|
johnjamesjacoby
|
If pre-option exists for threaded replies depth, make sure it's correctly disabled.
|
[5058]
|
johnjamesjacoby
|
Fallback to title sorting in bbp_has_forums() if no menu_order is present. Props netweb. Fixes #2373.
|
[5057]
|
johnjamesjacoby
|
De-deprecate bbp_remove_roles() so database role removal is still supported.
|
[5056]
|
johnjamesjacoby
|
Remove byref usage in BuddyPress Groups admin box method.
|
[5055]
|
johnjamesjacoby
|
Switch some wp_insert_post() usages to wp_update_post(). Use bbp_get_forum(), bbp_get_topic(), and bbp_get_reply() where appropriate, and use objects instead of arrays to avoid escaping issues with wp_update_post().
|
[5054]
|
johnjamesjacoby
|
Fallback to 'title' sorting in bbp_list_forums() for subforum sorting. Hat tip mordauk. Fixes #2373.
|
[5053]
|
johnjamesjacoby
|
Fix PHP 5.4 by reference E_STRICT warning in bbp_get_user_role(). See #2372.
|
[5052]
|
johnjamesjacoby
|
Bump bbpress.pot.
|
[5051]
|
johnjamesjacoby
|
Update bbp_time_since() to allow for GMT comparisons. Update Akismet to use bbp_time_since(). See #1616.
|
[5050]
|
johnjamesjacoby
|
v1 of Akismet history metabox UI. Fixes #1616.
|
[5049]
|
johnjamesjacoby
|
Remove out of date wp_referer_field() phpdoc references.
|
[5048]
|
johnjamesjacoby
|
PHP 5.4 compat and related sanity checks and clean-up. Props boonebgorges. Fixes #2731.
|
[5047]
|
johnjamesjacoby
|
Switch main bbPress singleton pointer from a private static to a local static inside the instance() method, preventing recursive $instance references. Fixes #2370.
|
[5046]
|
johnjamesjacoby
|
Bump bbpress.pot.
|
[5045]
|
johnjamesjacoby
|
Rename 'template-tags' files to 'template' to match core conventions. Also rename BuddyPress Groups extension from 'group' to 'groups'.
|
[5044]
|
johnjamesjacoby
|
Invert the explicit tinymce comparison in bbp_get_the_content() to look for !== false instead of === true. Fixes bug causing textarea output to be incorrectly escaped when using a custom tinymce stylesheet. Fixes #2369.
|
[5043]
|
johnjamesjacoby
|
New approach to content replacement for theme compatability. Rather than juggle the post global and post content around in two procedures, set post_content via bbp_theme_compat_reset_post().
This reduces some complexity, avoids nested shortcodes, and fixes shortcode and the_content filter conflicts. See #2343.
|
[5042]
|
johnjamesjacoby
|
Prevent nested shortcodes if used inside bbPress post_content. Reverts r4976. See #2343.
|
[5041]
|
johnjamesjacoby
|
Bump bbpress.pot.
|
[5040]
|
johnjamesjacoby
|
More esc_url() improvements, and practice late-escaping where we were otherwise passing around escaped URL variables. See #2367.
|
[5039]
|
johnjamesjacoby
|
Update tags and installation section of readme.txt.
|
[5038]
|
johnjamesjacoby
|
When posting to a BuddyPress Group Forum, update the group's last_activity. Props r-a-y. Fixes #2368.
|
[5037]
|
johnjamesjacoby
|
For all template functions that output URL's, always echo an escaped value using esc_url(). See #2367.
|
[5036]
|
johnjamesjacoby
|
When splitting a topic, correctly update the 'menu_order' property of the new topic post.
* Replace instances of 'post_position' with 'menu_order'
* Make sure 'menu_order' is 0
Props lakrisgubben. Fixes #2295.
|
[5035]
|
johnjamesjacoby
|
When editing a user and looping through their contact methods, pass the correct 'edit' context into bbp_displayed_user_field().
|
[5034]
|
johnjamesjacoby
|
Do not echo _get_ functions. Output clean-up for future work on #2367.
|
[5032]
|
johnjamesjacoby
|
Clearing CSS hack. Fixes content display issues related to hierarchical replies. Props mordauk. Fixes #2345.
|
[5031]
|
johnjamesjacoby
|
More improvements to responsive CSS. Props mercime. Fixes #1933.
|
[5030]
|
johnjamesjacoby
|
Remove hard-coded negative capabilities from bbp_get_caps_for_role() for all roles expect 'Blocked'. Prevents over-aggressively and explicitly disallowing role based capabilities, and allows role manager plugins to more effectively manipulate bbPress user capabilities.
Fixes bug where negative user capabilities could not be overridden if negative caps were saved to all_caps array. See #1939.
|
[5029]
|
johnjamesjacoby
|
In bbp_verify_nonce_request(), add support for local installations that include a port in home_url(). Fixes #2196.
|
[5028]
|
johnjamesjacoby
|
Bump bbpress.pot.
|
[5027]
|
johnjamesjacoby
|
Introduce group_settings_hidden_field() method to prevent the settings page from accidentally disabling the group forum. Props r-a-y. Fixes #2339.
|
[5025]
|
johnjamesjacoby
|
Bump trunk to bbPress 2.4 beta 1.
|
[5024]
|
johnjamesjacoby
|
Check the action in bbp_search_results_redirect(), and bail early if it's not a search request. Fixes regression causing topic merge/split/move actions to redirect to search page introduced in r4928.
|
[5023]
|
johnjamesjacoby
|
Add dynamic actions to bbp_get_request() and bbp_post_request(). We'll likely move to using them in 2.5.
|
[5022]
|
johnjamesjacoby
|
Use strict comparisons in bbp_toggle_topic_handler(). See #2358.
|
[5021]
|
johnjamesjacoby
|
Use string values when comparing against super globals. Regression introduced in r4995. See #2358.
|
[5020]
|
johnjamesjacoby
|
Attributes are optional in the display_topic_form() shortcode. Suppresses debug notice when no attribute is passed, introduced in r5012. See #1649.
|
[5019]
|
johnjamesjacoby
|
In bbp_new_topic_handler() and bbp_edit_topic_handler(), restrict sticky topic actions to users with 'moderate' capability. Fixes #2366.
|
[5018]
|
johnjamesjacoby
|
Improve the flexibility of bbp_title() by allowing all data to be filtered. Props alex-ye. Fixes #1764.
|
[5017]
|
johnjamesjacoby
|
Introduce bbp_repair_forum_visibility() and use it:
* when creating a new BuddyPress Group Forum
* in the bbp_admin_repair_forum_visibility() tool
Fixes issues with new group forums not bumping the private/hidden forum ID's. Props r-a-y. Fixes #2349.
|
[5016]
|
johnjamesjacoby
|
Clean-up admin ajax JS for Suggest methods. Fixes #2224.
|
[5015]
|
johnjamesjacoby
|
Add user Suggest support for post author overrides for topics and replies. Props alex-ye. Fixes #2224.
|
[5014]
|
johnjamesjacoby
|
Clean-up to Example.php converter. Props netweb. Fixes #2134.
|
[5013]
|
johnjamesjacoby
|
Responsive styling to default templates. Huge props mercime. Fixes #1933.
|
[5012]
|
johnjamesjacoby
|
Allow topic form shortcode to accept a forum_id attribute. Props netweb, GautamGupta. Fixes #1649.
|
[5011]
|
johnjamesjacoby
|
When saving a user's profile, their 'admin_bar_front' setting is accidentally wiped out by edit_user(), because the form field does not exist in bbPress's template parts.
In bbp_edit_user_handler(), check if the user has this setting; if so, add it to the $_POST superglobal to allow edit_user() to function normally.
Fixes #2364. Props imath.
|
[5010]
|
johnjamesjacoby
|
In bbp_get_dropdown(), remove the hard-coded post_status checker, and trust bbp_pre_get_posts_normalize_forum_visibility() to do its job. We still pass 'post_status' as null, so that get_posts() gets passed the results of bbp_parse_args(). Also, remove 'sort_column' array key from when this used get_pages(), and rely on 'orderby' for get_posts() instead.
In bbp_pre_get_posts_normalize_forum_visibility(), remove empties and duplicates from the $post_stati array.
Fixes #2354.
|
[5009]
|
johnjamesjacoby
|
Introduce additional forum/topic ID validation when posting new topics and replies. Prevents empty/negative/non-existent post_parent. Fixes #2363.
|
[5007]
|
johnjamesjacoby
|
Additional CSS resets to improve theme compatibility for search and list items. Props jaredatch. Fixes #2283.
|
[5006]
|
johnjamesjacoby
|
Make sure that topics and replies in private/hidden forums are excluded from the "insert links" dialogue window. Hat tip jaredatch. See #2334.
|
[5005]
|
johnjamesjacoby
|
Use the correct array index string in bbp_get_breadcrumb() ( 'current_text' VS 'pre_current_text' ). Props mrcl. Fixes #2361.
|
[5004]
|
johnjamesjacoby
|
Use the correct filter ID string in bbp_get_forum_pagination_count(). Props mrcl. Fixes #2362.
|
[5002]
|
johnjamesjacoby
|
Constans album spatium. Consistent whitespace handling of foreach usages.
|
[5001]
|
johnjamesjacoby
|
For inline code blocks in topics and replies, ensure they are vertically positioned in the middle of their respective lines of text. Fixes issue where code snippets were top-aligned based on paragraph line-height. See #2350.
|
[5000]
|
johnjamesjacoby
|
Revert part of r4995 that introduced strict comparisons in bbp_get_time_since() against return values of floor(), which returns a float. See #2358.
|
[4999]
|
johnjamesjacoby
|
Since search requests get existing data, and do not post new data, revert part of r4997 and switch request method back to "get".
Add hidden 'action' field to form-search.php template-part, and move 'bbp_search_results_redirect' action from 'bbp_post_request' to 'bbp_get_request'.
Fixes issue with request not redirecting properly, and uses more accurate form method. See #2337.
|
[4998]
|
johnjamesjacoby
|
Introduce bbp_find_mentions_pattern() function to make it easier to change the pattern to match usernames against. Helpful for non-latin characters. Also add additional filter to bbp_find_mentions() to allow for late filtering of results. Props aliso. Fixes #2226.
|
[4997]
|
johnjamesjacoby
|
Make search results page use pretty permalinks if they are enabled:
* Change search form method from "get" to "post"
* Move 'bbp_search_request_redirect' action to 'bbp_post_request' to avoid recursion.
* Tweak bbp_search_request_redirect() to check for pretty permalinks, and remove now superfluous recursion checks.
* See #2337.
|