[3764]
|
johnjamesjacoby
|
Bump default db_version and add functions to get DB version raw from the database.
|
[3765]
|
johnjamesjacoby
|
Add bbp_is_install() function which checks if raw DB version exists. Update bbp_is_install() logic to not create variables.
|
[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
|
[3767]
|
johnjamesjacoby
|
Tweak _insert_ functions to use current user ID as default post_author.
|
[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
|
[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
|
[3770]
|
johnjamesjacoby
|
Clean up bbpress.php phpdoc
|
[3771]
|
johnjamesjacoby
|
Remove empty lines in phpdoc in bbPress class
|
[3772]
|
johnjamesjacoby
|
Remove copy-pasta phpdoc in bbPress class.
|
[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
|
[3774]
|
johnjamesjacoby
|
Bump version number to current revision.
|
[3775]
|
johnjamesjacoby
|
Use bbpress() function and avoid creating a one-time variable in bbp_parse_request()
|
[3776]
|
johnjamesjacoby
|
Tidy up the auto-embed options, and fix issue with setting not saving. Fixes #1752.
|
[3777]
|
johnjamesjacoby
|
Add some extra logic to the default bbpress-functions.php to make copying into a new theme easier.
|
[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.
|
[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
|
[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
|
[3781]
|
johnjamesjacoby
|
Pass param to bbp_get_template_locations() to allow locations to be filtered based on templates being queried. 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
|
[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
|
[3784]
|
johnjamesjacoby
|
Rearrange sub-actions for improved readability in bbp-core-actions.php.
|
[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
|
[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
|
[3787]
|
johnjamesjacoby
|
Whitespace fixes in bbp_create_initial_content()
|
[3788]
|
johnjamesjacoby
|
Tweak phpdoc for bbp_delete_forum_topics()
|
[3789]
|
johnjamesjacoby
|
BuddyPress Group Forum create page and handler. 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
|
[3791]
|
johnjamesjacoby
|
Introduce bbp_get_config_location() function to look for previous BuddyPress integration. See #1669.
|
[3792]
|
johnjamesjacoby
|
Remove duplicate wp_editor code from bbp_get_default_options()
* Props dimadin
* See r3753
* Fixes #1771
|
[3793]
|
johnjamesjacoby
|
Use correct bbp_is_group_forums_active() function for BuddyPress Group Forum check.
|
[3794]
|
johnjamesjacoby
|
Fix issue with voices showing "Array" when user that posted topic is spammed or bozo'ed. (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)
|
[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)
|
[3797]
|
johnjamesjacoby
|
Decode $post_content for wp_editor in bbp_get_the_content(). Fixes #1770. Props alexvorn2, props jaredatch.
|
[3798]
|
johnjamesjacoby
|
Allow bbp_create_initial_content() to be filtered or provided an array of defaults.
|
[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
|
[3800]
|
johnjamesjacoby
|
Pinking shears on bbp-extend-buddypress.php. See #1669.
|
[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
|
[3802]
|
johnjamesjacoby
|
Make sure to only return a single value in bbp_get_forum_group_ids()
* Fixes #1780
* Props boonebgorges
|
[3803]
|
johnjamesjacoby
|
Filter forum/topic/reply URLs and canonicalize to group forum URL if applicable:
* Fixes #1781
* Props boonebgorges
|
[3804]
|
johnjamesjacoby
|
Make sure all (3) parameters are passed through to new_reply_redirect_to filter.
|
[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
|
[3806]
|
johnjamesjacoby
|
Only exclude private/hidden forum content in feeds when not viewing a single forum. Fixes #1782.
|
[3807]
|
johnjamesjacoby
|
Add actions to user- template parts in bbp-theme-compat. Fixes #1786. Props jaredatch for original patch.
|
[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.
|
[3809]
|
johnjamesjacoby
|
Add caching to topic subscription queries. Props MZAWeb. Fixes #1794.
|
[3810]
|
johnjamesjacoby
|
Make sure topic tags appear on single topics and replies. Props jaredatch. Fixes #1791.
|
[3811]
|
johnjamesjacoby
|
Split admin tools Recount into two functions to handle form submission without duplicate admin notices. Fixes #1788.
|
[3812]
|
johnjamesjacoby
|
Move admin action setup lower in file. See r3811.
|
[3813]
|
johnjamesjacoby
|
Use proper permalink in bbp_get_user_favorites_link(). Props jaredatch. Fixes #1790.
|
[3814]
|
johnjamesjacoby
|
Add nonces to admin area metabox saves, to avoid accidentally running save routines.
|
[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
|
[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
|
[3817]
|
johnjamesjacoby
|
Add Akismet response to bb_ksd_pre_post_status(). Props westi. (trunk)
|
[3818]
|
johnjamesjacoby
|
Add Akismet response to bb_ksd_pre_post_status(). Props westi. (branches/1.1)
|
[3819]
|
johnjamesjacoby
|
Remove whitespace before get_header() calls in bbp-theme-compat root files.
|
[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
|
[3821]
|
johnjamesjacoby
|
Remove 'bbpress/' from template part calls in bbp-twentyten.
* Sub folders are handled automatically by bbp_get_template_part()
* See #1796
|
[3822]
|
johnjamesjacoby
|
Bump version to 2.1-r3822
|
[3823]
|
johnjamesjacoby
|
Add context to 'Open' and 'Close' strings. Props daveshine. Fixes #1798.
|
[3824]
|
johnjamesjacoby
|
Use esc_attr__ where appropriate. See #1798.
|
[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
|
[3826]
|
johnjamesjacoby
|
Add 'bump' functions for forum, topic, reply, and voice counts.
* Functions not used yet
* See #1799
|
[3827]
|
johnjamesjacoby
|
Check for BBPRESS_LATE_LOAD constant to enable bbPress to be loaded on plugins_loaded action instead of inline.
|
[3828]
|
johnjamesjacoby
|
Clean up BBP_Component class methods. Pass $wp_rewrite in sub aciton.
|
[3829]
|
johnjamesjacoby
|
PHP5'ize bbp-core-classes.php.
|
[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
|
[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
|
[3832]
|
johnjamesjacoby
|
Add phpdoc description to bbPress::register_theme_packages() warning about hardcoded theme package registrations.
|
[3833]
|
johnjamesjacoby
|
Pinking shears on bbpress.php.
|
[3834]
|
johnjamesjacoby
|
Add missing styling to bbp-forum-content in theme compat. See #1800.
|
[3835]
|
johnjamesjacoby
|
Tweak bbp-forum-content and bbp-forums-list styling. Fixes #1800.
|
[3836]
|
johnjamesjacoby
|
Don't after-filter return count values as int to allow number-formatting filters to work correctly. Fixes #1810. Props wonderboymusic.
|
[3837]
|
johnjamesjacoby
|
Audit count functions and add number_format_i18n filter to them. See #1810.
|
[3838]
|
johnjamesjacoby
|
Remove number_format_i18n phpdoc references. See #1810.
|
[3839]
|
johnjamesjacoby
|
Check $anonymous_data variable before assuming array index exists in bbp_check_for_duplicate()
|
[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
|
[3841]
|
johnjamesjacoby
|
When querying sticky topics, include all statuses as dictated by the main query. Fixes #1809.
|
[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
|
[3843]
|
johnjamesjacoby
|
Fix issue where bbp_get_time_since() can show "5 months, 0 days ago"
|
[3844]
|
johnjamesjacoby
|
Correctly show sticky topics when viewing a topic archive or using a topic archive shortcode.
|
[3845]
|
johnjamesjacoby
|
Clean up inline doc for array elements in _has_functions to be more human readable.
|
[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.
|
[3847]
|
nacin
|
Port [3794], [3795] from trunk to branches/1.1.
|
[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
|
[3849]
|
johnjamesjacoby
|
Only enqueue parent theme CSS if parent theme is twentyten.
|
[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
|
[3851]
|
johnjamesjacoby
|
More aggressively check private and hidden forums when changing forum status. (2.0 branch)
|
[3852]
|
johnjamesjacoby
|
More aggressively check private and hidden forums when changing forum status. (plugin branch)
|
[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.
|
[3855]
|
johnjamesjacoby
|
Improve forum and topic description texts to include empty cases.
|
[3856]
|
johnjamesjacoby
|
Allow user favorites and subscriptions to work per site on multisite installations. Props isaacchapman. Fixes #1818.
|
[3857]
|
johnjamesjacoby
|
Update humans.txt
|
[3858]
|
johnjamesjacoby
|
Number format fixes:
* Introduce bbp_number_format_i18n
* Clean up number format filters
* Allow empty $number values to be passed safely
|
[3859]
|
johnjamesjacoby
|
Add GPL licensing and link to readme.txt.
|
[3860]
|
johnjamesjacoby
|
Add template tags and supporting functions to display user role in topics and replies. Fixes #1815. Props cnorris23 for original patch.
|
[3861]
|
johnjamesjacoby
|
Default show_role to false, and override to true when needed, for backwards compatibility. See #1815.
|
[3862]
|
johnjamesjacoby
|
Tweak topic and reply author img and name CSS in theme compat.
|
[3863]
|
johnjamesjacoby
|
Converter:
* Whitespace fixes to bbPress1 converter
* Fix incorrect fieldname
* See #1820
|