| [4577]
|
johnjamesjacoby
|
Do not use hashes in tabfocus_elements array values. See #1917.
|
| [6899]
|
SergeyBiryukov
|
Docs: Correct description for `_bbp_topics_per_page` setting.
|
| [6900]
|
netweb
|
Docs: Correct descriptions for various admin settings.
|
| [7957]
|
johnjamesjacoby
|
Docs: Correct global variable annotations.
Remove @global tags for values retrieved through accessors or not used by the documented function, add missing annotations for directly accessed globals, and complete the remaining types and descriptions.
In trunk, for 2.7.
Props upadalavipul, viralsampat.
Fixes #3556.
|
| [6291]
|
netweb
|
Docs: Fix typo in `bbPress::*_query::have_posts()` PHPDoc `@uses` references.
Props SergeyBiryukov.
Fixes #3061.
|
| [8041]
|
johnjamesjacoby
|
Docs: Record pending-post date revisions.
Add canonical Subversion revisions to the pending-post date annotations so the automated revision audit can verify their origins.
In branches/2.6, for 2.6.21.
See #3744.
|
| [8040]
|
johnjamesjacoby
|
Docs: Record pending-post date revisions.
Add canonical Subversion revisions to the pending-post date annotations so the automated revision audit can verify their origins.
In trunk, for 2.7.
See #3744.
|
| [8032]
|
johnjamesjacoby
|
Docs: Record the logout-link revision.
Add the canonical Subversion revision to the 2.7.0 annotations for the logout-link classes parameter so the revision audit can verify its history.
In trunk, for 2.7.
|
| [7344]
|
johnjamesjacoby
|
Docs: Replace "Key Master" with "Keymaster" in some doc-blocks.
In trunk, for 2.7.
|
| [6560]
|
johnjamesjacoby
|
Docs: Update inline documentation of `bbp_get_global_object()`.
The conditions in this function do not result in an early return, so remove "Bail" references.
|
| [6924]
|
johnjamesjacoby
|
Docs: add missing project names after recently added @since's.
|
| [6971]
|
johnjamesjacoby
|
Docs: add note to `bbp_get_excluded_forum_ids()` about per-forum moderators.
|
| [7343]
|
johnjamesjacoby
|
Docs: add/improve PHPDoc for `$pagenow` global in some places.
Props viralsampat.
In trunk, for 2.7.
Fixes #3641.
|
| [7169]
|
johnjamesjacoby
|
Docs: correct "arrap" to "array".
In branches/2.6 for 2.6.6. See #3389.
|
| [7170]
|
johnjamesjacoby
|
Docs: correct "arrap" to "array".
In trunk for 2.7.0. See #3389.
|
| [7445]
|
johnjamesjacoby
|
Docs: expand bootstrap, admin, and cache documentation.
Document runtime data accessors and missing globals, correct property and return types, and describe the existing cache invalidation and admin helper behavior. This change only updates comments and preserves runtime behavior.
In trunk, for 2.7.
Props shail-mehta.
Fixes #3663.
From https://github.com/bbpress/bbPress/pull/40.
|
| [6856]
|
johnjamesjacoby
|
Docs: fix typo, and update function reference for `_blacklist()` deprecation.
See r6855, #3215.
|
| [7750]
|
johnjamesjacoby
|
Docs: link 2.6.19 release notes.
Add the published Codex upgrade notes and bbPress.org announcement to the 2.6.19 changelog entry.
In branches/2.6, for 2.6.19.
|
| [7751]
|
johnjamesjacoby
|
Docs: link 2.6.19 release notes.
Add the published Codex upgrade notes and bbPress.org announcement to the 2.6.19 changelog entry.
In trunk, for 2.7.
|
| [7238]
|
johnjamesjacoby
|
Docs: remove some PHP docs that don't make sense.
For 2.6.10.
|
| [7240]
|
johnjamesjacoby
|
Docs: remove some PHP docs that don't make sense.
For 2.7.
|
| [7239]
|
johnjamesjacoby
|
Docs: remove some PHP docs that don't make sense.
For 2.7.
|
| [6642]
|
johnjamesjacoby
|
Docs: update the description of `bbp_get_default_role()`.
Fixes #3131.
|
| [4040]
|
johnjamesjacoby
|
Documentation
* Fix out of date phpdoc for bbp_get_reply_position().
|
| [2836]
|
johnjamesjacoby
|
Documentation for new sticky topic code.
|
| [7460]
|
johnjamesjacoby
|
Documentation: Add the HackerOne bounty workflow.
Document bounty recommendations, internal rationale, reporter updates, resolution timing, and assignment to Bounty Admins for final review and payment.
|
| [7459]
|
johnjamesjacoby
|
Documentation: Add the HackerOne bounty workflow.
Document bounty recommendations, internal rationale, reporter updates, resolution timing, and assignment to Bounty Admins for final review and payment.
|
| [7748]
|
johnjamesjacoby
|
Documentation: Complete 2.6.19 release notes.
Record omitted security and maintenance fixes in the 2.6.19 changelog and credit their HackerOne reporters. Correct the upgrade notice to describe database version 264, which removes saved converter query SQL from older password upgrades.
In branches/2.6, for 2.6.19.
|
| [7749]
|
johnjamesjacoby
|
Documentation: Complete 2.6.19 release notes.
Record omitted security and maintenance fixes in the 2.6.19 changelog and credit their HackerOne reporters. Correct the upgrade notice to describe database version 264, which removes saved converter query SQL from older password upgrades.
In trunk, for 2.7.
|
| [6498]
|
johnjamesjacoby
|
Documentation: Don't hyphenate "bbPress's"
It's cute, and I tend to say it in person to be cute, but in writing it doesn't look very classy.
|
| [6526]
|
johnjamesjacoby
|
Documentation: Don't use `reply's`, because it looks weird and is poor English grammar.
Prefer more descriptive documentation instead.
|
| [6497]
|
johnjamesjacoby
|
Documentation: Prefer "database" over "sql" to avoid some jargon.
This also makes it language/platform agnostic.
|
| [6573]
|
johnjamesjacoby
|
Documentation: Remove all `@uses` usages.
Per the WordPress inline documentation standards:
> the @uses tag is not recommended to be used to indicate a used-by relationship, as this information can be derived through other means. These tags also are very likely to become out-of-date as our functions change over time.
|
| [8074]
|
johnjamesjacoby
|
Documentation: Stop waiting for mirror propagation.
Treat verified canonical Subversion and Trac state as the completion gate for normal landings. Let the scheduled GitHub mirror workflow propagate asynchronously while retaining release-specific mirror verification.
In trunk, for 2.7.
|
| [8168]
|
johnjamesjacoby
|
Documentation: Tighten the release process.
Require changelog reconciliation and final verification before creating an immutable canonical Subversion tag. Clarify that this does not limit reviewed Git mirror maintenance.
In branches/2.6, for 2.6.22.
|
| [8167]
|
johnjamesjacoby
|
Documentation: Tighten the release process.
Require changelog reconciliation and final verification before creating an immutable canonical Subversion tag. Clarify that this does not limit reviewed Git mirror maintenance.
In trunk, for 2.7.
|
| [6580]
|
johnjamesjacoby
|
Documentation: Typo fixes in users functions.
|
| [7439]
|
johnjamesjacoby
|
Documentation: Update the 2.6 changelog.
Add the Block Theme, development tooling, and BuddyPress initialization changes planned for 2.6.16.
In 2.6, for 2.6.16.
See r7421, r7425, r7431, r7433, r7436, r7437, r7438.
|
| [7440]
|
johnjamesjacoby
|
Documentation: Update the 2.7 changelog.
Add the implemented blocks, Block Theme support, compatibility changes, security improvement, fixes, and contributor and release tooling planned for 2.7.
In trunk, for 2.7.
|
| [7752]
|
johnjamesjacoby
|
Documentation: add forum release steps.
Record the forum announcement and previous-release unstick actions in the release procedure, with live verification of links and Super Sticky status.
In trunk, for 2.7.
|
| [7428]
|
johnjamesjacoby
|
Documentation: complete the contributor setup guide.
Document checkout, Node 24, local site access, a classic-theme forum check, a focused test, and environment shutdown. Link README development instructions to this walkthrough and run PHPUnit in the separate tests-cli container.
In trunk, for 2.7.
|
| [7452]
|
johnjamesjacoby
|
Documentation: correct count-function version annotations.
Update the new count-transition and recovery annotations to 2.6.16 now that the changes are merged to the maintenance branch.
In trunk, for 2.7.
See r7449, r7451.
|
| [7471]
|
johnjamesjacoby
|
Documentation: expand count compatibility notes.
Document count-hook timing for creation and moderation, custom-status integration, atomic metadata retry semantics, subforum query filters, and selective repair guidance for existing sites.
In trunk, for 2.7.
See #3678.
|
| [7472]
|
johnjamesjacoby
|
Documentation: expand count compatibility notes.
Document count-hook timing for creation and moderation, custom-status integration, atomic metadata retry semantics, subforum query filters, and selective repair guidance for existing sites.
Merges r7471 to 2.6.
In 2.6, for 2.6.16.
See #3678.
|
| [6774]
|
johnjamesjacoby
|
Documentation: fix a bunch of random ambiguous or incomplete phpdoc.
|
| [7649]
|
johnjamesjacoby
|
Documentation: restore @since revision history.
Add verified Subversion revisions to historical annotations, tracing the 2.6.17 release relabels to their introducing changesets. Correct malformed references and a few first-shipped versions, and document the next-revision workflow.
In trunk, for 2.7.
|
| [7650]
|
johnjamesjacoby
|
Documentation: restore @since revision history.
Backport the verified annotation revisions and first-shipped version corrections. Trace the 2.6.17 release relabels to their introducing changesets and document the next-revision workflow.
In branches/2.6, for 2.6.19.
|
| [4177]
|
johnjamesjacoby
|
Doing it wrong:
* Protect users from the effects of incorrectly manipulating the bbPress instance.
* Uses _doing_it_wrong() in place of wp_die(), in bbPress::__clone() and bbPress::__wakeup() magic methods.
|
| [3836]
|
johnjamesjacoby
|
Don't after-filter return count values as int to allow number-formatting filters to work correctly. Fixes #1810. Props wonderboymusic.
|
| [5317]
|
johnjamesjacoby
|
Don't allow `build` or `src` in `basename` in `bbPress:setup_globals()`. Fixes problems with activation hooks. Fixes #2559. Props DJPaul.
|
| [4843]
|
johnjamesjacoby
|
Don't allow replies to closed topics, unless user can moderate. Props mzaweb. Fixes #2281.
|
| [3156]
|
johnjamesjacoby
|
Don't build a meta query if there are no forums to exclude.
|
| [5308]
|
johnjamesjacoby
|
Don't copy Sass files (or any other excluded files) into `/build` directory. Props netweb. See #2542.
|
| [3287]
|
johnjamesjacoby
|
Don't create post revisions when changing a topic/reply status (open/close/spam/unspam).
Update phpdoc in forum open/close.
|
| [5656]
|
netweb
|
Don't create post revisions when opening topics in `bbp_open_topic()` or closing topics in `bbp_close_topic()` as post content does not change.
Props netweb. See #2653
|
| [5651]
|
netweb
|
Don't create post revisions when updating replies menu order in `bbp_update_reply_position()` as there's no post content changed.
Props netweb. Fixes #2656
|
| [5272]
|
johnjamesjacoby
|
Don't ignore Travis or JSHint configuration files, and add them to root. See #2542.
|
| [2669]
|
johnjamesjacoby
|
Don't load CSS in admin
|
| [2715]
|
johnjamesjacoby
|
Don't output topic admin links if not actually in a topic. Props !GautamGupta
|
| [4638]
|
johnjamesjacoby
|
Don't parse smilies in bbPress 1.x converter. Props netweb for testing. Fixes #1874.
|
| [3317]
|
johnjamesjacoby
|
Don't show Sticky links in wp-admin if topic is spam or trash.
|
| [5194]
|
johnjamesjacoby
|
Don't use `esc_html_e()` on Importer page, as it includes a `<strong>` tag that's worth keeping around.
|
| [4665]
|
johnjamesjacoby
|
Don't wrap nested pre/code tags in additional new-lines.
|
| [4518]
|
johnjamesjacoby
|
Dropdown:
* Use 'post_parent' instead of 'child_of' in bbp_get_dropdown().
* Add 'exclude' to array of default arguments.
* Fixes bug with not excluding post ID's, and not using the correct post parent ID.
* Props jmdodd.
* Fixes #2061.
|
| [4259]
|
johnjamesjacoby
|
Dropdowns:
* Revert back to text inputs for topic and forum ID's in metaboxes.
* Fixes memory issues when loading thousands of posts.
* Fixes #1878.
* See #1901.
|
| [5540]
|
netweb
|
Drupal7: Add support for importing Drupal v7.x pending topics and replies. See #2645
|
| [5536]
|
netweb
|
Drupal7: Don't import Drupal 7's guest user
|
| [6753]
|
johnjamesjacoby
|
Duplicates: check `post_author` argument instead of current user.
This change brings duplicate checking up to speed with flood and blacklist checks by preferring `user_can()` over `current_user_can()`, and plays a bit more friendly with anonymous author IDs.
Props r-a-y. Fixes #3186.
|
| [6869]
|
johnjamesjacoby
|
Edit Locking Improvements:
* Refactor to avoid doing unnecessary computations
* Invert default return value from false to true, requiring time to pass validation as opposed to assuming
* Improve obviousness of math computations for easier debuggability
* Update variables passed into the end return filter
* Add 6 unit tests for before/on/after, plus support for "0" as infinite
* Fix bug causing "0" values to return the opposite value
* Ensure only gmt/utc values are compared
* Add optional flag to use WordPress time instead
* Improve inline and function documentation
Fixes #3222. Props wpdennis.
|
| [6920]
|
johnjamesjacoby
|
Edit Locking: Remove redundant $minutes check in `bbp_past_edit_lock()`.
This commit is just a small bit of cleanup from researching #3164.
See #3222.
|
| [4025]
|
johnjamesjacoby
|
Editing:
* Bail early if forum/topic/reply ID is missing.
* Put message back that was accidentally removed in r4024.
|
| [4241]
|
johnjamesjacoby
|
Editor:
* Additional output escaping on textarea attributes.
* Revert accidental indentation change from r4240.
* See #1870.
|
| [6919]
|
johnjamesjacoby
|
Emails: chunk notification emails into 40 Bcc'd recipients.
This commit introduces the `bbp_mail` subfilter, used to target bbPress specific emails in conjunction with `bbp_get_email_header()` to help identify emails that came specifically from bbPress actions.
The purpose of this change is to help forum owners avoid their outbound emails being marked as spam, due to the high number of users that can be subscribed to any given forum or topic.
This change (combined with r6725) goes a long way towards improving the success of subscription emails reaching their intended recipients.
Fixes #3260. Props danielbachhuber.
|
| [7151]
|
johnjamesjacoby
|
Emails: correct logic in `bbp_get_email_addresses_from_user_ids()`.
This commit makes sure that the query offset (for looping through user IDs) does not unintentionally skip over any IDs in the allowed ranges.
In branches/2.6, for 2.6.6. Fixes #3405.
Props muratgu.
|
| [7152]
|
johnjamesjacoby
|
Emails: correct logic in `bbp_get_email_addresses_from_user_ids()`.
This commit makes sure that the query offset (for looping through user IDs) does not unintentionally skip over any IDs in the allowed ranges.
In trunk, for 2.7. Fixes #3405.
Props muratgu.
|
| [8002]
|
johnjamesjacoby
|
Embeds: Protect attachment metadata.
Resolve attachments to their bbPress parent before applying the existing oEmbed visibility checks. This prevents attachment titles and author details from being exposed when the parent forum, topic, reply, or forum ancestor is private, hidden, or password protected.
Add regression coverage for attachments across direct and inherited forum visibility.
In branches/2.6, for 2.6.20.
|
| [8001]
|
johnjamesjacoby
|
Embeds: Protect attachment metadata.
Resolve attachments to their bbPress parent before applying the existing oEmbed visibility checks. This prevents attachment titles and author details from being exposed when the parent forum, topic, reply, or forum ancestor is private, hidden, or password protected.
Add regression coverage for attachments across direct and inherited forum visibility.
In trunk, for 2.7.
|
| [5496]
|
johnjamesjacoby
|
Embetter Orwellian Newspeak used to describe sticky topics in `admin/topics.php`. Props netweb. Fixes #2622.
|
| [5499]
|
johnjamesjacoby
|
Enable forum status and visibility functions to check ancestry by extracting existing logic into new helper functions. Props alex-ye, netweb. Fixes #2303.
|
| [5168]
|
johnjamesjacoby
|
Enable pingbacks for CPT's when creating in wp-admin. Fixes #2297.
|
| [5169]
|
johnjamesjacoby
|
Enable pingbacks for forum CPT when creating in wp-admin. See #2297.
|
| [6327]
|
johnjamesjacoby
|
Engagements/BuddyPress: Add `@since` for changes in 2.6.0, and a bit more clean-up.
See #3068.
|
| [6326]
|
johnjamesjacoby
|
Engagements/BuddyPress: Finish integration, and clean-up favorites & subscriptions support.
See #3068.
|
| [6322]
|
johnjamesjacoby
|
Engagements: Add `bbp_is_engagements_active` to default options array.
See #3068.
|
| [6768]
|
johnjamesjacoby
|
Engagements: Add relationship key and type to `bbp_user_engagements_interface()`.
This allows for per-feature overloading of the engagement relationship type – useful if you want to store some data as a taxonomy, some data as meta, and other data in custom storage.
|
| [6321]
|
johnjamesjacoby
|
Engagements: Allow engagements to be toggled on/off, for forums that have not run the upgrade routine yet.
Also missed a spot in the BuddyPress integration.
See #3068.
|
| [7959]
|
johnjamesjacoby
|
Engagements: Complete term relationship cleanup.
Avoid warnings when a term-backed user relationship does not exist, and remove all terms only from the requested engagement taxonomy. Preserve other relationship keys and make repeated cleanup safe.
In branches/2.6, for 2.6.20.
Fixes #3735.
|
| [7958]
|
johnjamesjacoby
|
Engagements: Complete term relationship cleanup.
Avoid warnings when a term-backed user relationship does not exist, and remove all terms only from the requested engagement taxonomy. Preserve other relationship keys and make repeated cleanup safe.
In trunk, for 2.7.
See #3735.
|
| [7988]
|
johnjamesjacoby
|
Engagements: Correct cleanup return values.
Return true after the taxonomy strategy removes an object's relationships, matching the documented boolean contract. Count only successful legacy user-option removals so partial failures are reported instead of being masked.
Add regression coverage for successful taxonomy cleanup and partial legacy cleanup failures.
In trunk, for 2.7.
See #3736.
|
| [7991]
|
johnjamesjacoby
|
Engagements: Correct cleanup return values.
Return true after the taxonomy strategy removes an object's relationships, matching the documented boolean contract. Count only successful legacy user-option removals so partial failures are reported instead of being masked.
Add regression coverage for successful taxonomy cleanup and partial legacy cleanup failures.
Merges [7988] to the 2.6 branch.
In branches/2.6, for 2.6.20.
Fixes #3736.
|
| [6332]
|
johnjamesjacoby
|
Engagements: First pass at a `user_query`, which will be used for looping through users.
* Introduces `BBP_User_Query` which extends `WP_User_Query`
* Includes functions for use within template parts
See #3068.
|
| [6311]
|
johnjamesjacoby
|
Engagements: First pass at engagement user functions.
Also update favorite/subscription documentation where inaccurate.
See #3068.
|
| [6320]
|
johnjamesjacoby
|
Engagements: First pass at:
* User profile section
* Template parts changes
* Rewrite rules support
* Repair & upgrade tools
* BuddyPress support
* `engagement` slug setting
See #3068.
|
| [6323]
|
johnjamesjacoby
|
Engagements: Fix copy/paste error in r6322.
See #3068.
|
| [6340]
|
johnjamesjacoby
|
Engagements: Improve efficiency of upgrade & repair tools.
Props thebrandonallen. See #3068.
|
| [6334]
|
johnjamesjacoby
|
Engagements: Integrate the `user_query` into favorites, subscriptions, and engagements.
* Add to admin metabox avatar loops
* Fix a few bugs in `BBP_User_Query`, and include a custom constructor to set the loop counter
See #3068.
|
| [6522]
|
johnjamesjacoby
|
Engagements: Introduce 2 new functions for recalculating engagements.
* `bbp_get_topic_engagements_raw()` to efficiently query for users who have engaged in a topic
* `bbp_recalculate_topic_engagements()` to update all of the related meta-data
See #3068.
|
| [6517]
|
johnjamesjacoby
|
Engagements: Introduce `bbp_remove_user_from_all_objects()`.
This is useful for when a user is permanently deleted, or when all of their relationship(s) (of a certain type) need to be removed.
See #3068.
|
| [6529]
|
johnjamesjacoby
|
Engagements: Keep topic engagement counts up-to-date.
This changes the way the old 'voice count' works with the new engagements API in the following ways:
* Introduce new function to update voice count meta when necessary
* Modify recalculation function with a `$force` parameter, and only recalculate the counts when the engagements have changed by default
* Hook the above functions in where appropriate, largely when deleting replies (this is a unique case where a fully deleted reply needs to check if the author of the current reply has a previously public reply in that same topic already, which should not trigger a recalculation.)
* We are silently moving the `bbp_delete_` actions onto the `before_delete_post` hook, so that all term & meta-data is available to them (which helps with race conditions mentioned in r6528)
Engagements are now hooked in and listening in the most efficient way possible, at least until a common & shared walker is introduced for the entire tree.
See: #3068.
|
| [6369]
|
johnjamesjacoby
|
Engagements: Move engagement count updates to action hooks.
Props thebrandonallen. Fixes #3068.
|