[3730]
|
johnjamesjacoby
|
Remove accidental whitespace from r3729. Antiprops johnjamesjacoby.
|
[3729]
|
johnjamesjacoby
|
Remove tertiaries in gettexts in revision_log template tags. Fixes #1735. Props jmdodd.
|
[3728]
|
johnjamesjacoby
|
Move is_super_admin() checks to allow return values to be filtered in bbp-user-template.php.
|
[3727]
|
johnjamesjacoby
|
Add error handling to bbp_new_forum_handler() if forum parent is completely missing from POST request.
|
[3726]
|
johnjamesjacoby
|
Rename bbp_reset_post_data() to bbp_theme_compat_reset_post_data() to properly separate it from other functions.
|
[3725]
|
johnjamesjacoby
|
Revert part of r3703 as it was causing comment forms and page edit links to reappear in some themes. Instead, introduce bbp_reset_post_data() and use it when the_content has been replaced and the $post global has been unset.
|
[3724]
|
johnjamesjacoby
|
Fix current_*_id globals so they are used instead of set. Also fix issue with _edit permalinks still using home_url() instead of normal _permalink() functions, and cleanup some whitespace. Fixes #1734.
|
[3723]
|
johnjamesjacoby
|
In BuddyPress group forum extension, use raw forum slug option to avoid including the forum prefix. See #1669.
|
[3722]
|
johnjamesjacoby
|
Remove 'Remove' list-item from loop-topics.php template, as it causes issues with tableless layout.
|
[3721]
|
johnjamesjacoby
|
Filter links to user subscriptions and favorites, and return them to their BuddyPress profile equivalents. See #1669.
|
[3720]
|
johnjamesjacoby
|
Improvements to BuddyPress User Forums styling. See #1669.
|
[3719]
|
johnjamesjacoby
|
Tweak Akismet setting description, as Group forums are now scanned by Akismet also.
|
[3718]
|
johnjamesjacoby
|
Add description to Group Forums Parent setting. Remove check for forums not being active, as this will be handled by migration later. See #1699.
|
[3717]
|
johnjamesjacoby
|
Separate bbp-core-compatibility.php into smaller, less-confusing parts:
* bbp-theme-compatibility.php - the API that makes existing themes compatible
* bbp-template-functions.php - functions used to find and load bbPress templates
* bbp-template-loader.php - similar to the WordPress template loader, it handles the logic of what template to display
* Move commonly used functions into bbp-common-functions.php
* Update bbpress.php to require() new files
|
[3716]
|
johnjamesjacoby
|
Avoid inline variable assignments and cast appropriate retvals as int in bbp-forum-functions.php.
|
[3715]
|
johnjamesjacoby
|
Avoid inline variable assignments in bbp-reply-functions.php.
|
[3714]
|
johnjamesjacoby
|
Global $post usage clean-up:
* Use bbp_get_global_post_field() where appropriate, core WP functions otherwise
* Replace local $post variables with $post to avoid stomping the global
* Audit usage of bbp_get_global_post_field() and make sure we are providing the correct context
* Fixes #1733.
|
[3713]
|
johnjamesjacoby
|
Move return values into variables for easier debugging in bbp-user-template.php.
|
[3712]
|
johnjamesjacoby
|
Fix regression in bbp_is_user_favorite() from r3711.
|
[3711]
|
johnjamesjacoby
|
Do not bail early in bbp_is_user_subscribed() or bbp_is_user_favorite(), thus allowing them to be properly filtered.
|
[3710]
|
johnjamesjacoby
|
Code clean-up in bbp-forum-template.php.
|
[3709]
|
johnjamesjacoby
|
Code clean-up in bbp-reply-template.php.
|
[3708]
|
johnjamesjacoby
|
Code clean-up in bbp-topic-template.php.
|
[3707]
|
johnjamesjacoby
|
Code clean-up to template tags. Add more helpful classes to loop rows. Cast some more retvals. Fixes #1727.
|
[3706]
|
johnjamesjacoby
|
Update phpdoc for bbp_get_view_query_args()
|
[3705]
|
johnjamesjacoby
|
Fix check in bbp_get_view_query_args() and add filter at the end.
|
[3704]
|
johnjamesjacoby
|
Clean-up bbp-common-template.php:
* Remove unused globals
* Use bbp_get_global_post_field()
* Avoid accidental inline assignments
|
[3703]
|
johnjamesjacoby
|
Do not unset $post global in bbp_replace_the_content(). This is no longer needed, and has the potential to cause more harm than good, as many plugins and themes expect the $post global to exist after the loop has completed, even on "fake" paged like bbPress's.
|
[3702]
|
johnjamesjacoby
|
Code clean-up in bbp-common-functions.php:
* Avoid accidental inline assignments
* Add bbp_get_global_post_field() function, for use in forms and editing
|
[3701]
|
johnjamesjacoby
|
Code clean-up in bbp-functions.php:
* Remove unused $bbp globals
* Add defaults to optional bbp_filter_sample_permalink() params
* Avoid accidental inline assignments
|
[3700]
|
johnjamesjacoby
|
Return passed value if not applicable in bbp_admin_custom_menu_order()
|
[3699]
|
johnjamesjacoby
|
Code formatting improvements to bbp-user-template.php.
|
[3698]
|
johnjamesjacoby
|
Add publish_* caps to bbp_map_meta_caps() and remove from associated _user_can functions. Also and add inline doc, and some code clean-up to bbp-core-caps.php.
|
[3697]
|
johnjamesjacoby
|
Fix more accidental inline assignments in bbp-user-functions.php (see r3696). Also use $wbdb in bbp_make_ham_user() and use array_keys() since we do not use any blog details here.
|
[3696]
|
johnjamesjacoby
|
Fix a bunch of possible accidental inline assignments in bbp-user-functions.php.
|
[3695]
|
johnjamesjacoby
|
Add missing globals to bbp_edit_user_handler()
|
[3694]
|
johnjamesjacoby
|
Use bbp_get_forum_visibility() instead of bbp_get_forum_status() in bbp_template_include_theme_compat(). Fixes #1731.
|
[3693]
|
johnjamesjacoby
|
Add missing .bbp-topic-author and .bbp-topic-content CSS for when bbp_show_lead_topic is true. Fixes #1728.
|
[3692]
|
johnjamesjacoby
|
Add 'bbp_after_setup_actions' action to bbPress::setup_actions() to allow class actions to be manipulated. Fixes #1730.
|
[3691]
|
johnjamesjacoby
|
Remove Genesis compatability. Fixes #1729.
|
[3690]
|
johnjamesjacoby
|
Tweak new template action names in content-single-topic-lead.php. Fixes #1724.
|
[3689]
|
johnjamesjacoby
|
Move 'bbp_setup_current_user' action off of 'bbp_init' and onto 'set_current_user.' See #1722.
|
[3688]
|
johnjamesjacoby
|
Add attributes to forum/topic/reply contextual help. Props Mamaduka. Fixes #1699.
|
[3687]
|
johnjamesjacoby
|
Hook missing forum contextual help in. See #1699.
|
[3686]
|
johnjamesjacoby
|
Refactor forum/topic/reply contextual help, shamelessly sampled from the !WordPress 'post' content type. See #1699.
|
[3685]
|
johnjamesjacoby
|
Refactor bbp_admin_settings_help() to use add_help_tab() and set_help_sidebar(). See #1699.
|
[3684]
|
johnjamesjacoby
|
Add 'bbp_save_forum_extras' action to 'bbp_forum_attributes_metabox_save' action. See r3683.
|
[3683]
|
johnjamesjacoby
|
Use bbp_save_forum_extras() in forum metabox and cast 'parent_id' POST value as int. Also fix possible accidental assignments in bbp-forum.php.
|
[3682]
|
johnjamesjacoby
|
Tweak empty forum-description feedback. See #1669.
|
[3681]
|
johnjamesjacoby
|
Add 'bbp_save_forum_extras' action to new/edit forum extras. See #1669.
|
[3680]
|
johnjamesjacoby
|
Add missing '_post_extras' actions to new topic/reply handlers. See #1669.
|
[3679]
|
johnjamesjacoby
|
Introduce functions and code to help create new forums from within the theme:
* Turn on forum-form shortcode
* Add supplemental actions for saving forum extras on new/edit
* bbp_save_forum_extras() function to handle forum metadata saving
* See #1669
|
[3678]
|
johnjamesjacoby
|
Add forum author functions, and rename bbp_get_forum_parent() to bbp_get_forum_parent_id(). See #1669.
|
[3677]
|
johnjamesjacoby
|
Tweaks to form-forum.php HTML to better match existing form templates.
|
[3676]
|
johnjamesjacoby
|
Use get_the_author_meta() rather than the $post global in topic and reply forms.
|
[3675]
|
johnjamesjacoby
|
Remove $terms copy-pasta from bbp_edit_forum_handler()
|
[3674]
|
johnjamesjacoby
|
Allow additional anonymous data to be automatically saved on reply and topic update any prevent any possible debug notices with missing core values in the process.
|
[3673]
|
johnjamesjacoby
|
Add more verbose note about sanitization in bbp_filter_anonymous_post_data().
|
[3672]
|
johnjamesjacoby
|
More verbose descriptions and whitespace clean-up in bbp-core-hooks.php.
|
[3671]
|
johnjamesjacoby
|
Consolidate 'template_redirect' actions onto 'bbp_template_redirect' and add a more detailed note about them. Also rename tag 'manage' function to 'edit' to match other components.
|
[3670]
|
johnjamesjacoby
|
Add checks to bbp_pre_get_posts_exclude_forums() to prevent accidental override of wp-admin post_rows. Fixes #1719.
|
[3669]
|
johnjamesjacoby
|
First pass at forum trash/untrash/delete actions and functions for BuddyPress group forums. See #1669.
|
[3668]
|
johnjamesjacoby
|
When fully deleting a topic, all replies should be deleted also. Fixes #1718.
|
[3667]
|
johnjamesjacoby
|
Remove BuddyPress group forum styling from bbp-twentyten theme. We'll be relying on default styling for 2.1. See #1669.
|
[3666]
|
johnjamesjacoby
|
Go live with bbp_query_post_parent__in() filter.
|
[3665]
|
johnjamesjacoby
|
Prevent shortcodes from stomping globals too early. Fixes #1717.
|
[3664]
|
johnjamesjacoby
|
Unused global clean-up in bbp-topic-template.php.
|
[3663]
|
johnjamesjacoby
|
Assorted topic template tag code improvements.
* Pass $topic_id in filters where possible
* Make sure echo functions pass all param's to return functions
* Pretty code tweaks
|
[3662]
|
johnjamesjacoby
|
Assorted forum template tag code improvements.
* Pass $forum_id in filters where possible
* Make sure echo functions pass all param's to return functions
* Pretty code tweaks
|
[3661]
|
johnjamesjacoby
|
Add param phpdoc to bbp_get_topic_tag_description(). Props tmoorewp.
|
[3660]
|
johnjamesjacoby
|
Avoid possible inline variable assignment in topics_column_data() method.
|
[3659]
|
johnjamesjacoby
|
Implement topic view feeds. Fixes #1716.
|
[3658]
|
johnjamesjacoby
|
Fix 'deactivate' copy-pasta from r3657. See #1660.
|
[3657]
|
johnjamesjacoby
|
Improve bbp_is_activation() and bbp_is_deactivation() to include bulk actions. Props duck_. Fixes #1660.
|
[3656]
|
johnjamesjacoby
|
Do not stomp the $redirect_to variable in bbp_redirect_to_field(). Props mesayre. Fixes #1709.
|
[3655]
|
johnjamesjacoby
|
Tweak user profile header CSS to work better in IE and twentyeleven. Props mercime. Fixes #1713.
|
[3654]
|
johnjamesjacoby
|
BuddyPress Group Forum Integration:
* BuddyPress group/forum sync functions
* Add forum/topic row actions
* Group create/edit helper methods
* Forum create/edit handlers
* See #1669
|
[3653]
|
johnjamesjacoby
|
Move trash status background color to wrapper div.
|
[3652]
|
johnjamesjacoby
|
Hook topic and reply trash actions onto new wp_trash_post hook introduced in WordPress 3.3. Fix #1707.
|
[3651]
|
johnjamesjacoby
|
Audit the bbp-twentyten theme's actions, HTML, and CSS. See #1702.
|
[3650]
|
johnjamesjacoby
|
Change the default class in bbp_list_forums() so it does not conflict with non-list forums.
|
[3649]
|
johnjamesjacoby
|
Slight performance improvements to author display_name. See #1704.
|
[3648]
|
johnjamesjacoby
|
Fall back on user_login, and lastly "Anonymous" if no name is found anywhere. Fixes #1704.
|
[3647]
|
johnjamesjacoby
|
Add RTL styling to bbp-twentyten tableless layout. Fixes #1703.
|
[3646]
|
johnjamesjacoby
|
'suppress_filters' audit:
* Revert part of r3645
* Rename bbp_pre_get_posts() to bbp_parse_query() and hook to 'parse_query'
* Move forum post_type check out of bbp_pre_get_posts() and into bbp_pre_get_posts_exclude_forums() where it makes more sense
* Update documentation for above changes
* See #1698
|
[3645]
|
johnjamesjacoby
|
Remove suppress_filters check and update inline doc in bbp_pre_get_posts()
|
[3644]
|
johnjamesjacoby
|
Use is_main_query() in bbp_pre_get_posts() (for 2.1 which will be for WordPress 3.3 and higher)
|
[3643]
|
johnjamesjacoby
|
Add topic-tag checks to bbp_body_class(). Fixes #1696. Props sorich87.
|
[3642]
|
johnjamesjacoby
|
Tag 2.0.2
|
[3641]
|
johnjamesjacoby
|
Bump branch to 2.0.2.
|
[3640]
|
johnjamesjacoby
|
Delete '_bbp_last_active_time' key from postmeta when doing freshness recalculation. Props lillelykke. (2.0 branch)
|
[3639]
|
johnjamesjacoby
|
Delete '_bbp_last_active_time' key from postmeta when doing freshness recalculation. (2.1)
|
[3638]
|
johnjamesjacoby
|
Remove query restriction from content-single-topic.php.
|
[3637]
|
johnjamesjacoby
|
Use pre-query-filters in shortcodes, and fix topic-tag query. Fixes #1687, props ptahdunbar for original patch.
|
[3636]
|
johnjamesjacoby
|
Add filters to default query loop arguments to allow them to be manipulated before being parsed.
|
[3635]
|
johnjamesjacoby
|
CSS tweaks after moving to tableless layout.
|
[3634]
|
johnjamesjacoby
|
Theme Compatibility Updates:
* Tableless layout, fixes #1586, props mercime
* Introduce content-single-reply and content-topic-tag-edit templates
* Update shortcodes to use content templates
* Update theme compatibility to include single reply shortcode
* @todo CSS audit, RTL audit, shortcode audit
|
[3633]
|
johnjamesjacoby
|
Introduce raw functions for getting user topic and reply post counts directly from the posts table. See #1694.
|
[3632]
|
johnjamesjacoby
|
Introduce template tags for getting user topic, reply, and total post counts. See #1694.
|
[3631]
|
johnjamesjacoby
|
Bail out of bbp_template_include_theme_supports() early if theme does not support bbPress.
|