| [3803]
|
johnjamesjacoby
|
Filter forum/topic/reply URLs and canonicalize to group forum URL if applicable:
* Fixes #1781
* Props boonebgorges
|
| [3802]
|
johnjamesjacoby
|
Make sure to only return a single value in bbp_get_forum_group_ids()
* Fixes #1780
* Props boonebgorges
|
| [3801]
|
johnjamesjacoby
|
Make sure that group ID and forum ID are cross-saved when creating the base group forum.
* Fixes #1779
* Props boonebgorges for initial patch
|
| [3800]
|
johnjamesjacoby
|
Pinking shears on bbp-extend-buddypress.php. See #1669.
|
| [3799]
|
johnjamesjacoby
|
BuddyPress group forums:
* Fix new reply and topic redirects
* Remove first group forum topic and reply in lieu of more customization
* See #1669
* Fixes #1776
* Fixes #1778
* Fixes #1777
* Props boonebgorges
|
| [3798]
|
johnjamesjacoby
|
Allow bbp_create_initial_content() to be filtered or provided an array of defaults.
|
| [3797]
|
johnjamesjacoby
|
Decode $post_content for wp_editor in bbp_get_the_content(). Fixes #1770. Props alexvorn2, props jaredatch.
|
| [3796]
|
johnjamesjacoby
|
Fix issue with author of post_id 1 appearing as topic last poster when first post is created by a bozo'ed user. (trunk/1.1)
|
| [3795]
|
johnjamesjacoby
|
Fix issue with 'Anonymous' appearing as username when first post is created by a bozo'ed user. (trunk/1.1)
|
| [3794]
|
johnjamesjacoby
|
Fix issue with voices showing "Array" when user that posted topic is spammed or bozo'ed. (trunk/1.1)
|
| [3793]
|
johnjamesjacoby
|
Use correct bbp_is_group_forums_active() function for BuddyPress Group Forum check.
|
| [3792]
|
johnjamesjacoby
|
Remove duplicate wp_editor code from bbp_get_default_options()
* Props dimadin
* See r3753
* Fixes #1771
|
| [3791]
|
johnjamesjacoby
|
Introduce bbp_get_config_location() function to look for previous BuddyPress integration. See #1669.
|
| [3790]
|
johnjamesjacoby
|
Sort forum ID's based on last active time when querying subforum ID's.
* Prevents last active meta data from becoming poisoned when recounting
* See #1534
* Props GargajCNS for initial patch
|
| [3789]
|
johnjamesjacoby
|
BuddyPress Group Forum create page and handler. See #1669
|
| [3788]
|
johnjamesjacoby
|
Tweak phpdoc for bbp_delete_forum_topics()
|
| [3787]
|
johnjamesjacoby
|
Whitespace fixes in bbp_create_initial_content()
|
| [3786]
|
johnjamesjacoby
|
Make sure _is_*_edit_ template tags work in wp-admin
* Fixes issue with saving topic sticky value from wp-admin
* Fixes issue saving forum and reply metabox values on some installs
|
| [3785]
|
johnjamesjacoby
|
CSS class changes
* Add user-id and topic-author to reply class
* Add user-id to topic class
* Run reply classes through array_filter()
* Fixes #1763
* Props jaredatch
|
| [3784]
|
johnjamesjacoby
|
Rearrange sub-actions for improved readability in bbp-core-actions.php.
|
| [3783]
|
johnjamesjacoby
|
Remove theme setup action from bbp-core-actions.php, as it's now in the bbPress class.
* Tweak inline doc for bbp_load_theme_functions action
* Trust bbp_setup_theme_compat() to set the theme compat regardless of what's there
* See #1766
|
| [3782]
|
johnjamesjacoby
|
Turn BBP_Default class into smarter default for theme compat
* Additional comments to help theme developers move files around
* Check theme support, and tweak the defaults as needed
* Use the pinking shears
* Use local variables for script locations
* See #1766
|
| [3781]
|
johnjamesjacoby
|
Pass param to bbp_get_template_locations() to allow locations to be filtered based on templates being queried. See #1766.
|
| [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
|
| [3779]
|
johnjamesjacoby
|
Setup default theme compatibility in bbPress::setup_theme()
* Sets early on bbp_setup_theme so functions and files can be included
* Still allows plugins to override earlier
* See #1766
|
| [3778]
|
johnjamesjacoby
|
Try to load the theme's bbpress-functions.php file first, before invoking the default theme-compat. Also add root folder to array of paths to look for templates in.
|
| [3777]
|
johnjamesjacoby
|
Add some extra logic to the default bbpress-functions.php to make copying into a new theme easier.
|
| [3776]
|
johnjamesjacoby
|
Tidy up the auto-embed options, and fix issue with setting not saving. Fixes #1752.
|
| [3775]
|
johnjamesjacoby
|
Use bbpress() function and avoid creating a one-time variable in bbp_parse_request()
|
| [3774]
|
johnjamesjacoby
|
Bump version number to current revision.
|
| [3773]
|
johnjamesjacoby
|
trailingslashit() pretty permalinks when getting the edit URL for a topic or reply.
* Fixes issues specifically with numeric permalinks setting
* Also fixes custom permalinks without trailing slash
* Fixes #1762
|
| [3772]
|
johnjamesjacoby
|
Remove copy-pasta phpdoc in bbPress class.
|
| [3771]
|
johnjamesjacoby
|
Remove empty lines in phpdoc in bbPress class
|
| [3770]
|
johnjamesjacoby
|
Clean up bbpress.php phpdoc
|
| [3769]
|
johnjamesjacoby
|
Remove filters and tags from subscription emails.
* Remove all filters and strip tags
* Move needless processing from within the foreach loop
* Prevents HTML entities from being added
* Fixes #1700
|
| [3768]
|
johnjamesjacoby
|
First pass at creating forum content on first installation.
* Move bbp_activation and bbp_deactivation action hooks into admin actions so they are not run by site visitors
* Introduce bbp_create_initial_content() function to handle insertion of initial forum, topic, and reply
* Fixes #1701
|
| [3767]
|
johnjamesjacoby
|
Tweak _insert_ functions to use current user ID as default post_author.
|
| [3766]
|
johnjamesjacoby
|
Add bbp-actions.php to admin files to handle admin actions not in the BBP_Admin class.
* Move admin actions out of bbp-core-actions.php
* Include in bbPress class when needed
* Add admin sub-actions for dependent plugins
* Move Recount specific functions into bbp-tools.php
|
| [3765]
|
johnjamesjacoby
|
Add bbp_is_install() function which checks if raw DB version exists. Update bbp_is_install() logic to not create variables.
|
| [3764]
|
johnjamesjacoby
|
Bump default db_version and add functions to get DB version raw from the database.
|
| [3763]
|
johnjamesjacoby
|
Add body.rtl styling to bbp-admin.php inline CSS instead of brearking in and out of PHP to use is_rtl().
|
| [3762]
|
johnjamesjacoby
|
Introduce functions for getting the unique rewrite ID's for user/view/edit.
* Use new functions where needed
* Clean up variable usages in bbPress class
* See #1760
|
| [3761]
|
johnjamesjacoby
|
Use bbp_get_view_slug() in bbp_get_view_url(). See #1760.
|
| [3760]
|
johnjamesjacoby
|
Remove slug variables from bbPress class and rely on options and object cache going forward.
* Net performance and memory usage win
* Removes class variables that are already in object cache
* Reduces code duplication
* Fixes #1760
|
| [3759]
|
johnjamesjacoby
|
Add 'bbp_request' piggy-back filter to WordPress's 'request' filter.
* Maybe exclude private and hidden forums from forum post feed
* Fixes #1758
* Props scribu
|
| [3758]
|
johnjamesjacoby
|
Turn bbPress into a singleton.
* Introduce bbpress() function to get the bbPress instance
* Replace all $bbp global references with calls to bbpress()
* Update bbPress class with matching singleton private static $instance variable and public static method
* Fixes #1759.
|
| [3757]
|
johnjamesjacoby
|
Remove single-site 'Update Forum' menu, as single sites are updated automatically.
* @todo - Automate multisite installs per site if needed
|
| [3756]
|
johnjamesjacoby
|
Addend '-update' to admin menu ID's
* Prevents "Dashboard" from being open when viewing bbPress settings
* Avoids namespace collisions elsewhere in UI
|
| [3755]
|
johnjamesjacoby
|
Split bbp-core-hooks.php into two files:
* bbp-core-actions.php
* bbp-core-filters.php
* Update bbpress.php to load new files
* Update phpdoc
|
| [3754]
|
johnjamesjacoby
|
Add 'bbp_setup_theme' piggy-back action to !WordPress's 'setup_theme' action.
|
| [3753]
|
johnjamesjacoby
|
Add autoembed to topics and replies.
* Includes admin setting to toggle on/off (default on)
* Introduce option function to get the setting globally
* Hooked into bbp_init so can be overridden as needed
* Fixes #1752
* Props jaredatch for original patch
|
| [3752]
|
johnjamesjacoby
|
Rearrange filtering of $forum_parent_id in bbp_new_forum_handler(). See #1669.
|
| [3751]
|
johnjamesjacoby
|
Use proper function in bbp_get_the_content(). Fixes #1731.
|
| [3750]
|
johnjamesjacoby
|
When setting a forum as public, always check private and hidden forum options and remove forum_id if needed. Fixes #1757.
|
| [3749]
|
johnjamesjacoby
|
Remove topic_ prefix from topics admin methods.
|
| [3748]
|
johnjamesjacoby
|
Use bbp_redirect_to_field() in form_fields() functions. See #1669.
|
| [3747]
|
johnjamesjacoby
|
Use correct parent field attributes in bbp_forum_form_fields()
|
| [3746]
|
johnjamesjacoby
|
Next pass at BuddyPress Group Fourms integration:
* Filter forms to prevent fields from appearing
* Output new field data where needed on above forms
* Better integration with group create and edit screens
* Tweak forum/group ID functions to return arrays when needed
* Flesh out display_forums() method
* See #1669
|
| [3745]
|
johnjamesjacoby
|
Remove hard coded template part directories from shortcodes and theme compatibility. See r3739.
|
| [3744]
|
johnjamesjacoby
|
Add bbp_add_template_locations() filter to bbp_get_template_part() to allow parts to filtered too, and update bbp-theme-compat theme to use this. See r3739.
|
| [3743]
|
johnjamesjacoby
|
Clean up whitespace and formatting in template loader functions. See r3739.
|
| [3742]
|
johnjamesjacoby
|
Remove slashes from bbp_get_template_locations(), update doc for bbp_add_template_locations(). See r3739.
|
| [3741]
|
johnjamesjacoby
|
Tweak template location filter names to match filters constructed in bbp_get_query_template(). See r3739.
|
| [3740]
|
johnjamesjacoby
|
Clean up whitespace and remove some cruft from r3739.
|
| [3739]
|
johnjamesjacoby
|
Introduce helper functions to allow the root directory for bbPress templates to be filtered. Props !MrMaz for idea.
|
| [3738]
|
johnjamesjacoby
|
Update phpdoc for bbp_get_reply_topic_id()
|
| [3737]
|
johnjamesjacoby
|
Fix possible recursion issue in bbp_get_forum_ancestors() by casting post_parent as int.
|
| [3736]
|
johnjamesjacoby
|
Fix possible accidental assignments in bbp-theme-compat/bbpress-functions.php
|
| [3735]
|
johnjamesjacoby
|
Tweak theme compat styling
|
| [3734]
|
johnjamesjacoby
|
Move theme compat template files out of bbp-themes and into bbp-theme-compat folder. This avoids confusion with complete bundled theme also acting as the fallback.
|
| [3733]
|
johnjamesjacoby
|
Add 'bbp_after_setup_theme' piggy back hook to bbp-core-hooks.php.
|
| [3732]
|
johnjamesjacoby
|
Use _n() for plural topic and reply counts. Fixes #1605. Props pavelevap for initial patch.
|
| [3731]
|
johnjamesjacoby
|
First pass at network updater. See #1725.
|
| [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
|