| [6390]
|
johnjamesjacoby
|
Clean-up `bbp_current_author_ua()`.
|
| [5016]
|
johnjamesjacoby
|
Clean-up admin ajax JS for Suggest methods. Fixes #2224.
|
| [3704]
|
johnjamesjacoby
|
Clean-up bbp-common-template.php:
* Remove unused globals
* Use bbp_get_global_post_field()
* Avoid accidental inline assignments
|
| [4496]
|
johnjamesjacoby
|
Clean-up bbp_get_dropdown() so unsetting variables for get_posts() usage is not necessary.
|
| [5014]
|
johnjamesjacoby
|
Clean-up to Example.php converter. Props netweb. Fixes #2134.
|
| [2565]
|
johnjamesjacoby
|
Cleanup wp_debug errors. Fixes #1335, #1336, #1338, #1339, and #1340.
|
| [4333]
|
johnjamesjacoby
|
Cleanup:
* Move a few files out of /core and into /common.
* Includes: widgets, shortcodes, classes.
* Update bbpress.php to use new paths.
|
| [4603]
|
johnjamesjacoby
|
Clear float for #bbp-topic-hot-tags in default CSS. Fixes #2062.
|
| [5032]
|
johnjamesjacoby
|
Clearing CSS hack. Fixes content display issues related to hierarchical replies. Props mordauk. Fixes #2345.
|
| [3967]
|
johnjamesjacoby
|
Code Improvement:
* Add $Id$ Subversion keyword to bbpress.php.
* See #1851.
|
| [4505]
|
johnjamesjacoby
|
Code Improvement:
* Add brackets to /forums/template-tags.php.
* Remove duplicate variable assignments.
|
| [4565]
|
johnjamesjacoby
|
Code Improvement:
* Add brackets to some updater functions.
|
| [4563]
|
johnjamesjacoby
|
Code Improvement:
* Add some brackets to improve readability.
|
| [3956]
|
johnjamesjacoby
|
Code Improvement:
* Clean up bbPress::register_post_statuses() to not create variables.
|
| [3966]
|
johnjamesjacoby
|
Code Improvement:
* First pass at updating subversion properties.
* Remove text/x-php mime types.
* Remove text/css mime types.
* Remove invalid sv:mime-type property.
* See #1851.
|
| [3953]
|
johnjamesjacoby
|
Code Improvement:
* Fix incorrect @since phpdoc (rxxxx placeholders)
|
| [3964]
|
johnjamesjacoby
|
Code Improvement:
* Lose EOF ?>.
* Clean up EOF newlines.
* Fixes #1850.
|
| [4281]
|
johnjamesjacoby
|
Code Improvement:
* More politely cast arrays in settings sections and fields.
* Use esc_html__() on some admin strings. See #1999.
* Clean up bbp_converter_setting_callback_platform().
|
| [4248]
|
johnjamesjacoby
|
Code Improvement:
* Move bbp-admin into bbp-includes/admin.
* Introduce includes_dir and includes_url bbpress() vars.
* Adjust BBP_Admin include paths.
* See: #1975.
|
| [4249]
|
johnjamesjacoby
|
Code Improvement:
* Move bbp-includes files into respective subdirectories.
* Adjust include paths.
* Remove superfluous inline file descriptions.
* See: #1975.
|
| [3951]
|
johnjamesjacoby
|
Code Improvement:
* Move preset bbPress class variables into bbPress::setup_globals() action.
* Introduce magic get/set methods to handle main bbPress class variables.
* Keeps by-reference bbPress->current_user outside of bbPress->data.
* Reduces code duplication in bbPress class.
* Fixes #1847.
|
| [4566]
|
johnjamesjacoby
|
Code Improvement:
* Remove 1 time use variable from version bump.
|
| [4250]
|
johnjamesjacoby
|
Code Improvement:
* Remove bbp- prefixes from admin files.
* Adjust include paths.
* See #1975.
|
| [4331]
|
johnjamesjacoby
|
Code Improvement:
* Revert part of r4258.
* Cast as int instead of using absint()
* Fixes regression that broke existing bbPress plugin (hierarchical replies.)
* Fixes #2008.
|
| [3954]
|
johnjamesjacoby
|
Code Improvement:
* Revert r3950 and move bbPress class arrays back into their own variables to prevent by-reference errors.
|
| [4280]
|
johnjamesjacoby
|
Code Improvement:
* Straighten the teeth in template-tags.php.
* Add braces to all of the things.
* Hat-tip westi the dentist.
|
| [3955]
|
johnjamesjacoby
|
Code Improvement:
* Turn bbPress::extend into an stdClass in setup_globals.
* Add phpdoc to bbPress::data variable with verbose explanation of how it works.
|
| [4279]
|
johnjamesjacoby
|
Code Improvement:
* Use esc_attr_e() in place of _e() is some obvious places.
* See #1999.
|
| [5641]
|
johnjamesjacoby
|
Code Improvement:
* Add `$Id$` Subversion keyword property to `/src/bbpress.php`.
* Hat tip netweb. See #1851.
|
| [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
|
| [3710]
|
johnjamesjacoby
|
Code clean-up in bbp-forum-template.php.
|
| [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
|
| [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.
|
| [3315]
|
johnjamesjacoby
|
Code cleanup from r3313.
|
| [3516]
|
johnjamesjacoby
|
Code formatting improvements to 'pre_get_posts' actions. Remove unused $bbp globals.
|
| [3545]
|
johnjamesjacoby
|
Code formatting improvements to bbp-topic-functions.php and prevent possible debug notices.
|
| [3574]
|
johnjamesjacoby
|
Code formatting improvements to bbp-topic-functions.php and prevent possible debug notices. See r3445. (2.1)
|
| [3699]
|
johnjamesjacoby
|
Code formatting improvements to bbp-user-template.php.
|
| [3544]
|
johnjamesjacoby
|
Code formatting improvements to bbp_toggle_reply_handler() and prevent possible debug notice on $failure.
|
| [3573]
|
johnjamesjacoby
|
Code formatting improvements to bbp_toggle_reply_handler() and prevent possible debug notice on $failure. See r3544. (2.1)
|
| [6907]
|
netweb
|
Coding Standards: Add missing trailing semi-colon from [6893]
|
| [3031]
|
johnjamesjacoby
|
Commit bomb of changes to bbp-twentyten to further abstract out template parts for improved shortcode usage and theme_compat for themes that do not explicitly support bbPress.
|
| [3250]
|
johnjamesjacoby
|
Commit bomb of improvements to the breadcrumb.
Checking for topic views, forum and topic archives, and do not check if the root slug is included in the URL.
Add breadcrumb to forum archive and topic archive, since they exist one level deeper than the "Home" page.
Add template tags to handle the forum/topic archive titles, which use a corresponding page title if one exists, and fallback to the post type label 'name' if not.
|
| [3241]
|
johnjamesjacoby
|
Commit bomb of updates to breadcrumb logic:
Switch from parameters to a parse args array.
Switch from template part to function.
Add before/after HTML arguments.
Add missing breadcrumb to reply-edit, view, and topic-tag templates.
Add home link logic.
Add filters on breadcrumb items.
Add quick-bail filter at the beginning of breadcrumb function.
|
| [3032]
|
johnjamesjacoby
|
Commit bomb, round 2. Similar to r3031, this includes a host of new functions for handling theme compatability for themes that do not explicitly support bbPress. Also introduces BBP_Shortcode class as handler for all shortcodes going forward.
|
| [7392]
|
johnjamesjacoby
|
Common - Code Improvement: Correct some missing/inaccurate `@return` tags.
Props manhphuc.
See: https://github.com/bbpress/bbPress/pull/39
In trunk, for 2.7.
|
| [7391]
|
johnjamesjacoby
|
Common - Code Improvement: Fix a missing `@since` tag.
Props manhphuc.
See: https://github.com/bbpress/bbPress/pull/38
In trunk, for 2.7.
|
| [7390]
|
johnjamesjacoby
|
Common - Code Improvement: remove HTML4 `type` attribute on `<script>` tag.
This changes `bbp_swap_no_js_body_class()` so the `script` tag it outputs no longer includes a `type="text/javascript" attribute.`
See #wp59883.
In trunk, for 2.7.
|
| [7393]
|
johnjamesjacoby
|
Common - Formatting: Properly fallback the UTF8/mb display name formatter.
This change prevents deprecation notices when more modern UTF8 handling is available, preventing unnecessarily falling back to `seems_utf8()`.
Follow-up to r7364.
See #2141.
In trunk, for 2.7.
|
| [7385]
|
johnjamesjacoby
|
Common Functions: avoid PHP warnings in logout URL.
This commit checks that server globals are not empty before attempting to concatenate them into a redirection destination.
See https://bbpress.org/forums/topic/assistance-with-various-php-errors-please/
In trunk, for 2.7.
|
| [7251]
|
johnjamesjacoby
|
Common Functions: fix dashboard errors from undefined variables.
Introduced in r7237, in `bbp_get_statistics()`.
This corrects an unintended regression that was causing replies not to be counted correctly.
In branches/2.6, for 2.6.10.
|
| [6013]
|
johnjamesjacoby
|
Common group.
|
| [3902]
|
johnjamesjacoby
|
Common:
* Audit _is_ functions and make sure they return and filter correctly.
* Add descriptions to phpdoc headers of common files.
|
| [5788]
|
netweb
|
Common: Include `bbp_get_pending_status_id()` post status for topic and reply post type cases in `bbp_get_all_child_ids()` and PHPDoc fixes including addition of missing `@since` revision
Props netweb. Fixes #2810
|
| [5730]
|
johnjamesjacoby
|
Common: Additional type-casting in query functions.
Ensures direct query results return a consistent, testable value.
Props thebrandonallen, netweb. See #2801.
|
| [6097]
|
johnjamesjacoby
|
Common: Improve title output strings for friendlier i18n.
Props @SergeyBiryukov. Fixes #2852.
|
| [5739]
|
johnjamesjacoby
|
Common: Improve type-casting return values in query functions.
Props thebrandonallen, netweb. See #2801.
|
| [6302]
|
johnjamesjacoby
|
Common: Introduce `bbp_number_not_negative()` and use it in the following ways:
* Register the relevant meta-data keys for posts & users, so updated values can never be invalid
* Filter return values for existing database values that might be invalid on existing installs
* Use in place of `intval()` or `(int)` casts where negative values should not exist
This has the added benefit of introducing the `bbp_register_meta` hook, for future meta-data registrations (of which bbPress has much of.) We'll concentrate on counts for 2.6, and integrate IDs and timestamps in future releases.
See #3059.
|
| [5685]
|
johnjamesjacoby
|
Common: Login actions:
* Extract functionality from `bbp_wp_login_action()` into a getter: `bbp_get_wp_login_action()`
* Update arguments in`bbp_get_wp_login_action()` to include optional `url` override
* Pass original `$args` into login action filter
* Also improve support for empty separator in breadcrumbs
|
| [6298]
|
johnjamesjacoby
|
Common: Move formatting functions into `formatting.php`.
|
| [6328]
|
johnjamesjacoby
|
Common: Remove `nofollow` from tests. See #3067.
|
| [6301]
|
johnjamesjacoby
|
Common: Switch from `absint()` to `intval()` to avoid integer inaccuracies.
See #3059.
|
| [6313]
|
johnjamesjacoby
|
Common: Update `bbp_rel_nofollow_callback()` to match latest approach in WordPress.
bbPress continues to have its own version to support this on output vs. pre-save.
Fixes #3067.
|
| [5790]
|
netweb
|
Common: Updated PHPDocs for `bbp_get_public_child_ids()`
|
| [6016]
|
johnjamesjacoby
|
Common: Use `bbp_make_clickable()` in `bbp_make_clickable()`.
In r6014, changes to support faster, better @-mentions mistakenly continued to use `make_clickable()`. This fixes that regression, and allows for smaller chunks of large topics & replies to continue to use bbPress's internally optimized clickable API.
|
| [5711]
|
johnjamesjacoby
|
Common: Use `esc_url()` in `bbp_redirect_to_field()` and late escape for clarity.
|
| [6711]
|
johnjamesjacoby
|
Common: add some sanity checks to cache priming helpers.
This change adds more checks to avoid caching post & post author data that may have been deleted since the IDs were last sourced from the database.
We also remove a call to `get_post_field()` to reference the local object directly. This adds an `empty()` but removes a more complex function call when we already have the post in local scope anyways.
Fixes #3166. Props thebrandonallen.
|
| [6700]
|
johnjamesjacoby
|
Common: also prime post author caches.
This change introduces another performance tweak to `bbp_has_topics()`, `bbp_has_forums()`, `bbp_has_search()`, and `bbp_has_replies()`, by pre-cache'ing the post author objects for what is known to be their imminent usage in the current template loops.
This change also renames the function & parameter introduced in r6698 to better fit existing naming conventions in WordPress.
See #3163.
|
| [6782]
|
johnjamesjacoby
|
Common: avoid debug notices in `bbp_past_edit_lock()`.
Props SergeyBiryukov. Fixes #3188.
|
| [5907]
|
johnjamesjacoby
|
Common: bring `bbp_verify_nonce_request()` up to speed with improvments in BuddyPress.
See #buddypress6528. Props r-a-y.
|
| [6673]
|
johnjamesjacoby
|
Common: cast return value to `array` in `bbp_pre_get_posts_normalize_forum_visibility()`.
Trunk, for 2.6. See #3031.
|
| [7313]
|
johnjamesjacoby
|
Common: document a few global variable usages.
Props upadalavipul.
In branches/2.6, for 2.6.14.
Fixes #3623.
|
| [7312]
|
johnjamesjacoby
|
Common: document a few global variable usages.
Props upadalavipul.
In trunk, for 2.7.
Fixes #3623.
|
| [7314]
|
johnjamesjacoby
|
Common: fix incorrect return type of `bbp_pre_handle_404()`.
This change ensures that `true` is always returned when overriding the 404 status.
Props ethitter.
In branches/2.6, for 2.6.14.
Fixes #3626.
|
| [7315]
|
johnjamesjacoby
|
Common: fix incorrect return type of `bbp_pre_handle_404()`.
This change ensures that `true` is always returned when overriding the 404 status.
Props ethitter.
In trunk, for 2.7.
Fixes #3626.
|
| [6814]
|
johnjamesjacoby
|
Common: introduce `bbp_get_post_types()` and use where appropriate.
Fixes #2769.
|
| [6760]
|
johnjamesjacoby
|
Common: introduce `bbp_get_url_scheme()` to simplify 'https' vs 'http' scheme concatenation.
This change improves code flow and reduces complexity by eliminating the number of inline `is_ssl()` checks necessary when URLs are being generated.
|
| [6440]
|
johnjamesjacoby
|
Common: introduce `bbp_has_shortcode()` to check if some text contains a bbPress shortcode.
If a shortcode was found in the global post content, a few extra things will happen:
* The `bbp-shortcode` class is added to the `body` tag
* `is_bbpress()` will now return `true`, to help enqueue additional styles & scripts on those pages in themes that want to support bbPress natively
Fixes #2996.
|
| [7279]
|
johnjamesjacoby
|
Common: prefer `bbp_get_topic_permalink()` over `get_permalink()`
This change ensures that features like Subscriptions & Pagination (inside of topics list loops) have: an opportunity to use the anticipated function path, and access to the right filters when including links back to them.
This fixes a potential bug where filtering a topic permalink would not happen inside of emails or pagination in the loop-topic template part.
See #3603.
|
| [6299]
|
johnjamesjacoby
|
Common: prefer `intval()` over `absint()` for reply IDs in form fields.
|
| [6698]
|
johnjamesjacoby
|
Common: prime last-active post caches.
This change introduces a performance tweak to `bbp_has_topics()`, `bbp_has_forums()`, and `bbp_has_search()`, pre-cache'ing the last-active post objects for what is known to be their imminent usage in the current template loops.
See #3163.
|
| [6719]
|
johnjamesjacoby
|
Common: remove redundant calls to `bbp_number_not_negative()`.
This change decreases the filter priority of out-of-range prevention from `10` to `8`, and also adds filters to pre-formatted values in lieu of hard-coding this function into each individual count getter. This allows plugins to unplug this check more easily, and makes sure each value is only checked once for each call instead of occasionally twice in a row.
|
| [7270]
|
johnjamesjacoby
|
Common: update `blacklist_keys` to `disallow_keys`
This change prevents a deprecated option notice in WordPress versions greater than 5.5.
See: #3601
In branches/2.6, for 2.6.11.
|
| [7271]
|
johnjamesjacoby
|
Common: update `blacklist_keys` to `disallow_keys` in PHPUnit tests
See: #3601
In branches/2.6, for 2.6.11.
|
| [7364]
|
johnjamesjacoby
|
Component - Users: Support `wp_is_valid_utf8()` for UTF-8 display names.
This commit adds support for a new function, introduced in WordPress 6.9, to work around UTF-8 deprecations in PHP8.4.
In trunk, for 2.7.
See #2141.
|
| [6765]
|
netweb
|
Composer: add an end-of-file new line to `composer.json`
|
| [4204]
|
bumpbot
|
Compress scripts/styles: -2.1.2-4204.
|
| [4357]
|
bumpbot
|
Compress scripts/styles: 2.2-beta1-4357.
|
| [4383]
|
bumpbot
|
Compress scripts/styles: 2.2-beta2-4383.
|
| [4421]
|
bumpbot
|
Compress scripts/styles: 2.2-rc2-4421.
|
| [4468]
|
bumpbot
|
Compress scripts/styles: 2.3-bleeding-4468.
|
| [4479]
|
bumpbot
|
Compress scripts/styles: 2.3-bleeding-4479.
|
| [4514]
|
bumpbot
|
Compress scripts/styles: 2.3-bleeding-4514.
|
| [4580]
|
bumpbot
|
Compress scripts/styles: 2.3-bleeding-4580.
|
| [4585]
|
bumpbot
|
Compress scripts/styles: 2.3-bleeding-4585.
|
| [4612]
|
bumpbot
|
Compress scripts/styles: 2.3-bleeding-4612.
|
| [4624]
|
bumpbot
|
Compress scripts/styles: 2.3-bleeding-4624.
|
| [4635]
|
bumpbot
|
Compress scripts/styles: 2.3-bleeding-4635.
|