| [8185]
|
johnjamesjacoby
|
Tests: Cover BuddyPress member helpers.
Add direct coverage for BuddyPress component and user filters, member screen and content callbacks, notification registration and marking, and Common AJAX headers.
In trunk, for 2.7.
See #3706.
|
| [8184]
|
johnjamesjacoby
|
Tests: Cover remaining admin helpers.
Add direct coverage for admin icons, settings sanitization, converter capabilities, reply-move checks, repair cache and count behavior, engagements, and legacy usermeta removal.
In trunk, for 2.7.
See #3706.
|
| [8183]
|
johnjamesjacoby
|
Tests: Complete admin tool helper coverage.
Add direct coverage for repair tool registration, page and run URLs, list controls, labels, metadata filters, status and overhead links, admin tabs, and tool navigation.
In trunk, for 2.7.
See #3706.
|
| [8182]
|
johnjamesjacoby
|
Tools: Report failed reset queries.
Treat false database-query returns as failures while preserving successful zero-row queries. Add regression coverage for skipped, successful, zero-row, and failed reset operations.
In branches/2.6, for 2.6.22.
Fixes #3768.
|
| [8181]
|
johnjamesjacoby
|
Tools: Report failed reset queries.
Treat false database-query returns as failures while preserving successful zero-row queries. Add regression coverage for skipped, successful, zero-row, and failed reset operations.
In trunk, for 2.7.
See #3706.
See #3768.
|
| [8180]
|
johnjamesjacoby
|
Tests: Complete user template coverage.
Add direct coverage for user loops, fallback names, profile controls, request validation, engagement URLs, language selection, and moderator lists.
In trunk, for 2.7.
See #3706.
|
| [8179]
|
johnjamesjacoby
|
Tests: Cover user engagement helpers.
Add direct coverage for relationship storage, engagement queries and updates, subscriber lookup, and topic subscription form handling.
In trunk, for 2.7.
See #3706.
|
| [8178]
|
johnjamesjacoby
|
Tests: Cover remaining Common helpers.
Add direct coverage for anonymous author data, strict moderation, nested notification suspension, email chunking, child-count filtering, and post-family cache priming.
In trunk, for 2.7.
See #3706.
|
| [8177]
|
johnjamesjacoby
|
Common: Preserve block editor decisions.
Keep the block editor disabled for bbPress post types without overriding the incoming decision for other post types. Add direct coverage for this behavior and for Common post-type, untrash, trash-retention, query, URL-scheme, and title-length helpers.
In trunk, for 2.7.
See #3706.
Fixes #3767.
|
| [8176]
|
johnjamesjacoby
|
Tests: Expand Common component coverage.
Add direct coverage for attachment parents, the REST attachment controller, the engagements interface, and XML-RPC date and capability helpers. Connect existing content-filter, user-discovery, and template-notice behavior tests to their covered functions.
In trunk, for 2.7.
See #3706.
|
| [8175]
|
johnjamesjacoby
|
Tests: Complete core component coverage.
Add direct coverage for redirect behavior and site-wide moderator checks. Connect existing behavioral tests to the remaining Core functions, including options, forum status, statistics, theme compatibility, and legacy BuddyPress support.
In trunk, for 2.7.
See #3706.
|
| [8174]
|
johnjamesjacoby
|
Tests: Complete topic component coverage.
Add direct coverage for sticky-topic ordering, topic locks, toggle actions, legacy count routing, topic-tag retrieval, and taxonomy counts.
In trunk, for 2.7.
See #3706.
|
| [8173]
|
johnjamesjacoby
|
Tests: Complete reply component coverage.
Add direct coverage for the deprecated reply-count compatibility helper across published, spam, and effectively non-published replies.
In trunk, for 2.7.
See #3706.
|
| [8172]
|
johnjamesjacoby
|
Build: Update development dependencies.
Refresh the npm build and lint tools, PHPUnit Polyfills, and the pinned setup-php action. Replace outdated Grunt wrappers, migrate ESLint and Sass to current APIs, and align local development and CI with Node.js 24 while preserving generated CSS and the PHPUnit and PHPCS compatibility ranges.
In branches/2.6, for 2.6.22.
|
| [8171]
|
johnjamesjacoby
|
Build: Update development dependencies.
Refresh the npm build and lint tools, PHPUnit Polyfills, and the pinned setup-php action. Replace outdated Grunt wrappers, migrate ESLint and Sass to current APIs, and align local development and CI with Node.js 24 while preserving generated CSS and the PHPUnit and PHPCS compatibility ranges.
In trunk, for 2.7.
|
| [8170]
|
johnjamesjacoby
|
Tests: Complete forum component coverage.
Add direct coverage for hidden reply count updates and routing, all-status subforum queries, row-action forwarding, and last-topic author links. Correct a malformed coverage annotation.
In trunk, for 2.7.
See #3706.
|
| [8169]
|
johnjamesjacoby
|
Tests: Cover forum capability helpers.
Add direct coverage for forum capability mapping across visibility, editing, frozen and inactive users, admin context, and filter contracts. Cover per-forum moderator checks and exclusion filtering.
In trunk, for 2.7.
See #3706.
|
| [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.
|
| [8166]
|
johnjamesjacoby
|
Release: Record bbPress 2.6.21 on trunk.
Move the shipped changes out of Unreleased and update the stable tag and upgrade notice.
In trunk, for 2.7.
|
| [8165]
|
johnjamesjacoby
|
Release: Correct the 2.6.21 changelog boundary.
Move changes committed after the 2.6.20 source tag into the 2.6.21 notes. Keep the finalized 2.6.20 section aligned with its canonical tag, consolidate the related malformed-route notes, and add the planned release links.
In branches/2.6, for 2.6.21.
|
| [8164]
|
johnjamesjacoby
|
Build: Tag bbPress 2.6.21.
|
| [8163]
|
johnjamesjacoby
|
Release: Prepare bbPress 2.6.21.
Update the version metadata and stable tag, record the curated 2.6.21 changelog and upgrade notice, and retain the existing WordPress, PHP, and database compatibility boundaries.
In branches/2.6, for 2.6.21.
|
| [8162]
|
johnjamesjacoby
|
Admin: Correct reduced-motion CSS spacing.
Separate the first rule in the reduced-motion media query from its opening brace to satisfy the CSS lint rule. This allows lint and release builds to continue without changing rendered styles.
In branches/2.6, for 2.6.21.
See #3766.
|
| [8161]
|
johnjamesjacoby
|
Admin: Correct reduced-motion CSS spacing.
Separate the first rule in the reduced-motion media query from its opening brace to satisfy the CSS lint rule. This allows lint and release builds to continue without changing rendered styles.
In trunk, for 2.7.
See #3766.
|
| [8160]
|
johnjamesjacoby
|
Users: Add an automatic role assignment exclusion.
Allow administrators to skip automatic forum role assignment for a user on one site or all sites. Preserve explicit roles and installation-wide Blocked overrides.
Refresh current-user capabilities when a stored forum role is assigned so re-enabling automatic roles takes effect on the next visit. Cover both Auto Role modes, role-map fallback, profile updates, scope transitions, and multisite isolation.
In trunk, for 2.7.
Fixes #3762.
|
| [8159]
|
johnjamesjacoby
|
Administration: Update Credits page for 2.7.
Move Jennifer and Stephen to Project Emeriti, and add Dion to Contributing Developers.
In trunk, for 2.7.
|
| [8158]
|
johnjamesjacoby
|
Admin: Refresh bbPress icons for WordPress 7.2.
Register bbPress SVG forum, topic, reply, and logo icons for WordPress 7.2 while retaining Dashicons on older WordPress versions. Keep the familiar shapes and use the artwork in admin menus, columns, dashboard links, and notices.
Refresh the About and Credits badge with the larger logo and a gently buzzing bee. Respect reduced-motion preferences.
In branches/2.6, for 2.6.21.
Fixes #3766.
|
| [8157]
|
johnjamesjacoby
|
Admin: Refresh bbPress icons for WordPress 7.2.
Register bbPress SVG forum, topic, reply, and logo icons for WordPress 7.2 while retaining Dashicons on older WordPress versions. Keep the familiar shapes and use the artwork in admin menus, columns, dashboard links, and notices.
Refresh the About and Credits badge with the larger logo and a gently buzzing bee. Respect reduced-motion preferences.
In trunk, for 2.7.
See #3766.
|
| [8156]
|
johnjamesjacoby
|
Security: Harden forum content titles.
Filter unsafe markup from forum, topic, and reply titles written through WordPress integrations, and sanitize legacy stored titles when they are displayed. Preserve allowed title markup and existing bbPress title filters.
Use filtered and escaped titles in BuddyPress activity creation and dynamic action formatting, covering both new and existing activity references.
In trunk, for 2.7.
|
| [8155]
|
johnjamesjacoby
|
Tests: Stabilize revision-log date fixtures.
Give topic and reply revision fixtures an older modified date and clear their post caches so consecutive log renders do not straddle a changing second. Preserve the existing output assertions and author/reason coverage.
In trunk, for 2.7.
|
| [8154]
|
johnjamesjacoby
|
Formatting: repair more standalone list items.
Allow implied HTML elements and unrelated SVG or MathML while checking source tag boundaries. Use a temporary tokenizer copy to distinguish real list items from examples in attributes, comments, and raw text.
Keep the existing WordPress 6.9 requirement, preserve the original source bytes, and leave CDATA, ambiguous list-tag spellings, and unsupported structures unchanged.
In trunk, for 2.7.
Fixes #3763, #3764, #3765.
|
| [8153]
|
johnjamesjacoby
|
Users: Return 404 for non-scalar profile queries.
Reject non-scalar bbp_user values before WordPress user lookup so malformed profile requests do not throw a PHP type error. Preserve scalar profile routing and add regression coverage for array input.
In branches/2.6, for 2.6.21.
Props bor0.
From https://github.com/bbpress/bbPress/pull/46.
|
| [8152]
|
johnjamesjacoby
|
Users: Return 404 for non-scalar profile queries.
Reject non-scalar bbp_user values before WordPress user lookup so malformed profile requests do not throw a PHP type error. Preserve scalar profile routing and add regression coverage for array input.
In trunk, for 2.7.
Props bor0.
From https://github.com/bbpress/bbPress/pull/46.
|
| [8151]
|
johnjamesjacoby
|
Forums: Avoid caching failed child lookups.
Skip child and descendant cache writes after database errors so transient failures cannot persist empty or incomplete forum trees. Return immediately after a failed traversal batch so outer password-protected forum lookups retain the error and retry later.
Preserve successful caching, existing filters, and return shapes, and add regression coverage for direct-child, descendant, and password-protected forum lookups.
In branches/2.6, for 2.6.21.
|
| [8150]
|
johnjamesjacoby
|
Tests: Correct BuddyPress multisite permissions.
Grant BuddyPress member engagement tests the narrow network-user capability required to edit another user's subscriptions and favorites on multisite. Remove the temporary capability during teardown so the tests exercise the production edit_user path without relying on super administrator bypass behavior.
In branches/2.6, for 2.6.21.
|
| [8149]
|
johnjamesjacoby
|
Forums: Avoid caching failed child lookups.
Skip child and descendant cache writes after database errors so transient failures cannot persist empty or incomplete forum trees. Return immediately after a failed traversal batch so outer password-protected forum lookups retain the error and retry later.
Preserve successful caching, existing filters, and return shapes, and add regression coverage for direct-child, descendant, and password-protected forum lookups.
In trunk, for 2.7.
|
| [8148]
|
johnjamesjacoby
|
Tests: Correct BuddyPress multisite permissions.
Grant BuddyPress member engagement tests the narrow network-user capability required to edit another user's subscriptions and favorites on multisite. Remove the temporary capability during teardown so the tests exercise the production edit_user path without relying on super administrator bypass behavior.
In trunk, for 2.7.
|
| [8147]
|
johnjamesjacoby
|
BuddyPress: Omit password-protected activity.
Exclude password-protected forum, topic, and reply activity from collections regardless of password cookies or user role. Keep direct activity reads cookie-aware and preserve existing filters.
Cache protected IDs by post type to avoid loading protected posts or checking passwords on every activity query. Retain inherited forum traversal, multisite isolation, and retries after failed lookups.
In branches/2.6, for 2.6.21.
|
| [8146]
|
johnjamesjacoby
|
BuddyPress: Omit password-protected activity.
Exclude password-protected forum, topic, and reply activity from collections regardless of password cookies or user role. Keep direct activity reads cookie-aware and preserve existing filters.
Cache protected IDs by post type to avoid loading protected posts or checking passwords on every activity query. Retain inherited forum traversal, multisite isolation, and retries after failed lookups.
In trunk, for 2.7.
|
| [8145]
|
johnjamesjacoby
|
Formatting: preserve source when wrapping list items.
Use public WordPress HTML APIs to validate straightforward orphan list items, then insert only the missing unordered-list wrappers. Preserve original markup and character references, and leave ambiguous or complicated fragments unchanged.
Avoid source matching for valid lists and skip list-like tag names before creating a parser.
In branches/2.6, for 2.6.21.
See #2357.
|
| [8144]
|
johnjamesjacoby
|
Formatting: preserve source when wrapping list items.
Use public WordPress HTML APIs to validate straightforward orphan list items, then insert only the missing unordered-list wrappers. Preserve original markup and character references, and leave ambiguous or complicated fragments unchanged.
Avoid source matching for valid lists and skip list-like tag names before creating a parser.
In trunk, for 2.7.
See #2357.
|
| [8143]
|
johnjamesjacoby
|
BuddyPress: Preserve inherited password restrictions.
Keep topic and reply activity hidden beneath password-protected forum ancestors, including forum trees with non-countable statuses. Recognize whitespace passwords without relying on padded string comparisons.
Cache password-bearing post IDs and prime posts in bulk while checking password cookies and filters on every activity query. Preserve the existing subforum-ID filter, bound filtered traversal, and avoid caching failed password lookups.
In branches/2.6, for 2.6.21.
|
| [8142]
|
johnjamesjacoby
|
BuddyPress: Preserve inherited password restrictions.
Keep topic and reply activity hidden beneath password-protected forum ancestors, including forum trees with non-countable statuses. Recognize whitespace passwords without relying on padded string comparisons.
Cache password-bearing post IDs and prime posts in bulk while checking password cookies and filters on every activity query. Preserve the existing subforum-ID filter, bound filtered traversal, and avoid caching failed password lookups.
In trunk, for 2.7.
|
| [8141]
|
johnjamesjacoby
|
Formatting: Repair lists containing character references.
Preserve ampersands and character-reference spelling while supplying missing list containers. Avoid decoding punctuation or whitespace before later link and paragraph filters, so ordinary legacy content no longer skips repair.
Validate the parsed structure and decoded text against the original fragment, preserve preformatted newlines, and bound the temporary marker selection. Retain existing fallbacks when safe serialization is unavailable and add regression coverage through both topic and reply getters and their formatting filters.
In branches/2.6, for 2.6.21.
See #2357.
|
| [8140]
|
johnjamesjacoby
|
Formatting: Repair lists containing character references.
Preserve ampersands and character-reference spelling while supplying missing list containers. Avoid decoding punctuation or whitespace before later link and paragraph filters, so ordinary legacy content no longer skips repair.
Validate the parsed structure and decoded text against the original fragment, preserve preformatted newlines, and bound the temporary marker selection. Retain existing fallbacks when safe serialization is unavailable and add regression coverage through both topic and reply getters and their formatting filters.
In trunk, for 2.7.
See #2357.
|
| [8139]
|
johnjamesjacoby
|
Tests: Cover reply topic/forum AJAX previews.
Exercise successful destination previews without saving, denied destination permissions, invalid reply and topic IDs, non-POST requests, and nonce rejection. Confirm rejected previews do not expose destination forum details.
In branches/2.6, for 2.6.21.
See #3724.
|
| [8138]
|
johnjamesjacoby
|
Tests: Cover reply topic/forum AJAX previews.
Exercise successful destination previews without saving, denied destination permissions, invalid reply and topic IDs, non-POST requests, and nonce rejection. Confirm rejected previews do not expose destination forum details.
In trunk, for 2.7.
See #3724.
|
| [8137]
|
johnjamesjacoby
|
Replies: Sync Forum and Reply To with Topic.
Show the selected topic's forum in a read-only dropdown and stage its Reply To choices when an administrator changes Topic. Preview the destination with the same move permissions used on save. Continue deriving the forum from the accepted topic and validating the parent reply on Update, which repairs stale forum metadata without writing during the preview.
In branches/2.6, for 2.6.21.
Props softglaze.
Fixes #3724.
|
| [8136]
|
johnjamesjacoby
|
Replies: Sync Forum and Reply To with Topic.
Show the selected topic's forum in a read-only dropdown and stage its Reply To choices when an administrator changes Topic. Preview the destination with the same move permissions used on save. Continue deriving the forum from the accepted topic and validating the parent reply on Update, which repairs stale forum metadata without writing during the preview.
In trunk, for 2.7.
Props softglaze.
Fixes #3724.
|
| [8135]
|
johnjamesjacoby
|
Formatting: Wrap orphaned list items in content.
Use the WordPress HTML Processor to supply missing unordered list containers in displayed topic and reply content on WordPress 6.9 and newer. Preserve stored content, existing list containers, and block content, and leave older installations unchanged.
Preserve preformatted text across supported parser versions. Skip non-UTF-8 sites, references that could change later formatting, and fragments that cannot be safely serialized. Add regression coverage for the helper and the topic and reply content filters.
In branches/2.6, for 2.6.21.
Props Pebbleontheshore.
Fixes #2357.
|
| [8134]
|
johnjamesjacoby
|
Formatting: Wrap orphaned list items in content.
Use the WordPress HTML Processor to supply missing unordered list containers in displayed topic and reply content on WordPress 6.9 and newer. Preserve stored content, existing list containers, and block content, and leave older installations unchanged.
Preserve preformatted text across supported parser versions. Skip non-UTF-8 sites, references that could change later formatting, and fragments that cannot be safely serialized. Add regression coverage for the helper and the topic and reply content filters.
In trunk, for 2.7.
Props Pebbleontheshore.
Fixes #2357.
|
| [8133]
|
johnjamesjacoby
|
Search: Exclude password-protected content.
Exclude password-protected forums, topics, replies, and protected forum descendants from search results. Keep direct password-cookie access and authorized administration workflows unchanged.
Cache protected forum IDs, follow canonical parents, and retain existing visibility filters without changing parent-topic status rules.
In branches/2.6, for 2.6.21.
|
| [8132]
|
johnjamesjacoby
|
Search: Exclude password-protected content.
Exclude password-protected forums, topics, replies, and protected forum descendants from search results. Keep direct password-cookie access and authorized administration workflows unchanged.
Cache protected forum IDs, follow canonical parents, and retain existing visibility filters without changing parent-topic status rules.
In trunk, for 2.7.
|
| [8131]
|
johnjamesjacoby
|
Users: Add configurable actions for blocked forum users.
Add a forum-role transition API and filterable, capability-gated actions for ending sessions, blocking forum roles across multisite, and marking accounts as spam. A per-user default role override blocks future site visits without writing roles to every site. When a network administrator unblocks the user, clear that override and other Blocked forum roles and reverse spam status set by the blocking action. Preserve existing behavior when no actions are selected.
In trunk, for 2.7.
Props pierlo.
Fixes #3262.
|
| [8130]
|
johnjamesjacoby
|
Theme Compat: Avoid duplicate forum excerpts.
Supply generated bbPress content when an excerpt-based theme requests the synthetic post's empty excerpt, without copying that content into the raw excerpt. This preserves complete forum markup in excerpt-only templates and prevents themes using has_excerpt() from displaying it again before the content. Match only the current synthetic post so ordinary excerpts keep WordPress behavior.
In branches/2.6, for 2.6.21.
Props deborah86.
See #3431.
|
| [8129]
|
johnjamesjacoby
|
Theme Compat: Avoid duplicate forum excerpts.
Supply generated bbPress content when an excerpt-based theme requests the synthetic post's empty excerpt, without copying that content into the raw excerpt. This preserves complete forum markup in excerpt-only templates and prevents themes using has_excerpt() from displaying it again before the content. Match only the current synthetic post so ordinary excerpts keep WordPress behavior.
In trunk, for 2.7.
Props deborah86.
See #3431.
|
| [8128]
|
johnjamesjacoby
|
Akismet: Require HTTPS for moderation requests.
Send topic and reply checks and spam or ham reports to Akismet only over HTTPS. Retry a failed HTTPS request once, then use the existing unavailable-service result instead of falling back to HTTP or honoring a cached SSL-disabled state. Disable redirects and retain certificate verification for these requests.
In trunk, for 2.7.
|
| [8127]
|
johnjamesjacoby
|
Forums: Stop after finding the latest public topic.
Use an ID-ordered, limited lookup for the latest eligible topic when recalculating forum freshness. This lets the database stop once it finds a match while retaining the existing topic-status rules, filtered compatibility path, and reply lookup. The remaining reply query still needs separate work for very large forums.
In branches/2.6, for 2.6.21.
See #3759.
|
| [8126]
|
johnjamesjacoby
|
Forums: Stop after finding the latest public topic.
Use an ID-ordered, limited lookup for the latest eligible topic when recalculating forum freshness. This lets the database stop once it finds a match while retaining the existing topic-status rules, filtered compatibility path, and reply lookup. The remaining reply query still needs separate work for very large forums.
In trunk, for 2.7.
See #3759.
|
| [8125]
|
johnjamesjacoby
|
Replies: Restore topic titles for pending replies.
A pending reply cannot be embedded even when its author or a moderator can read it. Check read permissions for the fallback title when public embedding is unavailable, while keeping unreadable or password-protected parent titles hidden. Share the filtered forum-status check with old-slug redirects without changing either caller's remaining access rules. Leave public oEmbed eligibility unchanged.
In branches/2.6, for 2.6.21.
Props sbask.
Fixes #3760.
|
| [8124]
|
johnjamesjacoby
|
Replies: Restore topic titles for pending replies.
A pending reply cannot be embedded even when its author or a moderator can read it. Check read permissions for the fallback title when public embedding is unavailable, while keeping unreadable or password-protected parent titles hidden. Share the filtered forum-status check with old-slug redirects without changing either caller's remaining access rules. Leave public oEmbed eligibility unchanged.
In trunk, for 2.7.
Props sbask.
See #3760.
|
| [8123]
|
johnjamesjacoby
|
BuddyPress: Respect community visibility in direct forum reads.
Apply the group visibility decision to direct forum read checks, including descendants of attached group forums. This keeps REST, embed, redirect, and shortcode reads consistent with BuddyPress while preserving ordinary public forums and access for community members.
In branches/2.6, for 2.6.21.
|
| [8122]
|
johnjamesjacoby
|
BuddyPress: Respect community visibility in direct forum reads.
Apply the group visibility decision to direct forum read checks, including descendants of attached group forums. This keeps REST, embed, redirect, and shortcode reads consistent with BuddyPress while preserving ordinary public forums and access for community members.
In trunk, for 2.7.
|
| [8121]
|
johnjamesjacoby
|
Akismet: Require HTTPS for moderation requests.
Send topic and reply checks and spam or ham reports to Akismet only over HTTPS. Retry a failed HTTPS request once, then use the existing unavailable-service result instead of falling back to HTTP or honoring a cached SSL-disabled state. Disable redirects and retain certificate verification for these requests.
In branches/2.6, for 2.6.21.
|
| [8120]
|
johnjamesjacoby
|
Forums: Preserve freshness after activity query failure.
The scalar activity query introduced in [8047] and backported in [8048] can fail on very large forums. Return a failure sentinel instead of reading a null row, and retain each updater's own stored ID so last-reply and last-active metadata are not cleared or conflated. Preserve the activity filter's opportunity to supply a replacement value. This guard does not shorten the query.
In branches/2.6, for 2.6.21.
Props bor0.
See #2915.
From https://github.com/bbpress/bbPress/pull/45.
|
| [8119]
|
johnjamesjacoby
|
Topics: Require forum permissions for moves.
Require users moving a topic to be able to edit both its current forum and its destination. Apply the destination check to front-end and administration moves while preserving topic creation in readable forums and authorized moderator moves. Add regression coverage for forum visibility and move permissions.
In branches/2.6, for 2.6.21.
|
| [8118]
|
johnjamesjacoby
|
Topics: Require forum permissions for moves.
Require users moving a topic to be able to edit both its current forum and its destination. Apply the destination check to front-end and administration moves while preserving topic creation in readable forums and authorized moderator moves. Add regression coverage for forum visibility and move permissions.
In trunk, for 2.7.
|
| [8117]
|
johnjamesjacoby
|
Forums: Preserve freshness after activity query failure.
The scalar activity query introduced in [8047] and backported in [8048] can fail on very large forums. Return a failure sentinel instead of reading a null row, and retain each updater's own stored ID so last-reply and last-active metadata are not cleared or conflated. Preserve the activity filter's opportunity to supply a replacement value. This guard does not shorten the query.
In trunk, for 2.7.
Props bor0.
See #2915.
From https://github.com/bbpress/bbPress/pull/45.
|
| [8116]
|
johnjamesjacoby
|
Replies: Stop unreadable old-slug redirects.
Prevent WordPress from redirecting an old reply slug when the reply, its parent topic, or its forum cannot be read by the current visitor. Preserve public and authorized redirects, existing topic behavior, and unrelated post types.
Add regression coverage for restricted forums, reply and topic status, missing relationships, and the underlying WordPress redirect behavior.
In branches/2.6, for 2.6.21.
|
| [8115]
|
johnjamesjacoby
|
Replies: Stop unreadable old-slug redirects.
Prevent WordPress from redirecting an old reply slug when the reply, its parent topic, or its forum cannot be read by the current visitor. Preserve public and authorized redirects, existing topic behavior, and unrelated post types.
Add regression coverage for restricted forums, reply and topic status, missing relationships, and the underlying WordPress redirect behavior.
In trunk, for 2.7.
|
| [8114]
|
johnjamesjacoby
|
BuddyPress: Respect post visibility in activity.
Prevent activity creation for topics and replies protected by their own or an inherited password, regardless of the current visitor's password cookie. Remove activity when an individual topic or reply becomes protected or unpublished, including posts converted to anonymous authorship.
Restore eligible activity when an individual post becomes publicly visible again, including closed topics. Preserve the revision setting for ordinary edits and exclude anonymous posts from activity creation. This change does not bulk-clean historical activity or synchronize descendants when a forum or site changes visibility.
In trunk, for 2.7.
Props ton-ha.
|
| [8113]
|
johnjamesjacoby
|
BuddyPress: Respect post visibility in activity.
Prevent activity creation for topics and replies protected by their own or an inherited password, regardless of the current visitor's password cookie. Remove activity when an individual topic or reply becomes protected or unpublished, including posts converted to anonymous authorship.
Restore eligible activity when an individual post becomes publicly visible again, including closed topics. Preserve the revision setting for ordinary edits and exclude anonymous posts from activity creation. This change does not bulk-clean historical activity or synchronize descendants when a forum or site changes visibility.
In branches/2.6, for 2.6.21.
Props ton-ha.
|
| [8112]
|
johnjamesjacoby
|
Formatting: Keep content link relationships independent.
Restore bbp_rel_nofollow at priority 60 on topic and reply content so existing integrations can continue to remove it. Register bbp_rel_ugc separately at priority 70 and use a named bbp_rel_ugc_callback that adds only ugc.
Preserve WordPress's parsing, escaping, and version-specific internal-link policy. Add regression coverage for independently removing either relationship through the topic and reply getters without changing stored content.
In branches/2.6, for 2.6.21.
See #3318.
|
| [8111]
|
johnjamesjacoby
|
Formatting: Keep content link relationships independent.
Restore bbp_rel_nofollow at priority 60 on topic and reply content so existing integrations can continue to remove it. Register bbp_rel_ugc separately at priority 70 and use a named bbp_rel_ugc_callback that adds only ugc.
Preserve WordPress's parsing, escaping, and version-specific internal-link policy. Add regression coverage for independently removing either relationship through the topic and reply getters without changing stored content.
In trunk, for 2.7.
See #3318.
|
| [8110]
|
johnjamesjacoby
|
Formatting: Mark topic and reply links as user generated.
Add nofollow and ugc relationships to topic and reply content through a dedicated output helper using WordPress's link relationship parser. Preserve existing relationship tokens, attribute escaping, stored content, and the nofollow behavior of generated links and direct helper callers.
Replace the default content callbacks with bbp_rel_ugc at the existing priority. Integrations removing the old bbp_rel_nofollow content callback should remove bbp_rel_ugc instead. This allows WordPress.org to remove its duplicate content callback after deployment.
In branches/2.6, for 2.6.21.
Props diddledani, SirLouen, Otto42.
See #3318.
See [meta9708].
See [meta15045].
|
| [8109]
|
johnjamesjacoby
|
Formatting: Mark topic and reply links as user generated.
Add nofollow and ugc relationships to topic and reply content through a dedicated output helper using WordPress's link relationship parser. Preserve existing relationship tokens, attribute escaping, stored content, and the nofollow behavior of generated links and direct helper callers.
Replace the default content callbacks with bbp_rel_ugc at the existing priority. Integrations removing the old bbp_rel_nofollow content callback should remove bbp_rel_ugc instead. This allows WordPress.org to remove its duplicate content callback after deployment.
In trunk, for 2.7.
Props diddledani, SirLouen, Otto42.
Fixes #3318.
See [meta9708].
See [meta15045].
|
| [8108]
|
johnjamesjacoby
|
Moderation: Clarify per-forum recipient label.
Use the established Per-forum Moderators terminology for moderation notification recipients.
In trunk, for 2.7.
See #3349.
|
| [8107]
|
johnjamesjacoby
|
Attachments: Enforce visibility across request routes.
Check the resolved attachment instead of relying on WordPress's attachment query flag. Clear denied query results after setting a 404 so feeds and later template hooks cannot render restricted attachment metadata. Preserve public media and authorized access.
In branches/2.6, for 2.6.21.
Props antaloaalonso.
|
| [8106]
|
johnjamesjacoby
|
Attachments: Enforce visibility across request routes.
Check the resolved attachment instead of relying on WordPress's attachment query flag. Clear denied query results after setting a 404 so feeds and later template hooks cannot render restricted attachment metadata. Preserve public media and authorized access.
In trunk, for 2.7.
Props antaloaalonso.
|
| [8105]
|
johnjamesjacoby
|
Topics: Require valid forum destinations.
Require front-end topic creation and editing requests to provide a valid forum destination before insertion or movement. Normalize reply destination errors for predictable request handling while preserving omitted redundant reply forum fields.
In branches/2.6, for 2.6.21.
Props ton-ha.
|
| [8104]
|
johnjamesjacoby
|
Topics: Require valid forum destinations.
Require front-end topic creation and editing requests to provide a valid forum destination before insertion or movement. Normalize reply destination errors for predictable request handling while preserving omitted redundant reply forum fields.
In trunk, for 2.7.
Props ton-ha.
|
| [8103]
|
johnjamesjacoby
|
BuddyPress: Enforce group posting permissions.
Validate group membership during topic and reply submission so requests outside BuddyPress group routes cannot bypass group posting restrictions. Preserve configured anonymous posting and moderator access.
In branches/2.6, for 2.6.21.
Props antaloaalonso.
|
| [8102]
|
johnjamesjacoby
|
BuddyPress: Enforce group posting permissions.
Validate group membership during topic and reply submission so requests outside BuddyPress group routes cannot bypass group posting restrictions. Preserve configured anonymous posting and moderator access.
In trunk, for 2.7.
Props antaloaalonso.
|
| [8101]
|
johnjamesjacoby
|
Tests: Cover remaining Meta redirect cases.
Exercise WordPress's full permalink-guess path for a hidden topic request and verify old-slug redirects honor a custom non-public topic status for participants, authors, and moderators. This preserves regression coverage for the final WordPress.org Meta hotfix removals.
In branches/2.6, for 2.6.21.
See #3751.
See #3752.
See [meta:5280].
See [meta:8229].
See [meta:9201].
|
| [8100]
|
johnjamesjacoby
|
Tests: Cover remaining Meta redirect cases.
Exercise WordPress's full permalink-guess path for a hidden topic request and verify old-slug redirects honor a custom non-public topic status for participants, authors, and moderators. This preserves regression coverage for the final WordPress.org Meta hotfix removals.
In trunk, for 2.7.
See #3751.
See #3752.
See [meta:5280].
See [meta:8229].
See [meta:9201].
|
| [8099]
|
johnjamesjacoby
|
Attachments: Respect explicit IDs in redirects.
Prioritize the explicit attachment ID when checking canonical redirects with conflicting request variables. This prevents a larger public post ID from bypassing inherited bbPress visibility while preserving existing fallback behavior for other attachment routes.
Add regression coverage for anonymous, role-less, participant, moderator, and keymaster access.
In branches/2.6, for 2.6.21.
|
| [8098]
|
johnjamesjacoby
|
Administration: Show pending topic and reply counts.
Add moderation-count bubbles to the Topics and Replies administration menus for users with global moderation access. Count only pending bbPress content with an indexed query, cache the result against WordPress post changes, and avoid database work when the menus are unavailable.
Style the bubbles for active menu contrast and add regression coverage for capabilities, caching, invalidation, unrelated content, missing menus, and database failures.
In trunk, for 2.7.
Fixes #3325.
|
| [8097]
|
johnjamesjacoby
|
Canonical: Match route roots case-insensitively.
Normalize the requested path and configured bbPress route roots with WordPress's percent-decoding behavior before comparison. This prevents mixed-case and encoded route requests from bypassing the permalink-guess guard while preserving unrelated similarly prefixed paths.
In branches/2.6, for 2.6.21.
Props dd32.
See #3751.
See [meta:9850].
See meta:#4606.
|
| [8096]
|
johnjamesjacoby
|
Canonical: Match route roots case-insensitively.
Normalize the requested path and configured bbPress route roots with WordPress's percent-decoding behavior before comparison. This prevents mixed-case and encoded route requests from bypassing the permalink-guess guard while preserving unrelated similarly prefixed paths.
In trunk, for 2.7.
Props dd32.
Fixes #3751.
See [meta:9850].
See meta:#4606.
|
| [8095]
|
johnjamesjacoby
|
Attachments: Respect explicit IDs in redirects.
Prioritize the explicit attachment ID when checking canonical redirects with conflicting request variables. This prevents a larger public post ID from bypassing inherited bbPress visibility while preserving existing fallback behavior for other attachment routes.
Add regression coverage for anonymous, role-less, participant, moderator, and keymaster access.
In trunk, for 2.7.
|
| [8094]
|
johnjamesjacoby
|
Canonical: Avoid broad malformed-route guesses.
Prevent WordPress from running broad partial-slug permalink queries for unresolved requests beneath configured bbPress route roots. Preserve canonical guessing for unrelated requests and similarly prefixed paths.
Add regression coverage for the WordPress.org failure reported in #meta3894.
In branches/2.6, for 2.6.21.
Props dd32.
See #3751.
See [meta7806].
|
| [8093]
|
johnjamesjacoby
|
Canonical: Avoid broad malformed-route guesses.
Prevent WordPress from running broad partial-slug permalink queries for unresolved requests beneath configured bbPress route roots. Preserve canonical guessing for unrelated requests and similarly prefixed paths.
Add regression coverage for the WordPress.org failure reported in #meta3894.
In trunk, for 2.7.
Props dd32.
Fixes #3751.
See [meta7806].
|
| [8092]
|
johnjamesjacoby
|
BuddyPress: Require forum access for moderation notice recipients.
Prevent group admins and moderators from receiving moderation notification emails for forums they cannot view, including forums beneath restricted ancestors.
In trunk, for 2.7.
See #3349.
|
| [8091]
|
johnjamesjacoby
|
BuddyPress: Enforce community visibility for group forums.
Apply BuddyPress community visibility permissions to attached group forums. Exclude published group forums from bbPress queries when BuddyPress denies community access, while preserving standalone forum behavior and access for logged-in members.
Cache the published group-forum lookup for the request and add regression coverage for anonymous denial, authenticated roles, standalone forums, query exclusion, and unrestricted communities.
In branches/2.6, for 2.6.21.
Props antaloaalonso.
|
| [8090]
|
johnjamesjacoby
|
BuddyPress: Enforce community visibility for group forums.
Apply BuddyPress community visibility permissions to attached group forums. Exclude published group forums from bbPress queries when BuddyPress denies community access, while preserving standalone forum behavior and access for logged-in members.
Cache the published group-forum lookup for the request and add regression coverage for anonymous denial, authenticated roles, standalone forums, query exclusion, and unrestricted communities.
In trunk, for 2.7.
Props antaloaalonso.
|
| [8089]
|
johnjamesjacoby
|
Moderation: Notify selected users of pending posts.
Add forum settings for Keymasters, global Moderators, per-forum Moderators, and BuddyPress group staff. Send one email when a newly created topic or reply enters the moderation queue after its forum metadata is available. Avoid notifications during imports, conversions, duplicate hooks, and later status transitions, and provide filters for custom recipient types and users.
Add regression coverage for settings, recipients, email delivery, creation paths, status transitions, duplicate hooks, converters, and BuddyPress groups.
In trunk, for 2.7.
Props r-a-y.
Fixes #3349.
|
| [8088]
|
johnjamesjacoby
|
BuddyPress: Normalize activity visibility filters.
Normalize BuddyPress activity action and component filters before deciding whether bbPress visibility conditions are needed. Match BuddyPress's list parsing and case handling, and retain the conditions when PHP cannot safely reproduce SQL comparison semantics.
Add regression coverage for mixed-case, padded, non-ASCII, and numeric filters across restricted and authorized access.
In branches/2.6, for 2.6.21.
Props antaloaalonso.
|
| [8087]
|
johnjamesjacoby
|
BuddyPress: Normalize activity visibility filters.
Normalize BuddyPress activity action and component filters before deciding whether bbPress visibility conditions are needed. Match BuddyPress's list parsing and case handling, and retain the conditions when PHP cannot safely reproduce SQL comparison semantics.
Add regression coverage for mixed-case, padded, non-ASCII, and numeric filters across restricted and authorized access.
In trunk, for 2.7.
Props antaloaalonso.
|
| [8086]
|
johnjamesjacoby
|
Canonical: Protect ID-based redirects.
Resolve ID-based canonical redirect targets using the same query-variable normalization and precedence as WordPress. Prevent restricted forum, topic, and reply permalinks from being disclosed through alternate or conflicting request variables while preserving redirects for readable bbPress content and unrelated post types.
Add regression coverage for request normalization, restricted content, public posts, and authorized users.
In branches/2.6, for 2.6.21.
|