| [3851]
|
johnjamesjacoby
|
More aggressively check private and hidden forums when changing forum status. (2.0 branch)
|
| [3850]
|
johnjamesjacoby
|
Port r3737 and part r3750 into 2.0 branch.
* Cast parent as integer in bbp_get_forum_ancestors()
* Remove forum ID from hidden/private arrays when setting to public
|
| [3849]
|
johnjamesjacoby
|
Only enqueue parent theme CSS if parent theme is twentyten.
|
| [3848]
|
johnjamesjacoby
|
Tweak bbp-theme-compat CSS:
* Remove references to legacy body id's (#content|#wrapper|#container)
* Enforce list-style: none; to prevent bullets where they are not wanted
* Selectively set list-style: square; in content areas
|
| [3847]
|
nacin
|
Port [3794], [3795] from trunk to branches/1.1.
|
| [3846]
|
nacin
|
bbPress 1.1 branch: Fix issue with author of post_id 1 appearing as topic last poster when first post is created by a bozo'ed user. props johnjamesjacoby.
Backports [3796] to the 1.1 branch.
|
| [3845]
|
johnjamesjacoby
|
Clean up inline doc for array elements in _has_functions to be more human readable.
|
| [3844]
|
johnjamesjacoby
|
Correctly show sticky topics when viewing a topic archive or using a topic archive shortcode.
|
| [3843]
|
johnjamesjacoby
|
Fix issue where bbp_get_time_since() can show "5 months, 0 days ago"
|
| [3842]
|
johnjamesjacoby
|
Update bbp_get_time_since() to work like BuddyPress and bbPress 1.0.
* years/months/weeks/days/hours/minutes/seconds ago
* Remove 'ago' references in bbp-includes and bbp-admin to prevent duplicates
|
| [3841]
|
johnjamesjacoby
|
When querying sticky topics, include all statuses as dictated by the main query. Fixes #1809.
|
| [3840]
|
johnjamesjacoby
|
Introduce bbp_parse_args() and pass filter keys into its usages.
* Parsed args to be passively or aggressively filtered
* Allows functions that normally require passing parsed $args to instead filter or override results
|
| [3839]
|
johnjamesjacoby
|
Check $anonymous_data variable before assuming array index exists in bbp_check_for_duplicate()
|
| [3838]
|
johnjamesjacoby
|
Remove number_format_i18n phpdoc references. See #1810.
|
| [3837]
|
johnjamesjacoby
|
Audit count functions and add number_format_i18n filter to them. See #1810.
|
| [3836]
|
johnjamesjacoby
|
Don't after-filter return count values as int to allow number-formatting filters to work correctly. Fixes #1810. Props wonderboymusic.
|
| [3835]
|
johnjamesjacoby
|
Tweak bbp-forum-content and bbp-forums-list styling. Fixes #1800.
|
| [3834]
|
johnjamesjacoby
|
Add missing styling to bbp-forum-content in theme compat. See #1800.
|
| [3833]
|
johnjamesjacoby
|
Pinking shears on bbpress.php.
|
| [3832]
|
johnjamesjacoby
|
Add phpdoc description to bbPress::register_theme_packages() warning about hardcoded theme package registrations.
|
| [3831]
|
johnjamesjacoby
|
Add classes to bbp_get_forum_class():
* Add 'bbp-has-subforums' if forum has subforums
* Add 'loop-item-%' for each item in the loop
* Split code up into easier to grok chunks
* Fixes #1803
|
| [3830]
|
johnjamesjacoby
|
Introduce theme packages API for bbPress 2.1
* Allow multiple theme packages to be registered (primarily as plugins)
* Allow switching between theme packages on the fly
* Register bbp-theme-compat and bbp-twentyten as available theme packages
* Introduce new 'bbp_register_theme_packages' action, and supplemental functions
* Introduce new option for saving the current theme package
* Code and variable clean-up in related files
* Fixes #1801
* Fixes #1802
|
| [3829]
|
johnjamesjacoby
|
PHP5'ize bbp-core-classes.php.
|
| [3828]
|
johnjamesjacoby
|
Clean up BBP_Component class methods. Pass $wp_rewrite in sub aciton.
|
| [3827]
|
johnjamesjacoby
|
Check for BBPRESS_LATE_LOAD constant to enable bbPress to be loaded on plugins_loaded action instead of inline.
|
| [3826]
|
johnjamesjacoby
|
Add 'bump' functions for forum, topic, reply, and voice counts.
* Functions not used yet
* See #1799
|
| [3825]
|
johnjamesjacoby
|
Audit widgets for untranslated or incorrectly translated strings.
* Remove PHP4 compat from widgets
* Add missing translation to recent replies widget
* Add brackets to titles to better group widgets together
* Fixes #1797
|
| [3824]
|
johnjamesjacoby
|
Use esc_attr__ where appropriate. See #1798.
|
| [3823]
|
johnjamesjacoby
|
Add context to 'Open' and 'Close' strings. Props daveshine. Fixes #1798.
|
| [3822]
|
johnjamesjacoby
|
Bump version to 2.1-r3822
|
| [3821]
|
johnjamesjacoby
|
Remove 'bbpress/' from template part calls in bbp-twentyten.
* Sub folders are handled automatically by bbp_get_template_part()
* See #1796
|
| [3820]
|
johnjamesjacoby
|
Revert bbp-twentyten back to table based layout:
* bbp-theme-compat retains tableless layout, and is canonical backup for missing template files
* Avoid back-compat issues with installs that have modified bbPress 2.0 CSS
* Fixes #1796
|
| [3819]
|
johnjamesjacoby
|
Remove whitespace before get_header() calls in bbp-theme-compat root files.
|
| [3818]
|
johnjamesjacoby
|
Add Akismet response to bb_ksd_pre_post_status(). Props westi. (branches/1.1)
|
| [3817]
|
johnjamesjacoby
|
Add Akismet response to bb_ksd_pre_post_status(). Props westi. (trunk)
|
| [3816]
|
johnjamesjacoby
|
First pass: replace bbPress 1.1 importer with bbConverter by Adam Ellis.
* Handles large bbPress installations much better than original importer
* Better potential for new converters in future
* Breathes life into abandoned bbConverter project
* See 1592
* Props Adam Ellis for bbConverter
* @todo: Settings/UI/code clean-up, shake vigorously, lather, rinse, repeat
|
| [3815]
|
johnjamesjacoby
|
First pass: replace bbPress 1.1 importer with bbConverter by Adam Ellis.
* Handles large bbPress installations much better than original importer
* Better potential for new converters in future
* Breathes life into abandoned bbConverter project
* See 1592
* Props Adam Ellis for bbConverter
* @todo: Settings/UI/code clean-up, shake vigorously, lather, rinse, repeat
|
| [3814]
|
johnjamesjacoby
|
Add nonces to admin area metabox saves, to avoid accidentally running save routines.
|
| [3813]
|
johnjamesjacoby
|
Use proper permalink in bbp_get_user_favorites_link(). Props jaredatch. Fixes #1790.
|
| [3812]
|
johnjamesjacoby
|
Move admin action setup lower in file. See r3811.
|
| [3811]
|
johnjamesjacoby
|
Split admin tools Recount into two functions to handle form submission without duplicate admin notices. Fixes #1788.
|
| [3810]
|
johnjamesjacoby
|
Make sure topic tags appear on single topics and replies. Props jaredatch. Fixes #1791.
|
| [3809]
|
johnjamesjacoby
|
Add caching to topic subscription queries. Props MZAWeb. Fixes #1794.
|
| [3808]
|
johnjamesjacoby
|
If there is no topic or reply, bail early out of respective _update_ functions to avoid a ton of errors and bad things from happening.
|
| [3807]
|
johnjamesjacoby
|
Add actions to user- template parts in bbp-theme-compat. Fixes #1786. Props jaredatch for original patch.
|
| [3806]
|
johnjamesjacoby
|
Only exclude private/hidden forum content in feeds when not viewing a single forum. Fixes #1782.
|
| [3805]
|
johnjamesjacoby
|
Add missing filters to some topic template tags.
* Remove inline logic from within some apply_filters() calls
* Props MZAWeb for initial patch
* Fixes #1787
|
| [3804]
|
johnjamesjacoby
|
Make sure all (3) parameters are passed through to new_reply_redirect_to filter.
|
| [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.
|