| [7885]
|
johnjamesjacoby
|
Installation: Consume the initial-content flag.
Treat the explicitly stored initial-content option as a one-shot trigger. Disable it after creating starter forum content so later activation passes do not recreate the same forum, topic, and reply. Preserve the existing no-op behavior when the option is absent.
In branches/2.6, for 2.6.20.
Fixes #3723.
|
| [7884]
|
johnjamesjacoby
|
Installation: Consume the initial-content flag.
Treat the explicitly stored initial-content option as a one-shot trigger. Disable it after creating starter forum content so later activation passes do not recreate the same forum, topic, and reply. Preserve the existing no-op behavior when the option is absent.
In trunk, for 2.7.
See #3723.
|
| [7883]
|
johnjamesjacoby
|
Tests: Expand core filter coverage.
Add direct coverage for legacy query-filter bridges and forum, topic, and reply sanitization filters. Exercise the content chain without depending on version-specific KSES output.
In trunk, for 2.7.
See #3706.
|
| [7882]
|
johnjamesjacoby
|
Tests: Expand theme compatibility coverage.
Add direct coverage for template package registration and state, redirects, filter preservation, comment status, and adjacent link behavior.
In trunk, for 2.7.
See #3706.
|
| [7881]
|
johnjamesjacoby
|
BuddyPress Groups: Restore pending topic access.
Route pending group topics by explicit topic ID while preserving their group forum context. Authors and users who can read pending topics can view and edit them with the normal group templates, while invalid and cross-group topic IDs remain unreadable.
Preserve pending-topic redirects and reply pagination without changing published topic permalinks.
In branches/2.6, for 2.6.20.
Props r-a-y.
Fixes #3430.
|
| [7880]
|
johnjamesjacoby
|
Theme Compat: Preserve restored filter priority order.
Restore individual priorities through WP_Hook so callbacks retain their original execution order. Remove exhausted backups so a later restore cannot replace a live hook with an empty legacy array.
In branches/2.6, for 2.6.20.
Fixes #3722.
|
| [7879]
|
johnjamesjacoby
|
Theme Compat: Preserve restored filter priority order.
Restore individual priorities through WP_Hook so callbacks retain their original execution order. Remove exhausted backups so a later restore cannot replace a live hook with an empty legacy array.
In trunk, for 2.7.
See #3722.
|
| [7878]
|
johnjamesjacoby
|
BuddyPress Groups: Restore pending topic access.
Route pending group topics by explicit topic ID while preserving their group forum context. Authors and users who can read pending topics can view and edit them with the normal group templates, while invalid and cross-group topic IDs remain unreadable.
Preserve pending-topic redirects and reply pagination without changing published topic permalinks.
In trunk, for 2.7.
Props r-a-y.
See #3430.
|
| [7877]
|
johnjamesjacoby
|
Tests: Add core action coverage.
Add direct coverage for WordPress and bbPress action bridges, lifecycle ordering, request dispatch, post transitions, filter wrappers, mail filtering, and restricted oEmbed behavior.
In trunk, for 2.7.
See #3706.
|
| [7876]
|
johnjamesjacoby
|
Tests: Expand core function coverage.
Add direct coverage for version and asset helpers, metadata updates, view registration and queries, errors, mentions, status and rewrite IDs, rewrite cleanup, request methods, and runtime state helpers.
In trunk, for 2.7.
See #3706.
|
| [7875]
|
johnjamesjacoby
|
Core: Guard request method helpers.
Return false when the server request method is unavailable so CLI, cron, and other non-HTTP contexts do not emit warnings.
In branches/2.6, for 2.6.20.
Fixes #3719.
|
| [7874]
|
johnjamesjacoby
|
Core: Guard request method helpers.
Return false when the server request method is unavailable so CLI, cron, and other non-HTTP contexts do not emit warnings.
In trunk, for 2.7.
Fixes #3719.
|
| [7873]
|
johnjamesjacoby
|
Core: Reject unknown view queries.
Return false when a view is neither registered nor supplied with filtered query arguments. This prevents unknown view IDs from falling back to the default unrestricted topic query while preserving registered and filter-provided virtual views.
In branches/2.6, for 2.6.20.
Fixes #3718.
|
| [7872]
|
johnjamesjacoby
|
Core: Reject unknown view queries.
Return false when a view is neither registered nor supplied with filtered query arguments. This prevents unknown view IDs from falling back to the default unrestricted topic query while preserving registered and filter-provided virtual views.
In trunk, for 2.7.
Fixes #3718.
|
| [7871]
|
johnjamesjacoby
|
Tests: Support the WordPress 7.2 KSES parser.
Select topic-title expectations using WordPress's active KSES parser mode. This preserves legacy-parser coverage while accounting for the HTML API parser removing script element contents.
In branches/2.6, for 2.6.20.
Fixes #3721.
|
| [7870]
|
johnjamesjacoby
|
Tests: Support the WordPress 7.2 KSES parser.
Select topic-title expectations using WordPress's active KSES parser mode. This preserves legacy-parser coverage while accounting for the HTML API parser removing script element contents.
In trunk, for 2.7.
See #3721.
|
| [7869]
|
johnjamesjacoby
|
Tests: Synchronize BuddyPress current user state.
Mirror BuddyPress's cached logged-in user when bbPress tests switch users. This keeps group membership and moderation capability assertions aligned with the requested WordPress user.
In branches/2.6, for 2.6.20.
Fixes #3720.
|
| [7868]
|
johnjamesjacoby
|
Tests: Synchronize BuddyPress current user state.
Mirror BuddyPress's cached logged-in user when bbPress tests switch users. This keeps group membership and moderation capability assertions aligned with the requested WordPress user.
In trunk, for 2.7.
See #3720.
|
| [7867]
|
johnjamesjacoby
|
Core: Correct template and converter compatibility.
Initialize empty template resolution state, balance the current filter stack on early return, and restore the Vanilla converter's established parent parameter name for PHP 8 named arguments. Remove the converter's redundant constructor and document the preserved template buffer parameter while satisfying current coding standards.
In branches/2.6, for 2.6.20.
Fixes #3716.
Fixes #3717.
|
| [7866]
|
johnjamesjacoby
|
Core: Improve template function coverage.
Add comprehensive coverage for template loading, asset resolution, query-state parsing, and helper contracts. Correct empty template resolution state and restore public parameter names that PHP 8 named arguments expose as part of the API.
In trunk, for 2.7.
See #3706.
See #3716.
See #3717.
|
| [7865]
|
johnjamesjacoby
|
Moderation: Avoid returning after pending notices.
Keep pending submissions in the current request without using the error queue as a control-flow boundary. Only enter redirect handling for submissions that are not pending moderation.
In branches/2.6, for 2.6.20.
See #3353.
|
| [7864]
|
johnjamesjacoby
|
Moderation: Avoid returning after pending notices.
Keep pending submissions in the current request without using the error queue as a control-flow boundary. Only enter redirect handling for submissions that are not pending moderation.
In trunk, for 2.7.
See #3353.
|
| [7863]
|
johnjamesjacoby
|
Tests: Add core extension-loader coverage.
Add direct coverage for unavailable integrations, the Akismet setup hook, the legacy BuddyPress helper, maintenance-mode handling, and state restoration.
In trunk, for 2.7.
See #3706.
|
| [7862]
|
johnjamesjacoby
|
Moderation: Show notices for pending submissions.
Stop redirecting after a newly submitted topic or reply is held for moderation. This keeps the notice in the current request and clears successful form input to avoid duplicate submissions.
In branches/2.6, for 2.6.20.
Props r-a-y.
Fixes #3353.
|
| [7861]
|
johnjamesjacoby
|
Moderation: Show notices for pending submissions.
Stop redirecting after a newly submitted topic or reply is held for moderation. This keeps the notice in the current request and clears successful form input to avoid duplicate submissions.
In trunk, for 2.7.
Props r-a-y.
See #3353.
|
| [7860]
|
johnjamesjacoby
|
Tests: Add core template-loader coverage.
Add direct coverage for template interception, theme-functions loading, selector precedence, template candidate hierarchies, block canvas filtering, and deprecated compatibility.
In trunk, for 2.7.
See #3706.
|
| [7859]
|
johnjamesjacoby
|
Locale: Pass the text domain to the deprecated bridge.
Register the deprecated locale bridge for both arguments so it can recognize the bbPress text domain and continue applying the legacy `bbpress_locale` filter.
In branches/2.6, for 2.6.20.
Fixes #3714.
|
| [7858]
|
johnjamesjacoby
|
Locale: Pass the text domain to the deprecated bridge.
Register the deprecated locale bridge for both arguments so it can recognize the bbPress text domain and continue applying the legacy `bbpress_locale` filter.
In trunk, for 2.7.
See #3714.
|
| [7857]
|
johnjamesjacoby
|
Tests: Expand core cache coverage.
Add direct coverage for legacy cache-suspension compatibility, post-cache recursion, cache actions, root invalidation, and user-count cache invalidation. Correct existing child-cache assertions so they use the intended cache-key hashes.
In trunk, for 2.7.
See #3706, #3713.
|
| [7856]
|
johnjamesjacoby
|
Cache: Recognize capabilities keys without underscores.
Invalidate cached forum-user counts for metadata keys ending in capabilities, including keys generated by valid WordPress table prefixes without a trailing underscore.
In trunk, for 2.7.
Fixes #3713.
|
| [7855]
|
johnjamesjacoby
|
Forums: Correct status introduction version.
Update the Forum Status annotations after the feature was backported to the 2.6 branch for bbPress 2.6.20.
In trunk, for 2.7.
See #3702.
|
| [7854]
|
johnjamesjacoby
|
Forums: Backport the site-wide status setting.
Introduce open, closed, and frozen posting policies. Closed reserves new topics and replies for Keymasters and site-wide Moderators. Frozen stops ordinary forum, topic, and reply creation, while allowing BuddyPress Group Forum creation, and reserves edits of existing forum content for Keymasters and site-wide Moderators.
Expose the control in Forums Settings, enforce it through capabilities, forms, REST, and XML-RPC, and add PHPUnit coverage.
In branches/2.6, for 2.6.20.
See #3702.
|
| [7853]
|
johnjamesjacoby
|
Theme Compat: Support excerpt-based templates.
Populate the synthetic post excerpt with generated theme-compatibility content unless an explicit excerpt is supplied. This preserves complete bbPress markup when classic themes use the_excerpt() for archive-style requests without changing query classification or affecting ordinary excerpts.
In branches/2.6, for 2.6.20.
Props deborah86.
Fixes #3431.
|
| [7852]
|
johnjamesjacoby
|
Theme Compat: Support excerpt-based templates.
Populate the synthetic post excerpt with generated theme-compatibility content unless an explicit excerpt is supplied. This preserves complete bbPress markup when classic themes use the_excerpt() for archive-style requests without changing query classification or affecting ordinary excerpts.
In trunk, for 2.7.
Props deborah86.
See #3431.
|
| [7851]
|
johnjamesjacoby
|
Forums: Add a site-wide status setting.
Introduce open, closed, and frozen posting policies. Closed reserves new topics and replies for Keymasters and site-wide Moderators. Frozen stops ordinary forum, topic, and reply creation, while allowing BuddyPress Group Forum creation, and reserves edits of existing forum content for Keymasters and site-wide Moderators.
Expose the control in Forums Settings, enforce it through capabilities, forms, REST, and XML-RPC, and add PHPUnit coverage.
In trunk, for 2.7.
Fixes #3702.
|
| [7850]
|
johnjamesjacoby
|
Engagements: Restore privileged profile controls.
Allow users with permission to edit another user to remove that user's favorites and subscriptions from the default bbPress profile. Centralize target-user authorization, preserve current-user AJAX behavior, and limit displayed-user inference to the matching engagement views.
In branches/2.6, for 2.6.20.
Props jgasba.
Fixes #3687.
|
| [7849]
|
johnjamesjacoby
|
Engagements: Restore privileged profile controls.
Allow users with permission to edit another user to remove that user's favorites and subscriptions from the default bbPress profile. Centralize target-user authorization, preserve current-user AJAX behavior, and limit displayed-user inference to the matching engagement views.
In trunk, for 2.7. Also in branches/2.6 for 2.6.20.
Props jgasba.
See #3687.
|
| [7848]
|
johnjamesjacoby
|
Security: Prevent shortcodes in forum content.
Prevent WordPress content loops from executing shortcodes stored in forum, topic, reply, and extension-defined bbPress post content. Preserve shortcodes in ordinary Pages, classic Page Templates, and forum and topic root Pages, with a filterable allow-list for intentional integrations.
In branches/2.6, for 2.6.20.
|
| [7847]
|
johnjamesjacoby
|
Security: Prevent shortcodes in forum content.
Prevent WordPress content loops from executing shortcodes stored in forum, topic, reply, and extension-defined bbPress post content. Preserve shortcodes and bbPress blocks in ordinary Pages, classic Page Templates, and forum and topic root Pages, with a filterable allow-list for intentional integrations.
In trunk, for 2.7.
|
| [7846]
|
johnjamesjacoby
|
Administration: Correct topic reply pagination.
Use the reply query's found post count and maximum page count for the topic edit Replies metabox. This keeps pagination values numeric and prevents the edit screen from failing when formatted reply counts contain thousands separators.
This also keeps metabox pagination aligned with non-public replies visible to moderators.
In branches/2.6, for 2.6.20.
Props chefranov.
Fixes #3712.
|
| [7845]
|
johnjamesjacoby
|
Administration: Correct topic reply pagination.
Use the reply query's found post count and maximum page count for the topic edit Replies metabox. This keeps pagination values numeric and prevents the edit screen from failing when formatted reply counts contain thousands separators.
This also keeps metabox pagination aligned with non-public replies visible to moderators.
In trunk, for 2.7.
Props chefranov.
See #3712.
|
| [7844]
|
johnjamesjacoby
|
Subscriptions: Restore nonce compatibility.
Restore the established subscription-link nonce action for compatibility with third-party theme package AJAX handlers. Keep the post object type and read-permission validation introduced in 2.6.19, while continuing to accept both nonce formats.
Add regression coverage for forum and topic links, both generated nonce locations, and both accepted request formats.
In the 2.6 branch, for 2.6.20.
Fixes #3711.
|
| [7843]
|
johnjamesjacoby
|
Subscriptions: Restore nonce compatibility.
Restore the established subscription-link nonce action for compatibility with third-party theme package AJAX handlers. Keep the post object type and read-permission validation introduced in 2.6.19, while continuing to accept both nonce formats.
Add regression coverage for forum and topic links, both generated nonce locations, and both accepted request formats.
In trunk, for 2.7.
See #3711.
|
| [7842]
|
johnjamesjacoby
|
Replies: Use the reply topic for position classes.
Pass the reply's topic ID when calculating an unstored reply position for its CSS class. This avoids falling back to an unrelated current topic, preserves the correct class, and allows the calculated position to be saved.
In branches/2.6, for 2.6.20.
Props chefranov.
Fixes #3710.
|
| [7841]
|
johnjamesjacoby
|
Replies: Use the reply topic for position classes.
Pass the reply's topic ID when calculating an unstored reply position for its CSS class. This avoids falling back to an unrelated current topic, preserves the correct class, and allows the calculated position to be saved.
In trunk, for 2.7.
Props chefranov.
See #3710.
|
| [7840]
|
johnjamesjacoby
|
Akismet: Send the unformatted author post count.
Pass the integer count to Akismet so an author's post total is not truncated at a thousands separator. Keep the cast to send zero for anonymous authors, and cover counts around the boundary.
In branches/2.6, for 2.6.20.
Props chefranov.
Fixes #3709.
|
| [7839]
|
johnjamesjacoby
|
Akismet: Send the unformatted author post count.
Pass the integer count to Akismet so an author's post total is not truncated at a thousands separator. Keep the cast to send zero for anonymous authors, and cover counts around the boundary.
In trunk, for 2.7.
Props chefranov.
See #3709.
|
| [7838]
|
johnjamesjacoby
|
BuddyPress: Resolve group forum context before navigation.
Run group-forum conditionals and the Forum tab check after BuddyPress parses rewrite URLs, before group navigation is set up. Keep the immediate path for legacy URLs and already-parsed requests.
In trunk, for 2.7. Also in branches/2.6 for 2.6.20.
Props r-a-y.
See #3655.
|
| [7837]
|
johnjamesjacoby
|
BuddyPress: Resolve group forum context before navigation.
Run group-forum conditionals and the Forum tab check after BuddyPress parses rewrite URLs, before group navigation is set up. Keep the immediate path for legacy URLs and already-parsed requests.
In branches/2.6, for 2.6.20.
Props r-a-y.
Fixes #3655.
|
| [7836]
|
johnjamesjacoby
|
Forums: Improve restricted group forum access and queries.
Defer group-page filters until BuddyPress parses rewrite URLs. Allow active group members without a bbPress role to read their private group forums, topics, and replies while preserving ancestor and content restrictions. Batch descendant lookups and prime forum capability data to avoid per-forum queries on large installations.
In trunk, for 2.7. Also in branches/2.6 as r7833.
Props r-a-y.
See #3693.
|
| [7835]
|
johnjamesjacoby
|
Topics: Preserve non-public replies during merges.
Move pending, spam, and trashed replies with the source topic so their parent, forum, and topic references remain valid after a merge.
In branches/2.6, for 2.6.20.
Props mehrazmorshed.
Fixes #3708.
|
| [7834]
|
johnjamesjacoby
|
Topics: Preserve non-public replies during merges.
Move pending, spam, and trashed replies with the source topic so their parent, forum, and topic references remain valid after a merge.
In trunk, for 2.7.
Props mehrazmorshed.
See #3708.
|
| [7833]
|
johnjamesjacoby
|
Forums: Improve restricted group forum access and queries.
Defer group-page filters until BuddyPress parses rewrite URLs. Allow active group members without a bbPress role to read their private group forums, topics, and replies while preserving ancestor and content restrictions. Batch descendant lookups and prime forum capability data to avoid per-forum queries on large installations.
In branches/2.6, for 2.6.20.
Props r-a-y.
Fixes #3693.
|
| [7832]
|
johnjamesjacoby
|
Tests: Add core capability coverage.
Add direct coverage for capability maps, dynamic role lifecycle, filters, actions, WordPress role mutations, recursion guards, deprecated helpers, and cleanup behavior.
In trunk, for 2.7.
See #3706.
|
| [7831]
|
johnjamesjacoby
|
Core: Add the public threaded-replies filter.
Preserve the legacy underscored filter, then pass its result through `bbp_allow_threaded_replies` so extensions can use the public option API consistently. Add regression coverage for both hooks and their order.
In branches/2.6, for 2.6.20.
Fixes #3707.
|
| [7830]
|
johnjamesjacoby
|
Core: Add the public threaded-replies filter.
Preserve the legacy underscored filter, then pass its result through `bbp_allow_threaded_replies` so extensions can use the public option API consistently. Add comprehensive coverage for core option defaults, lifecycle hooks, preloading strategies, feature flags, numeric settings, integration modes, and slugs.
In trunk, for 2.7.
See #3706.
See #3707.
|
| [7829]
|
johnjamesjacoby
|
BuddyPress: Avoid unrelated capability queries.
Check for group forum capabilities before looking up the object post type. This avoids unnecessary database queries during unrelated capability checks while preserving the existing capability filter.
Add regression coverage for the skipped query and filtered return value.
In branches/2.6, for 2.6.20.
Props r-a-y.
Fixes #3694.
|
| [7828]
|
johnjamesjacoby
|
Topics/Replies: Require passwords before posting.
Apply existing ancestor-aware password requirements during front-end topic and reply submissions. Add regressions for denied and authorized submissions, including nested forums.
In branches/2.6, for 2.6.20.
|
| [7827]
|
johnjamesjacoby
|
Topics/Replies: Require passwords before posting.
Apply existing ancestor-aware password requirements during front-end topic and reply submissions. Add regressions for denied and authorized submissions, including nested forums.
In trunk, for 2.7.
|
| [7826]
|
johnjamesjacoby
|
Tests: Complete skipped-test audit.
Run URL assertions on multisite, where they now pass, and correct BuddyPress group test fixtures so nonce and capability paths execute in the intended request context. Document the remaining dynamic group activity limitation.
In trunk, for 2.7.
See #3705.
Fixes #3695.
|
| [7825]
|
johnjamesjacoby
|
Tests: Cover user roles and moderator helpers.
Exercise forum-role assignment, activity and profile visibility, and moderator relationships. Identify existing profile-permission coverage.
In trunk, for 2.7.
See #3695.
|
| [7824]
|
johnjamesjacoby
|
Users: Avoid unrelated object moderators.
Skip the unrestricted user query when an object has no assigned moderator IDs. Preserve global moderator lookup and the result filter, and cover empty, assigned, and removed relationships.
In branches/2.6, for 2.6.20.
Fixes #3704.
|
| [7823]
|
johnjamesjacoby
|
Users: Avoid unrelated object moderators.
Skip the unrestricted user query when an object has no assigned moderator IDs. Preserve global moderator lookup and the result filter, and cover empty, assigned, and removed relationships.
In trunk, for 2.7.
See #3704.
|
| [7822]
|
johnjamesjacoby
|
Tests: Cover user signup and invitation roles.
Exercise role-field permissions, signup validation, invitation metadata, and activation role assignment on single-site and multisite installs.
In trunk, for 2.7.
See #3695.
|
| [7821]
|
johnjamesjacoby
|
Tests: Cover user nicename and author-change helpers.
Exercise nicename lookup and ID conversion, including input sanitization and filters. Assert that changing topic and reply authors recalculates engagement membership, and identify existing profile-permission coverage.
In trunk, for 2.7.
See #3695.
|
| [7820]
|
johnjamesjacoby
|
Tests: Cover anonymous author cookies.
Use a one-request loopback PHP server to inspect the Set-Cookie headers emitted by the anonymous author helper. Verify name, email, and website values without changing runtime behavior.
In trunk, for 2.7.
See #3695.
|
| [7819]
|
johnjamesjacoby
|
Tests: Cover topic and reply RSS feeds.
Run feed renderers in isolated PHP subprocesses so their exits do not terminate PHPUnit. Assert RSS structure, public items, protected topic redaction, and private-topic reply exclusion.
In trunk, for 2.7.
See #3695.
|
| [7818]
|
johnjamesjacoby
|
Tests: Cover user profile rejection paths.
Verify anonymous cookie input guards, user edit nonce and email validation, and email confirmation rejection. Keep successful cookie headers marked for an HTTP test harness.
In trunk, for 2.7.
See #3695.
|
| [7817]
|
johnjamesjacoby
|
Topics/Replies: Document unused count helpers.
Mark the insert count update helpers as deprecated in documentation. They remain callable for extensions, while count updates continue through post-status transitions.
In branches/2.6, for 2.6.20.
See #3695.
|
| [7816]
|
johnjamesjacoby
|
Topics/Replies: Document unused count helpers.
Mark the insert count update helpers as deprecated in documentation. They remain callable for extensions, while count updates continue through post-status transitions.
In trunk, for 2.7.
See #3695.
|
| [7815]
|
johnjamesjacoby
|
Tests: Cover reply toggle and threading.
Exercise spam and trash round trips, redirect and filter arguments, and threaded reply settings and profile behavior.
In trunk, for 2.7.
See #3695.
|
| [7814]
|
johnjamesjacoby
|
Topics: Unstick topics using strict ID offsets.
Use strict array_search() when locating a sticky topic, matching the existing strict membership check. Add regression coverage for mixed-type filtered sticky IDs.
In branches/2.6, for 2.6.20.
Fixes #3703.
|
| [7813]
|
johnjamesjacoby
|
Tests: Cover strict topic unstick offsets.
Check that a numeric-string sticky ID does not displace the integer topic ID when unsticking a topic. Trunk already uses strict comparison.
In trunk, for 2.7.
See #3703.
|
| [7812]
|
johnjamesjacoby
|
Tests: Cover reply toggle and edit permissions.
Check missing and unauthorized reply toggles, successful approval and redirect, and reply edit access. Remove redundant new, edit, and move handler placeholders already covered by permission tests.
In trunk, for 2.7.
See #3695.
|
| [7811]
|
johnjamesjacoby
|
Tests: Cover topic submission and edit handlers.
Replace incomplete stubs with checks for topic creation, editing, permission denials, moderation toggles, and edit redirects. Remove merge and split placeholders already covered by dedicated permission tests.
In trunk, for 2.7.
See #3695.
|
| [7810]
|
johnjamesjacoby
|
Topic Tags: Backport explicit tag fixes to 2.6.
Pass explicit topic tags to edit-link generation and description filters, with regression coverage for both behaviors.
In branches/2.6, for 2.6.20.
Fixes #3700.
Fixes #3701.
|
| [7809]
|
johnjamesjacoby
|
Topic Tags: Respect explicit tags in edit links and descriptions.
Pass the resolved tag to edit-link generation for both permalink styles, and initialize the explicit tag before passing it to description filters. Add regression coverage for missing tags, output, permalink styles, and filter context.
In trunk, for 2.7.
See #3700.
See #3701.
See #3695.
|
| [7808]
|
johnjamesjacoby
|
Replies: Backport ancestry and position fixes.
Stop reply ancestry before appending an invalid zero ID, and avoid position updates when the stored menu order is unchanged. Add focused PHPUnit regressions for both behaviors.
In branches/2.6, for 2.6.20.
Fixes #3698.
Fixes #3699.
|
| [7807]
|
johnjamesjacoby
|
Replies: Correct ancestry and position comparisons.
Stop threaded reply ancestry at the root instead of appending a zero ID, and compare normalized integer positions so unchanged replies do not trigger redundant writes. Add regression coverage for both cases.
In trunk, for 2.7.
See #3698.
See #3699.
See #3695.
|
| [7806]
|
johnjamesjacoby
|
Tests: Cover user profile edit permissions.
Replace the user-edit authorization stub with assertions for non-edit pages, denied users, self-editing, administrators, and the edit-any override. Inspect redirect decisions without exiting the PHPUnit process.
In trunk, for 2.7.
See #3695.
|
| [7805]
|
johnjamesjacoby
|
Tests: Cover user notification, profile hooks, and blocking.
Replace three user-function stubs with assertions for email-change notices, profile action routing, and blocked-user 404 enforcement. Keep request handlers for separate integration coverage.
In trunk, for 2.7.
See #3695.
|
| [7804]
|
johnjamesjacoby
|
Tests: Cover threaded reply list output.
Verify supported and fallback wrappers, pagination state, and reply-loop cleanup using a controlled walker.
In trunk, for 2.7.
See #3695.
|
| [7803]
|
johnjamesjacoby
|
Tests: Cover reply metadata and lifecycle helpers.
Replace thirteen reply-function stubs with assertions for update metadata, revision logs, lifecycle hooks, pagination options, autoembed setup, lead-topic SQL, and raw positions.
In trunk, for 2.7.
See #3695.
|
| [7802]
|
johnjamesjacoby
|
Tests: Cover topic update metadata paths.
Verify edit lock cleanup and forum/topic identifiers on edits, plus last activity and reply-count metadata on new-topic updates.
In trunk, for 2.7.
See #3695.
|
| [7801]
|
johnjamesjacoby
|
Tests: Cover topic lifecycle hooks and metadata.
Replace seven topic-function stubs with assertions for revision logs, delete and trash action dispatch, and selective reply trashing.
In trunk, for 2.7.
See #3695.
|
| [7800]
|
johnjamesjacoby
|
Tests: Cover topic metadata and option helpers.
Replace ten topic-function stubs with assertions for status and type choices, sticky lists, user relationship cleanup, topic IDs, pagination options, and autoembed hooks.
In trunk, for 2.7.
See #3695.
|
| [7799]
|
johnjamesjacoby
|
Tests: Cover private group forum upgrades.
Remove a stub for the retired group-forum repair function and verify that its upgrade replacement remaps a legacy forum ID and hides a private group's forum.
In trunk, for 2.7.
See #3695.
|
| [7798]
|
johnjamesjacoby
|
Tests: Cover the admin reset page and guards.
Initialize the bbPress admin test dependency so this file runs independently, then replace stale reset stubs with page-rendering and non-resetting request assertions.
In trunk, for 2.7.
See #3695.
|
| [7797]
|
johnjamesjacoby
|
Tests: Cover role, freshness, and visibility repairs.
Verify that admin repair routines remap forum roles, rebuild topic and forum freshness metadata, and recalculate private and hidden forum lists.
In trunk, for 2.7.
See #3695.
|
| [7796]
|
johnjamesjacoby
|
Tests: Cover user relationship repair routines.
Verify that favorite, topic subscription, and forum subscription repairs retain published objects while removing trashed objects from stored user relationships.
In trunk, for 2.7.
See #3695.
|
| [7795]
|
johnjamesjacoby
|
Tests: Cover four admin repair routines.
Replace repair stubs with assertions for stale sticky relationships, closed-topic metadata, topic-parent metadata, and self-referential reply ancestry.
In trunk, for 2.7.
See #3695.
|
| [7794]
|
johnjamesjacoby
|
Tests: Cover user request and anonymous helpers.
Replace six user-function stubs with assertions for login redirect selection, anonymous posting eligibility, commenter cookie reads and output escaping, IP sanitization, and user-agent length limits.
In trunk, for 2.7.
See #3695.
|
| [7793]
|
johnjamesjacoby
|
Tests: Cover reply action links and pagination.
Replace the remaining reply-link template stubs with assertions for action URLs, custom text, moderation status transitions, threaded reply cancellation, pagination, and output wrappers.
In trunk, for 2.7.
See #3695.
|
| [7792]
|
johnjamesjacoby
|
Tests: Cover topic template links.
Replace fourteen incomplete stubs with checks for engagement, reply, moderation, edit, and pagination links across their relevant topic states.
In trunk, for 2.7.
See #3695.
|
| [7791]
|
johnjamesjacoby
|
Tests: Cover topic tag template basics.
Replace seven incomplete stubs with checks for tag lists, taxonomy metadata, explicit tag lookup, and links. Leave edit-link and description behavior for a separately reviewed source fix.
In trunk, for 2.7.
See #3695.
|
| [7790]
|
johnjamesjacoby
|
Tests: Cover topic tag function behavior.
Replace five incomplete stubs with checks for tag preservation, restoration, names, and rejected management requests. Record redirecting paths for integration coverage.
In trunk, for 2.7.
See #3695.
|
| [7789]
|
johnjamesjacoby
|
Tests: Cover core update lifecycle helpers.
Replace eight incomplete stubs with checks for install and update detection, plugin activation state, version bumps, activation redirects, and keymaster promotion.
In trunk, for 2.7.
See #3695.
|
| [7788]
|
johnjamesjacoby
|
Tests: Cover engagement handler rejection paths.
Replace three incomplete stubs with checks for missing objects, unsupported actions, invalid nonces, and unchanged engagement state. Record the redirecting success path for integration coverage.
In trunk, for 2.7.
See #3695.
|
| [7787]
|
johnjamesjacoby
|
Tests: Cover parent queries and anonymous counts.
Replace two incomplete stubs with checks for parent include and exclude filters, WordPress-native behavior, and anonymous topic and reply counts.
In trunk, for 2.7.
See #3695.
|
| [7786]
|
johnjamesjacoby
|
Tests: Cover topic and reply form templates.
Replace 17 incomplete stubs with checks for form defaults, submitted and edit values, dropdown output, and nonce validation.
In trunk, for 2.7.
See #3695.
|