__group__ ticket summary owner component _version priority severity milestone type _status workflow _created modified _description _reporter Next Release 2972 Unnecessary use of SQL_CALC_FOUND_ROWS johnjamesjacoby General - Performance trunk high normal 2.6 defect (bug) closed needs-unit-tests 2016-07-22T20:44:35Z 2017-01-12T09:07:19Z "While testing bbPress 2.6-alpha I noticed some very slow queries when posting a new topic. The queries use SQL_CALC_FOUND_ROWS where it doesn't seem to be needed. This is very inefficient on large tables. By setting the WP_Query parameter 'no_found_rows' to true in the following functions, the time to post a topic in a large forum decreased from ~30s to ~4s: bbp_get_public_child_last_id bbp_get_public_child_ids bbp_forum_query_last_reply_id There might be more. Note: this kind of issue is easily found when testing with realistic amounts of data (i.e. comparable to a production situation). I recommend making this a standard part of your development and testing process. For example our database is fairly large: ~2.6 million records in wp_posts, 11 millions records in wp_postmeta. 25 forums, 138K topics, 2.4M replies. Posting in a large forum was taking >30s, after applying fix ~4s. As a reference, the same post takes ~12s with bbPress 2.5 so nice improvement in 2.6!" nielsvk Next Release 2528 Topic Merge Freshness netweb Component - Topics 2.5 normal normal 2.6 defect (bug) closed needs-unit-tests 2014-01-25T06:34:25Z 2014-09-10T22:52:47Z "Merge Topic Fresness * Merge 'TopicB 2:00pm' topic into 'TopicA 1:00pm' * 'TopicA' freshness is now 2:00pm * Merge 'TopicC 3:00pm' topic into 'TopicA 1:00pm' * 'TopicA 1:00pm' topic freshness remains at 2:00pm Related: #2329 See: `bbp_merge_topic_handler` and `bbp_merge_topic_count`" netweb Future Releases 3230 scheduled stickies appear immediately Component - Topics 2.0 normal normal Future Release defect (bug) new needs-unit-tests 2018-11-20T19:27:30Z 2018-11-20T21:05:24Z "If you schedule a sticky, it appears in the forum list immediately {{{#!php https://msdn.microsoft.com/en-us/library/ms530820(v=vs.85).aspx` It escapes to this: * `https://msdn.microsoft.com/en-us/library/ms530820(v=vs.85).aspx` Originall reported by @cybr in Slack #meta https://wordpress.slack.com/archives/C02QB8GMM/p1495374031432056 ---- A standard WordPress post results in the correct formatting: * `https://msdn.microsoft.com/en-us/library/ms530820(v=vs.85).aspx` When looking closer bbPress in fact is turning it into two links: * `` * and * `https://msdn.microsoft.com/en-us/library/ms530820(v=vs.85).aspx` I suspect the parenthesis might be getting tripped up in `bbp_make_clickable()`" netweb Next Release 2533 Optimize Repair Tools SQL Queries netweb Tools 2.5 normal normal 2.7 enhancement new needs-unit-tests 2014-01-31T04:49:46Z 2017-03-07T23:53:10Z Optimize Repair Tools SQL Queries | bbPress -> Tools - Repair Tools netweb Next Release 1799 Introduce 'bump' functions to replace costly recounts johnjamesjacoby General - Performance 2.0 highest omg sweet tea major 2.6 defect (bug) closed needs-unit-tests 2012-03-26T07:35:14Z 2019-11-09T05:35:43Z Right now when a new topic or reply is created, we run a bunch of queries to recalculate the topic and reply counts for topics and forums. It'll be more efficient to get the current value and just bump it based on the action (new topic-reply/split-topic/move-topic/spam-trash-topic/etc...) johnjamesjacoby Next Release 2785 Improvements to threaded replies Component - Replies 2.1 normal normal 2.7 defect (bug) new needs-unit-tests 2015-04-06T17:39:33Z 2017-09-18T15:45:06Z "More details here: https://github.com/Skwerl/bbPress/commit/41e3adcabc513a5eeb8e20ac6842ab1698e89154 Some good ideas in this Github commit that are worth iterating on IMO. See: https://wordpress.slack.com/archives/bbpress/p1428336983000059" johnjamesjacoby Next Release 2693 Forum: Code tags strip leading/trailing blank lines Component - Forums 2.5 normal normal 2.7 defect (bug) new needs-unit-tests 2014-09-24T07:21:49Z 2014-10-06T08:21:38Z "Any leading/trailing blank lines wrapped in a code block on the forum (using the ` character) get stripped from the code block. This is sometimes useful when pointing out either flaws or issues with things that may be caused by these leading blank lines. In the case I discovered it, I was quoting back a section of raw HTML from a website that was adding blank lines to the start of the returned page, before the !DOCTYPE tag. Note: As the code block is wrapped with both pre and code tags (in HTML), extra blank lines are actually displayed if they are preserved, as editing with a browser dev tool (eg: Firebug/Web Developer/etc) will show." cefiar Next Release 2944 Forum and topic `_bbp_count_*` meta keys are not deleted when trashing a forum johnjamesjacoby Component - Any/All high normal 2.7 defect (bug) new needs-unit-tests 2016-05-02T10:14:37Z 2017-06-13T22:47:35Z " Repro: * 1. Create a forum `Test`, a topic `Test` in the `Test` forum and finally create a reply to `Test` topic * Results in a forum post (and revision), a topic, and a reply in `wp_posts` * Results in the following in `wp_postmeta` * [[Image(https://cldup.com/inUzgKZ5Hu.png)]] * 2. Trash the forum and empty the trash * Results in both the forum post and the revision, the topic, and the reply deleted from `wp_posts` and works as expected. * Results in the following forum and topic meta '''not''' deleted: * [[Image(https://cldup.com/D8bRbk6tsU.png)]] Each of the following forum and topic `_bbp_count*` meta keys should be deleted when trashing a forum just as it currently does and works expected for the forum and topic for `_bbp_last*` and `_bbp_*_id` meta keys Forum meta * `_bbp_reply_count` * `_bbp_total_reply_count` * `_bbp_forum_subforum_count` * `_bbp_topic_count` * `_bbp_total_topic_count` * `_bbp_topic_count_hidden` Topic Meta * `_bbp_voice_count` * `_bbp_reply_count` * `_bbp_reply_count_hidden` Note:'' The above tables `post_id`'s `1` was the forum, `3` was the topic, and `8` was the reply''" netweb Next Release 2829 "Empty ""Topics started"" and ""Replies created""" Component - Users normal normal 2.7 defect (bug) reopened needs-unit-tests 2015-07-08T14:03:19Z 2018-01-24T01:21:53Z "Hello, My Participant test user have access to private forums (not hidden ones) He creates topics and replies, but when he access to ""Topics started"" or ""Replies created"" the result is ""You have not created any topics."" and ""You have not replied to any topics."" I can see that query.php->get_posts() filters the private forums, but the user have the current_user_can('read_private_forums') permission so he might see them. The action do_action_ref_array( 'pre_get_posts', array( &$this ) ) in get_posts() launches the forum/functions.php->bbp_pre_get_posts_normalize_forum_visibility() function, which excludes the forums with the call to bbp_exclude_forum_ids( 'meta_query' ) This function uses the bbp_get_hidden_forum_ids() result as the hidden forums to hide, and it gets the _bbp_hidden_forums option, which calls again the bbp_pre_get_posts_normalize_forum_visibility() when it's first calculated (or recalculated when you call bbp_repair_forum_visibility()) But here the function returns an array with {""private""} when you restore private forums and {""private"",""hidden""} when you restore hidden forums, so both kind of forums are included in bbp_get_hidden_forum_ids() and I can see nothing in ""Topics started"" list. I can see no solution and it's hard to believe that anybody has ever had this problem. Could you help me? I've found nothing in forums and I don't want to touch the core if it's not necessary... Thanks, " mfiguerasma Future Releases 2357 Design Crashes! - Li button issue - Editor not filtering improper HTML usage. API - Formatting 2.1 normal major Future Release idea new needs-unit-tests 2013-06-22T06:43:43Z 2018-03-09T19:16:37Z "When I create a topic or reply for a topic, if I click ""li"" button without ""ul"" or ""ol"" and submit the whole design crashes. When the participant user unknowingly do this this will be a problem. Then I disabled fancy editor and also tried
  • test
  • same thing happens. The design crashes. It shows if the end user gives improper or illogical html syntax within the content box the design breaks." Pebbleontheshore Next Release 3058 Consider bundling WP-CLI commands with bbPress proper espellcaste Tools 2.1 high normal 2.7 enhancement new needs-unit-tests 2017-02-07T01:15:40Z 2023-06-16T16:28:12Z "I'm curious why bbPress' WP-CLI commands are being developed as a separate package, and not bundled with WP-CLI proper? https://github.com/bbpress/wp-cli-bbpress" danielbachhuber Future Releases 2869 BuddyPress notification bug for hierarchy replies Extend - BuddyPress normal normal Future Release defect (bug) new needs-unit-tests 2015-09-30T23:23:02Z 2016-05-31T06:46:13Z "A user has seemed to find a bug where they get BuddyPress notifications for when they reply while reply threading is enabled. While testing it seems to be more buggy than I thought at first. Here is the topic the user reported the issue. https://bbpress.org/forums/topic/problem-with-forum-reply-notifications/" Robkk Next Release 2191 BuddyPress Group Subforums created in bbPress are incomplete johnjamesjacoby Extend - BuddyPress trunk high normal 2.7 enhancement new needs-unit-tests 2013-02-01T01:17:02Z 2024-03-12T06:47:14Z "Using latest trunk of both bbpresss/buddypress. Create a ""group1"" in buddypress, with corresponding forum. Then go into wp-admin and create subgroup of ""group1"" in bbpress admin, let's call it ""subgroup1"". Now go back to the front end and click on the group1 and look at the forums. Only content and listings from the subgroup1 appear, as if group1 disappeared completely. NOTE: Ticket originally posted on buddypress and requested to be moved here. orig. ticket: http://buddypress.trac.wordpress.org/ticket/4797" moebis Next Release 3048 Better detection for symlinks in bbp_enqueue_style() and bbp_enqueue_script() Appearance - Included Themes 2.5 normal normal 2.7 defect (bug) new needs-unit-tests 2017-01-24T20:17:07Z 2018-07-16T20:25:40Z "If the `bbpress` directory or `WP_PLUGINS_DIR` is symlinked, `bbp_enqueue_style()` and `bbp_enqueue_script()` has trouble calculating the asset's URL. This is mostly due to those functions using the `WP_CONTENT_DIR` constant for replacement. Attached patch does replacement from the plugins directory, stylesheet directory and template directory, instead of looking at `WP_CONTENT_DIR`. Plugins directory is calculated from `bbpress()->plugin_dir`." r-a-y Future Releases 3021 bbpress.org/forums search : Error with pagination Component - Search normal normal Future Release defect (bug) new needs-unit-tests 2016-11-17T19:36:31Z 2017-03-03T15:18:36Z When e.g. looking for 'RSS' on https://bbpress.org/forums (https://bbpress.org/forums/search/rss/), and then clicking the 2nd page, I'm redirected to https://bbpress.org/forums/search/page/2/ , but that's not the 2nd page of the search. casiepa Next Release 3046 bbPress 2.5.12 is sending out emails to subscribed blocked users API - Subscriptions 2.5 normal normal 2.7 enhancement new needs-unit-tests 2017-01-23T21:35:47Z 2020-02-21T17:10:09Z "When users get the 'blocked' role, they do not get unsubscribed from forums (ok, could be fine because you don't want to resubscribe if they get reinstated), but they are still getting emails on new topics and that does not seem very logical. I have added the following filter for now in my bbP Toolkit to avoid this issue, but I think it should be added to the basic functionalities. {{{#!php