Skip to:
Content

bbPress.org

{33} Commit Messages, Current Release (5544 matches)

Report designed to help manage the list of contributors.

Note: If you'd like a RSS feed of the changesets a they happen, Please use ​the timeline rss feed instead.

Results (4701 - 4800 of 5544)

Changeset Author Message
[4099] johnjamesjacoby Topic Tags: * Use correct setting key in settings field registration array. * See #1806.
[4166] johnjamesjacoby Topic Tags: * When posting a topic or reply, check that user can assign tags to topics. * If user cannot assign tags, and topic-tag value is not set, use existing topic tags.
[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.
[6720] johnjamesjacoby Topic Tags: Check for post ID when checking `assign_topic_tags`. This change adds a fallback value for the standard `assign_terms` capability check, and fixes a few test errors introduced in r6714.
[7466] johnjamesjacoby Topic Tags: Escape names before template output. This change hardens all current topic-tag name presentation contexts, including copied template overrides, by applying HTML escaping through the existing getter filter. It preserves extension behavior at the standard filter priority and avoids double-encoding stored entities. In 2.6, for 2.6.16. Props faran66.
[7465] johnjamesjacoby Topic Tags: Escape names before template output. This change hardens all current topic-tag name presentation contexts, including copied template overrides, by applying HTML escaping through the existing getter filter. It preserves extension behavior at the standard filter priority and avoids double-encoding stored entities. In trunk, for 2.7. Props faran66.
[6254] johnjamesjacoby Topic Tags: Introduce `bbp_update_topic_tag_count()` and include public/closed statuses in counts. Fixes #3043.
[7509] johnjamesjacoby Topic Tags: Prevent unauthorized tag removal. Introduce a per-topic, per-tag `remove_topic_tag` meta capability and preserve topic tags a user cannot remove when processing topic and reply forms. This prevents anonymous submissions from clearing existing tags while preserving current behavior for participants and moderators. In trunk, for 2.7. Props nomadsyndiode.
[7510] johnjamesjacoby Topic Tags: Prevent unauthorized tag removal. Introduce a per-topic, per-tag `remove_topic_tag` meta capability and preserve topic tags a user cannot remove when processing topic and reply forms. This prevents anonymous submissions from clearing existing tags while preserving current behavior for participants and moderators. This backport also restores anonymous read capability mapping for public forum content so enabled guest posting continues through the current reply handler checks. In branches/2.6, for 2.6.16. Props nomadsyndiode.
[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.
[6450] johnjamesjacoby Topic Tags: When deleting a topic tag, redirect to the forum root. `home_url()` was a bit too jarring; no one expects to get kicked out of the forums entirely.
[6884] johnjamesjacoby Topic Tags: remove extraneous `span` tag from topic-tag titles when theme-compat is employed. This change removes a `span` tag that was originally required before support for topic-tag-edit templates was added. Props mechter. Fixes #3236.
[6453] johnjamesjacoby Topic Tags: set `is_archive` to `true` when viewing a topic tag archive. Fixes #3071.
[3950] johnjamesjacoby Topic Views: * Prevent possible byref object errors in bbp_register_view().
[7211] johnjamesjacoby Topic Views: do not sanitize `$view` parameter of `bbp_get_view_id()`. (Removes the call to `sanitize_key()` inside of `bbp_get_view_id()`.) This change ensures that when checking for a registered view, the literal value is used for comparisons and not the sanitized version of it. This matches the behavior of other `_get_*_id()` functions, and also fixes a bug causing these invalid view IDs not to 404 as intended. Props johnjamesjacoby, dd32. In branches/2.6, for 2.6.7. See #3438.
[7212] johnjamesjacoby Topic Views: do not sanitize `$view` parameter of `bbp_get_view_id()`. (Removes the call to `sanitize_key()` inside of `bbp_get_view_id()`.) This change ensures that when checking for a registered view, the literal value is used for comparisons and not the sanitized version of it. This matches the behavior of other `_get_*_id()` functions, and also fixes a bug causing these invalid view IDs not to 404 as intended. Props johnjamesjacoby, dd32. In trunk, for 2.7. Fixes #3438.
[6930] johnjamesjacoby Topic Views: pass view ID into body class. This commit does a quick audit of Topic View API functions, and ensures their return values are as documented. This allows for safely adding the Topic View ID as a class to the body element of the page when viewing a single Topic View. Fixes #3278. Props Clorith.
[4255] johnjamesjacoby Topic and Reply Editing: * Fix issue with "Edit" admin links having 'view=all' argument incorrectly positioned. * Fix issue with post_status being set back to public when editing. * Conditionally set post_status to pending if needs moderation. * Fixes #1977.
[4124] johnjamesjacoby Topic and Reply Widgets: * Add 'show_user' option, to toggle display of user and Avatar. * Update reply widget to use time_since. * Fixes #1903. * Props jaredatch.
[4970] johnjamesjacoby Topic and reply admin links don't work correctly from search results pages yet, so remove the output and logic from default template parts.
[3348] johnjamesjacoby Topic tag audit. Split topic tag edit form into its own template file. Rename the topic_tag_id global to topic_tag_tax_id. Add missing topic tag template tags and functions.
[3101] johnjamesjacoby Topic tags are now self policing. Previously any member could add topic tags but only moderators could remove them. Also save reply form values if error occurs while posting a reply. Fixes #1466. Props cnorris23 for original patch.
[4562] johnjamesjacoby Topic/Reply admin links: * Add filters to links arrays. * Props mordauk. * Fixes #2090.
[7255] johnjamesjacoby Topic/Reply: improvements to status updates. This change includes 2 fixes: * Prefer `$topic_id` over `$topic->ID`, and use it (instead of `$forum_id`) when checking for moderation capability * Add missing logic in `bbp_edit_reply_handler()` that was preventing statuses from saving as intended See #2644. In branches/2.6, for 2.6.10.
[6290] johnjamesjacoby Topic: update phpdoc for `bbp_get_topic_last_reply_id()` and `bbp_get_topic_last_active_time()`. Props SergeyBiryukov. Fixes #3060.
[7349] johnjamesjacoby Topics - Template: Add missing output condition where voice count is 0 but last-activity exists. This change fixes a bug where topics created by anonymous users would show the "This topic is empty" fallback text in the topic description, when the topic was obviously not empty. In trunk, for 2.7. Fixes #3652.
[2834] johnjamesjacoby Topics widget should not show stickies out of order.
[7362] johnjamesjacoby Topics/Replies: Add CSS class for user roles in topics/replies. This commit improves the ability target specific author roles anywhere single topic or reply author meta is shown. Props douglsmith, mikachan, netweb, robinwpdeveloper, rudlinkon, sirlouen. In trunk, for 2.7. Fixes #2692.
[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.
[7680] johnjamesjacoby Topics/Replies: Enforce edit lock on form submissions. Backport author edit-window checks to the front-end topic and reply submission handlers. Preserve moderator edits and sites with an unlimited edit window. In branches/2.6, for 2.6.19.
[7679] johnjamesjacoby Topics/Replies: Enforce edit lock on form submissions. Check the author edit window in both front-end edit handlers, regardless of the URL used to submit the form. Preserve moderator edits and sites with an unlimited edit window. In trunk, for 2.7.
[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.
[7972] johnjamesjacoby Topics/Replies: Support custom post date formats. Add an optional date format parameter to the topic and reply post-date template functions. Preserve the configured WordPress date format as the default, document the humanized-output behavior, and pass the effective format through the existing filters. In trunk, for 2.7. Props Palagrin. See #3427.
[7973] johnjamesjacoby Topics/Replies: Support custom post date formats. Add an optional date format parameter to the topic and reply post-date template functions. Preserve the configured WordPress date format as the default, document the humanized-output behavior, and pass the effective format through the existing filters. Merges [7972] to the 2.6 branch. In branches/2.6, for 2.6.20. Props Palagrin. Fixes #3427.
[6931] johnjamesjacoby Topics/Replies: improved support for replies without topics. This commit removes an assumptive call to `bbp_get_topic()` and avoids a debug notice when a reply is orphaned. See #3226.
[7411] johnjamesjacoby Topics/Replies: prevent anonymous users from editing existing content. This commit ensures that unauthenticated users cannot edit existing topics or replies, including anonymously authored content. It applies edit capability checks consistently in front-end handlers, and prevents user ID `0` from being treated as a matching post author. Includes regression tests for capability mapping and direct edit submissions. In branches/2.6, for 2.6.15.
[7410] johnjamesjacoby Topics/Replies: prevent anonymous users from editing existing content. This commit ensures that unauthenticated users cannot edit existing topics or replies, including anonymously authored content. It applies edit capability checks consistently in front-end handlers, and prevents user ID `0` from being treated as a matching post author. Includes regression tests for capability mapping and direct edit submissions. In trunk, for 2.7.
[4531] johnjamesjacoby Topics: * Use correct filter in bbp_current_user_can_publish_topics(). * Props netweb. * Fixes #2072 (2.2 branch)
[4532] johnjamesjacoby Topics: * Use correct filter in bbp_current_user_can_publish_topics(). * Props netweb. * Fixes #2072 (trunk)
[5901] johnjamesjacoby Topics: Add `edit_reply` capability check to "Edit" row-action link. See #2842.
[6362] netweb Topics: Allow `pending` topics to be edited on the front end. This changeset in `bbp_get_topic_edit_url()` switches from detecting pretty permalinks using `bbp_use_pretty_urls()` to detect the query string for `?` instead, this is due to pending topics always have ugly permalinks. Props SergeyBiryukov. See #3054.
[5680] johnjamesjacoby Topics: Audit `template.php`: * Add filters to `is_sticky` functions * Pass `$args` into more filters * Escape more gettext output * Fix a few `bbp_parse_args` filter names copied from forums component * Un-nest a few complex-looking lines
[6143] johnjamesjacoby Topics: Break apart some lengthy inline conditions. See #3032.
[6098] netweb Topics: Call `bbp_move_topic_handler()` when moving a topic to a new forum in the back end. This changeset ensures that both the source and destination forums meta is updated when a topic is moved. Fixes #2587.
[5705] johnjamesjacoby Topics: Check for correct `$integer` request value, so the correct filter is applied. Fixes #2791.
[7666] johnjamesjacoby Topics: Correct @since provenance. Backport the verified first-shipped version and Subversion revision corrections for topics annotations. In branches/2.6, for 2.6.19.
[7657] johnjamesjacoby Topics: Correct @since provenance. Correct first-shipped versions and Subversion revisions for topics annotations verified against source history and release tags. In trunk, for 2.7.
[5768] netweb Topics: Correct PHPDoc in `bbp_bump_topic_reply_count()` and `bbp_bump_topic_reply_count_hidden()` functions
[5709] johnjamesjacoby Topics: Filter `bbp_get_forum_topic_count_hidden` to format the output, to match other count functions.
[5714] netweb Topics: Filter `bbp_get_topic_reply_count_hidden` to format the output, to match other count functions.
[5886] johnjamesjacoby Topics: First pass at metabox for replies in single-topic edit * Includes `topic-replies` list-table class * Includes helper functions for hooking things in * Todo: cap checks or row-actions, maybe bulk-actions, formatting clean-up See #2842.
[5811] netweb Topics: Fix `bbp_get_topic_post_date()` default GMT date format copy pasta introduced in r4647, includes unit tests. Props tobyhawkins. Fixes #2697
[5893] netweb Topics: Fix incorrect PHPDoc references to `bbp_show_lead_topic()` in `bbp_display_topics_feed_rss2()` and `bbp_display_replies_feed_rss2()`
[6287] johnjamesjacoby Topics: Fix list-table arguments. * `singular/plural` are not labels * Set `ajax` to `false` since this does not use ajax Props mordauk.
[5669] netweb Topics: Fix missing meta data during new closed topic creation * In `bbp_new_topic_handler()` check if the post status is `closed` and close using `bbp_close_topic()` * In `bbp_close_topic()` allow topics to be properly closed if `_bbp_status` is missing from topic meta Props netweb. Fixes #2653
[6244] netweb Topics: Fix misspelled `bbp_get_topic_last_reply_*` filters. * Update `bbp_get_topic_last_reply_title()` to use `bbp_get_topic_last_reply_title` * Includes a fallback for any plugins or themes that use `bbp_get_topic_last_topic_title` * Fix PHPDocs `@uses` PHPDocs for `bbp_get_topic_last_reply_permalink` and `bbp_get_topic_last_reply_url` Props SergeyBiryukov. Fixes #3039.
[6385] johnjamesjacoby Topics: Fix recursive call from find/replace. See r6384.
[5738] johnjamesjacoby Topics: Improve type-casting in topic functions. Props thebrandonallen, netweb. See #2801.
[5729] johnjamesjacoby Topics: In `bbp_move_topic_handler()`, clean both old and new forum caches before updating forum hierarchies. Fixes issue where moving a topic would result in incorrect counts for both forums, due to out-of-date cache values. Props thebrandonallen. Fixes #2322.
[7919] johnjamesjacoby Topics: Initialize revision toggle state. Initialize the revision-support toggle before opening or closing a topic. This prevents an undefined-variable warning when another plugin or theme removes revision support from the topic post type, while preserving its disabled state. In 2.6, for 2.6.20. Props josephscott. See #3583.
[7918] johnjamesjacoby Topics: Initialize revision toggle state. Initialize the revision-support toggle before opening or closing a topic. This prevents an undefined-variable warning when another plugin or theme removes revision support from the topic post type, while preserving its disabled state. In trunk, for 2.7. Props josephscott. Fixes #3583.
[6644] johnjamesjacoby Topics: Introduce `bbp_get_non_public_topic_statuses()` This new function returns the inverse post-statuses of `bbp_get_public_topic_statuses()` with a filter to help target them more specifically in places where it was not previously possible to do so. See #3128.
[5682] johnjamesjacoby Topics: Move `is_sticky` functions to above open/closed functions
[5674] johnjamesjacoby Topics: Normalize admin links: * Remove superfluous `(int)` type cast * Pass `$args` into filters * Use `bbp_get_edit_rewrite_id()` where applicable
[5776] netweb Topics: Pass correct array value `post_author` to `bbp_update_topic()` in `bbp_insert_topic()` added in r5775 See #2805
[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.
[6504] johnjamesjacoby Topics: Redirect to forum when trashing a topic and the user cannot view trash. Fixes #3111. Props mattrabe.
[6611] johnjamesjacoby Topics: Remove `bbp_get_user_closed_topic_count()`. This was introduced in the 2.6 cycle to circumvent a problem from using `count_user_posts()`. Now that we're doing a direct query again, this function is no longer used. See #6610.
[7732] johnjamesjacoby Topics: Restrict super stickies to global moderators. Require global moderation to add or remove super stickies through topic forms and toggle actions. Hide global controls from per-forum moderators while preserving per-forum stickies. In branches/2.6, for 2.6.19.
[7731] johnjamesjacoby Topics: Restrict super stickies to global moderators. Require global moderation to add or remove super stickies through topic forms and toggle actions. Hide global controls from per-forum moderators while preserving per-forum stickies. In trunk, for 2.7.
[5917] netweb Topics: Return `string` in `bbp_update_forum_last_active_time()` Includes updated PHPdocs and unit tests for `bbp_update_topic_last_*()` functions. Props thebrandonallen. See #2811
[6099] netweb Topics: Revert [6098] This doesn't work, on many levels, when testing a patch make sure the patch your testing matches the same site you're testing with. Antiprops netweb. See #2587.
[7742] johnjamesjacoby Topics: Scope topic-tag management capabilities. Keep global tag editing and deletion distinct from forum-scoped moderation, while preserving explicit tag capabilities. Validate missing terms and posts before mapping capabilities. In branches/2.6, for 2.6.19.
[7741] johnjamesjacoby Topics: Scope topic-tag management capabilities. Keep global tag editing and deletion distinct from forum-scoped moderation, while preserving explicit tag capabilities. Validate missing terms and posts before mapping capabilities. In trunk, for 2.7.
[7964] johnjamesjacoby Topics: Share topic title validation. Introduce bbp_validate_topic_title() and use it for new topics, topic edits, splits, and reply moves while preserving each handler's sanitization filters, error codes, and accumulated bbPress errors. In trunk, for 2.7. See #3682.
[7965] johnjamesjacoby Topics: Share topic title validation. Introduce bbp_validate_topic_title() and use it for new topics, topic edits, splits, and reply moves while preserving each handler's sanitization filters, error codes, and accumulated bbPress errors. Merges [7964] to the 2.6 branch. See #3682.
[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.
[5667] netweb Topics: Update `bbp_open_topic()` and `bbp_close_topic()` `@uses` documentation missed in r5656 See #2653
[5681] johnjamesjacoby Topics: Use `sanitize_key()` on `select_id` in dropdown helpers.
[7136] johnjamesjacoby Topics: Use global update functions for Forum & Topic IDs. This commit cleans up an oversight where `update_post_meta()` was being called directly rather than their abstractions. In branches/2.6, for 2.6.6.
[7137] johnjamesjacoby Topics: Use global update functions for Forum & Topic IDs. This commit cleans up an oversight where `update_post_meta()` was being called directly rather than their abstractions. In trunk, for 2.7.
[7511] johnjamesjacoby Topics: Validate converted topic titles. Apply the standard topic-title filter and validation before converting replies into topics through reply moves or topic splits. This keeps these alternate creation paths consistent with the normal new-topic handler. In trunk, for 2.7. Props rafiem.
[7512] johnjamesjacoby Topics: Validate converted topic titles. Apply the standard topic-title filter and validation before converting replies into topics through reply moves or topic splits. This keeps these alternate creation paths consistent with the normal new-topic handler. This is a backport of [7511] to the 2.6 branch. In branches/2.6, for 2.6.16. Props rafiem.
[7730] johnjamesjacoby Topics: Validate merge and split destinations. Collect validation errors before changing topics, reject source-to-source operations, and avoid reading missing topic or reply objects. Preserve valid merges and splits. In branches/2.6, for 2.6.19.
[7729] johnjamesjacoby Topics: Validate merge and split destinations. Collect validation errors before changing topics, reject source-to-source operations, and avoid reading missing topic or reply objects. Preserve valid merges and splits. In trunk, for 2.7.
[5778] netweb Topics: When moving a topic update the topics post parent in `bbp_move_topic_handler()`, includes unit test `test_bbp_move_topic_handler()` Props netweb. See #2322
[6086] netweb Topics: `@uses` not `@yses` PHPDoc in `bbp_update_topic()`
[5860] johnjamesjacoby Topics: fallback on `post_parent` in `bbp_update_topic_walker()`. This changeset fixes a bug where forum topic counts were not updated when topics were permanently deleted, causing hidden topic counts to be wildly inaccurate. Props thebrandonallen. Fixes #2529.
[7153] johnjamesjacoby Topics: fix not being able to unsticky in certain circumstances. This commit adds a `bbp_unstick_topic()` call inside of `bbp_update_topic()` where it has been missing since forever. In branches/2.6, for 2.6.6. See #3396.
[7154] johnjamesjacoby Topics: fix not being able to unsticky in certain circumstances. This commit adds a `bbp_unstick_topic()` call inside of `bbp_update_topic()` where it has been missing since forever. In trunk, for 2.7. Fixes #3396.
[6269] johnjamesjacoby Topics: get a fresh value for `redirect_to` when trashing/untrashing/deleting. Fixes a bug where trashing a topic theme-side would redirect to the prefetched topic URL and 404. (In the case of trashed topics, since WordPress 4.7, the slug receives a `__trashed` suffix, changing the topic link.) Fixes #3051.
[7400] johnjamesjacoby Topics: improve split & merge capability checks. This commit adjusts topic capability mapping so elevated moderation workflows continue to require moderation privileges, while still allowing forum moderators to perform those actions where appropriate. In branches/2.6, for 2.6.15. See #3667.
[7401] johnjamesjacoby Topics: improve split & merge capability checks. This commit adjusts topic capability mapping so elevated moderation workflows continue to require moderation privileges, while still allowing forum moderators to perform those actions where appropriate. In trunk, for 2.7. Fixes #3667.
[6618] johnjamesjacoby Topics: prefer "started" over "created" for default theme verbiage.
[7476] johnjamesjacoby Topics: preserve forum context during walker refreshes. Retain the resolved forum ID during a full topic walker refresh so forum freshness and last-post metadata continue to update after topic moderation and user spam or ham transitions. In trunk, for 2.7. See #3679.
[7479] johnjamesjacoby Topics: preserve forum context during walker refreshes. Retain the resolved forum ID during a full topic walker refresh so forum freshness and last-post metadata continue to update after topic moderation and user spam or ham transitions. Merges [7476] to 2.6. In 2.6, for 2.6.16. See #3679.
[5930] johnjamesjacoby Topics: sanity check `$_REQUEST` and introduce list-table methods for reply table-navigation. This changeset fixes a potential debug notice introduced in r5886, and removes unused functionality inherited from `WP_List_Table`. Fixes #2842. See #2587.
Note: See TracReports for help on using and creating reports.