[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.
|
[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.
|