| [5019]
|
johnjamesjacoby
|
In bbp_new_topic_handler() and bbp_edit_topic_handler(), restrict sticky topic actions to users with 'moderate' capability. Fixes #2366.
|
| [4816]
|
johnjamesjacoby
|
In bbp_move_topic_handler(), when moving a topic from one forum to another, recalculate sticky topics for each forum, and update them accordingly. Also modify the logic used to update ancestor forums, to avoid running update routine multiple times on the same forum. Props alex-ye. Fixes #2259.
|
| [4597]
|
johnjamesjacoby
|
In bbp_list_forums(), remove check for subforums meta, and trust the subforums query to do the work.
In the subforums query, avoid using get_posts() and use a new WP_Query object instead. Also fix some return value type-casting.
Fixes #2085.
|
| [4920]
|
johnjamesjacoby
|
In bbp_is_search_results(), use $wp_query->bbp_search_terms instead of new bbp_is_search_results query-var. See #2337.
|
| [4677]
|
johnjamesjacoby
|
In bbp_get_user_replies_created(), only query for the reply post type. Fixes issue with topics appearing commingled in the replies created profile page.
|
| [4831]
|
johnjamesjacoby
|
In bbp_get_user_id(), do not fallback to 'bbp_user_id' query variable, to prevent accidentally confusing a Guest (anonymous) user with the displayed user, in situations where empty bbp_get_user_id() checks are made. Fixes #2284.
|
| [4754]
|
johnjamesjacoby
|
In bbp_get_user_blog_role(), use bbp_add_forums_roles() instead of accessing WP_Roles directly. Fixes issue where WP_Roles could be loaded without bbPress's roles correctly added in time, causing default role to be added without correct allcaps for user.
|
| [4688]
|
jmdodd
|
In bbp_get_dropdown(), set default post_parent to null, not 0.
* Fixes #2153.
|
| [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.
|
| [4847]
|
johnjamesjacoby
|
In bbp_check_for_duplicate(), run wp_unslash() or stripslashes_deep() on the entire $r array. Remove unslashing on results of get_meta_sql() to allow any previously slashed values to remain slashed. See #2185.
|
| [4595]
|
johnjamesjacoby
|
In bbp_admin_reset_handler(), use correct bbp_remove_caps() function. Props netweb. Fixes #2097.
|
| [4601]
|
johnjamesjacoby
|
In bbp_add_forums_roles(), use $role_id instead of literal translated role name. Fixes #2105.
|
| [3780]
|
johnjamesjacoby
|
In bbp-twentyten:
* Rename functions.php to bbpress-functions.php to avoid overloading
* Load JS in footer
* Smarter default global vars
* Do not create a global variable
* See #1766
|
| [3853]
|
nacin
|
In bb_create_tag(), avoid calling list() on the insert_term() method of the taxonomy object, as this method may return WP_Error.
Calling list() on a WP_Error object would result in a fatal error. Instead, check for WP_Error before breaking up the return value.
props otto42. for bbPress standalone trunk.
|
| [3854]
|
nacin
|
In bb_create_tag(), avoid calling list() on the insert_term() method of the taxonomy object, as this method may return WP_Error.
Calling list() on a WP_Error object would result in a fatal error. Instead, check for WP_Error before breaking up the return value.
props otto42. for bbPress 1.1.
|
| [4625]
|
johnjamesjacoby
|
In bbPress 1.x converter, use topic_open to make sure topics stay closed after conversion. Props netweb. Fixed #2125.
|
| [5517]
|
netweb
|
In bbPress 1.x converter add support for closed topics via improved method in r5425.
Props netweb. Fixes #2125.
|
| [4950]
|
johnjamesjacoby
|
In admin, escape output of translated text where appropriate. Also review and refresh existing escaping approaches. See #1999.
|
| [5524]
|
netweb
|
In `phpBB.php` importer use the correct `callback_forumid` callback for reply forum ID's.
|
| [5607]
|
johnjamesjacoby
|
In `bbp_version_updater()` only run update routines if a previous installation exists to update. Fixes #2748.
|
| [5188]
|
johnjamesjacoby
|
In `bbp_user_can_view_forum()` check the `$user_id` before passing it into `bbp_is_user_keymaster()`. Prevents accidental role escalation if `$user_id` is empty. See #2393.
|
| [5223]
|
johnjamesjacoby
|
In `bbp_update_topic_walker()` pass `$last_active_time` into `bbp_update_forum()` to avoid expensive recalculation of the forum's last active time. Props netweb. See #1925.
|
| [5222]
|
johnjamesjacoby
|
In `bbp_update_topic()`, send the topic `post_date` - rather than `current_time()` - into the update walker. Fixes possibility of inconsistent times between topic `post_date` and forum last active times. Props netweb. See #1925.
|
| [5221]
|
johnjamesjacoby
|
In `bbp_update_reply()`, send the reply `post_date` - rather than `current_time()` - into the update walker. Fixes possibility of inconsistent times between reply `post_date` and forum/topic last active times. Props netweb. See #1925.
|
| [5246]
|
johnjamesjacoby
|
In `bbp_title()`, improve user profile logic to avoid "Your's" title text. Fixes #2503. (trunk)
|
| [5247]
|
johnjamesjacoby
|
In `bbp_title()`, improve user profile logic to avoid "Your's" title text. Fixes #2503. (2.5 branch)
|
| [5470]
|
johnjamesjacoby
|
In `bbp_theme_compat_reset_post()` also set `is_singular` to value of `is_single`. Improves query compatibility with themes and other plugins. Props Mat Lipe. Fixes #2545.
|
| [5491]
|
johnjamesjacoby
|
In `bbp_split_topic_handler()` remove `$reply_position` cheater code, and rely on `bbp_update_reply_position()` to recalculate the correct position in the hierarchy after `wp_update_post()` has finished. Props netweb. Fixes #2624.
|
| [5613]
|
johnjamesjacoby
|
In `bbp_notify_forum_subscribers()` remove incorrect array assignment. Fixes bug where `$headers` would be a multidimensional array, causing `wp_mail()` to complain.
|
| [5489]
|
johnjamesjacoby
|
In `bbp_merge_topic_handler()` delete last and count metas, and update the reply position after call to `wp_update_post()`. Fixes bug where merging two topics with odd timestamps could result in orphaned or incorrect meta data and hierarchy positioning. Props netweb. Fixes #2528.
|
| [5283]
|
johnjamesjacoby
|
In `bbp_locate_template()` check for `WP_USE_THEMES` before calling `load_template()` to avoid warnings when running phpunit tests. See #2542.
|
| [5220]
|
johnjamesjacoby
|
In `bbp_kses_allowed_tags()` use `true` instead of empty `array()` for individual tag attributes. Props netweb. See #2483.
|
| [5477]
|
johnjamesjacoby
|
In `bbp_has_topics()` bring back `$default_topic_search` variable to prevent debug notices.
|
| [5212]
|
johnjamesjacoby
|
In `bbp_has_forums()` do some `post_parent` routing to make sure all forums are available on subscription pages. Fixes #2480. (trunk)
|
| [5211]
|
johnjamesjacoby
|
In `bbp_has_forums()` do some `post_parent` routing to make sure all forums are available on subscription pages. Fixes #2480. (2.5 branch)
|
| [5164]
|
johnjamesjacoby
|
In `bbp_get_forum_subscription_link()` do not return a link if viewing a forum category. This is a temporary stop-gap until forums can be subscribed to in a hierarchical manner. Fixes #2475, hat-tip netweb.
|
| [5465]
|
johnjamesjacoby
|
In `bbp_do_ajax()` use `get_option( 'html_type' )`.
|
| [5609]
|
johnjamesjacoby
|
In `bbp_current_author_ip()` check `$_SERVER['REMOTE_ADDR']` before attempting to parse it.
If it is empty (more likely for unit tests, but could be other oddities) we set it to '0.0.0.0' to do two things:
* Indicate to keymasters that something is amiss
* Allow `bbp_current_author_ip()` to proceed normally for the end-user
Fixes #2750.
|
| [5473]
|
johnjamesjacoby
|
In `bbp_admin_repair_forum_topic_count()` include hidden topics in repair tool. Props thebrandonallen. Fixes #2680.
|
| [5476]
|
johnjamesjacoby
|
In `_bbp_has_replies_where()` remove the `post__not_in` check and add extra search/replace arguments for more complex queries. Improves support for popular privacy plugins that frequently use `post__not_in`. Props mikelopez. Fixes #2609.
|
| [5522]
|
netweb
|
In `Phorum.php` importer use the correct `callback_forumid` callback for reply forum ID's.
|
| [5520]
|
netweb
|
In `Example.php` importer use the correct `callback_forumid` callback for reply forum ID's.
|
| [5840]
|
johnjamesjacoby
|
In `BBP_Akismet::filter_post_terms()` use `bbp_get_topic_tag_names()` to use cached function instead of querying for object terms.
|
| [5336]
|
netweb
|
In `.jshintrc` ignore undefined variables so `grunt jshint` task completes without error.
(reference variables created by WordPress dependencies or API's)
* Props netweb. Fixes #2578
|
| [4720]
|
johnjamesjacoby
|
In BuddyPress's loader, setup components in priority 7, to get them in before activity actions are registered. Props r-a-y. Fixes #2176.
|
| [3723]
|
johnjamesjacoby
|
In BuddyPress group forum extension, use raw forum slug option to avoid including the forum prefix. See #1669.
|
| [3413]
|
johnjamesjacoby
|
Improves multisite user role and capability masking for global forums.
|
| [4730]
|
johnjamesjacoby
|
Improvements to vBulletin importer. Props netweb. Fixes #1991.
|
| [2591]
|
johnjamesjacoby
|
Improvements to twentyten child theme. Abstract out some topic_author functions.
|
| [4726]
|
johnjamesjacoby
|
Improvements to the phpBB converter. Props netweb. Fixes #2182.
|
| [4728]
|
johnjamesjacoby
|
Improvements to the SimplePress5 converter. Props netweb. See #2182.
|
| [4727]
|
johnjamesjacoby
|
Improvements to the Mingle converter. Props netweb. See #2182.
|
| [2583]
|
johnjamesjacoby
|
Improvements to post form handling and bbp-twentyten theme.
|
| [3008]
|
johnjamesjacoby
|
Improvements to forum visibility checking, template tags, and ensuring that template tag filters also pass the $forum_id for proper enhancement.
|
| [5105]
|
johnjamesjacoby
|
Improvements to bbp_title() to include user topics/replies/favorites/subscriptions. Fixes #2340.
|
| [4743]
|
johnjamesjacoby
|
Improvements to bbPress 1.x converter inline documentation. Props netweb. fixes #2189.
|
| [4693]
|
johnjamesjacoby
|
Improvements to SimplePress5 importer. Props netweb. Fixes #2164.
|
| [3720]
|
johnjamesjacoby
|
Improvements to BuddyPress User Forums styling. See #1669.
|
| [5454]
|
netweb
|
Improved verbiage when importer has no topic tags to import.
|
| [3240]
|
johnjamesjacoby
|
Improved trash support for new topics/replies.
If the parent of a new topic/reply is in the trash, automatically trash the new topic/reply. In the case of new trash replies, add that reply to the _bbp_pre_trashed_replies array, so that it is restored when the topic is restored. This bug comes about because capable users can reply to trashed topics.
Also handle view=all redirect when posting new topics/replies.
|
| [5482]
|
netweb
|
Improved topic merge verbiage in form-topic-merge.php template.
Props johnjamesjacoby. Fixes #2539
|
| [5354]
|
netweb
|
Improved topic merge verbiage in `form-topic-merge.php` template.
Props gautamgupta. Fixes #2539
|
| [3224]
|
johnjamesjacoby
|
Improved support for forum archive template. Fix issue in forum archive where post loop was processed rather than the actual bbPress forum loop.
|
| [2708]
|
johnjamesjacoby
|
Improved sub-forum lists inside bbp_forums loop.
|
| [4598]
|
johnjamesjacoby
|
Improved styling for inner topic and reply content elements, merged with recent changes and includes RTL. Props jaredatch. Fixes #2054.
|
| [4660]
|
johnjamesjacoby
|
Improved margins for author and content of single topic views. Also fixes single topic RTL margins.
|
| [5483]
|
netweb
|
Improved inline docs readability for Grunt task `jshint`.
|
| [2623]
|
johnjamesjacoby
|
Improved error messages for users that are not logged in.
|
| [5519]
|
netweb
|
Improved `Drupal7.php` importer performance by leaning on our helper functions.
* Use `callback_topicid_to_forumid()` to convert the topic ID to forum ID eliminating an extra MySQL join.
|
| [5160]
|
netweb
|
Improved SQL join expression for topics 'post_content' in Mingle.php importer. Props netweb. Fixes #2472
|
| [2750]
|
johnjamesjacoby
|
Improve widgets. Props !GautamGupta via Google Code-in
|
| [2736]
|
johnjamesjacoby
|
Improve widget code. Add topic/reply ordering. Props !GautamGupta
|
| [3059]
|
johnjamesjacoby
|
Improve user/forum visibility check and add some inline php documentation.
|
| [4931]
|
johnjamesjacoby
|
Improve user logic in bbp_parse_query(), so that numeric user slugs display correctly even when pretty permalinks are enabled. Also eliminates duplicate get_userdata() call, and renames some variables to prevent accidental stomping.
|
| [4714]
|
johnjamesjacoby
|
Improve usage of make_clickable filter on topic and reply content. Fixes #2149.
|
| [2698]
|
johnjamesjacoby
|
Improve topic and reply pagination verbiage
|
| [3034]
|
johnjamesjacoby
|
Improve theme compatability by using the active themes page.php template file to display the contents of a forum, topic, or reply.
|
| [3086]
|
johnjamesjacoby
|
Improve theme compat CSS for topic/reply fieldsets
|
| [4640]
|
johnjamesjacoby
|
Improve the output of code between pre and code HTML tags. Fixes #1967.
|
| [3495]
|
johnjamesjacoby
|
Improve the forum prefix settings description.
|
| [5018]
|
johnjamesjacoby
|
Improve the flexibility of bbp_title() by allowing all data to be filtered. Props alex-ye. Fixes #1764.
|
| [3265]
|
johnjamesjacoby
|
Improve the current title area of breadcrumbs.
Improve behavior of redirect field.
Allow single topic shortcodes to use pagination, and properly redirect on new replies.
Use wp_safe_redirect() in places where redirect_to fields are used.
Move theme compatibility setup function out of main bbPress class and into bbp-core-compatibility.php.
Move bbp_setup_theme_compat action off of after_setup_theme and into bbp_init.
Add supplemental functions to get and set if theme compatibility is currently helping load pieces of the current page.
|
| [3162]
|
johnjamesjacoby
|
Improve support of suppressing private forum meta data. Fixes #1522. Props !GautamGupta.
|
| [3260]
|
johnjamesjacoby
|
Improve support for orphaned topics and replies in admin post rows by displaying "No Forum" and "No Topic" if parents have been deleted.
|
| [3186]
|
johnjamesjacoby
|
Improve support for forum and topic archives pages, and improve explanations on forums settings slugs section. Remove archive-reply.php from bbp-twentyten.
|
| [2696]
|
johnjamesjacoby
|
Improve query count in bbp_get_reply_url
|
| [2587]
|
johnjamesjacoby
|
Improve page-bbp_front.php
|
| [5334]
|
johnjamesjacoby
|
Improve output of `grunt jshint` task. See #2578.
|
| [5269]
|
johnjamesjacoby
|
Improve naming of new "At a Glance" metabox filter, and lower priority to increase odds of hugging more closely to WordPress core items. See #2544.
|
| [4900]
|
johnjamesjacoby
|
Improve micro-performance of favorites and subscriptions by moving function calls after sanity checks. Also typecast the return value of respective get_topic_ids functions. See #2331.
|
| [4666]
|
johnjamesjacoby
|
Improve margins on TinyMCE quicktags. Includes RTL.
|
| [4818]
|
johnjamesjacoby
|
Improve logic in topics loop, so that super-stickies are always above forum-stickies. Props alex-ye. Fixes #2260.
|
| [2972]
|
johnjamesjacoby
|
Improve logic behind setting the current_forum/topic/reply_id global variables
|
| [2992]
|
johnjamesjacoby
|
Improve inline documentation in bbp_update_forum_last_reply_id() and remove unneeded empty variable check. Also cast some variables as integers when comparing their values to be safe.
|
| [5121]
|
johnjamesjacoby
|
Improve function locations introduced in r5120. Ensures template and helper functions are in template.php. See #2426.
|
| [3855]
|
johnjamesjacoby
|
Improve forum and topic description texts to include empty cases.
|
| [5558]
|
johnjamesjacoby
|
Improve form field output sanitization when posting theme-side forum/topic/reply content. Thanks planetzuda. See #2719.
|
| [2735]
|
johnjamesjacoby
|
Improve fieldset reply notice when topic is closed but user can still reply.
|
| [4623]
|
johnjamesjacoby
|
Improve default pagination styling (includes RTL). Hat-tip corsonr. Fixes #2124.
|
| [2703]
|
johnjamesjacoby
|
Improve current_user_id and displayed_user_id functions. Also remove Page Template ability from User templates.
|