[4033]
|
johnjamesjacoby
|
Widgets:
* Remove 'bbp_widget' checks.
* Turn widgets into new WP_Query's to prevent stomping main forum/topic/reply queries.
* Fixes #1867.
* See #1865.
|
[4036]
|
johnjamesjacoby
|
Widgets:
* Properly hide private and hidden forums and their content from widgets.
* This was removed accidentally in r4033.
* Fixes #1868.
|
[4038]
|
johnjamesjacoby
|
Widgets:
* Improve popular topics widget performance on large installations.
* Allow topics widget to be ordered by newness, popularity, or freshness.
|
[4037]
|
johnjamesjacoby
|
Widgets:
* Fix layout issue introduced in r4036.
* Fixes #1872.
|
[4432]
|
johnjamesjacoby
|
Widgets:
* Declare widget() methods as static.
* Fixes PHP notices for static method usages.
* Fixes #2030.
|
[4039]
|
johnjamesjacoby
|
Widgets:
* Clean up bbp_reset_query_name() usages.
|
[4120]
|
johnjamesjacoby
|
Widgets:
* Add phpdoc reminding that private/hidden forums are removed via bbp_pre_get_posts_exclude_forums.
* Remove duplicate meta query on forums widget.
* See #1891.
|
[4121]
|
johnjamesjacoby
|
Widgets:
* Add phpdoc reminding that private/hidden forums are removed via bbp_pre_get_posts_exclude_forums.
* Remove duplicate meta query on forums widget.
* For 2.2 branch.
* See #1891.
|
[4491]
|
johnjamesjacoby
|
Widgets:
* Add 'widget_title' filter to widget output.
|
[2500]
|
johnjamesjacoby
|
Why echo loudly when you can return quietly? props GautamGupta
|
[6144]
|
johnjamesjacoby
|
Whitespace removal.
|
[6128]
|
johnjamesjacoby
|
Whitespace for "Screenshots" section of readme.txt.
|
[3787]
|
johnjamesjacoby
|
Whitespace fixes in bbp_create_initial_content()
|
[3513]
|
johnjamesjacoby
|
Whitespace fix in header. Props !Viper007Bond again. See r3512.
|
[3238]
|
johnjamesjacoby
|
Whitespace fix in bbp_template_include();
|
[3019]
|
johnjamesjacoby
|
Whitespace fix in admin _setup_actions()
|
[3129]
|
johnjamesjacoby
|
Whitespace fix from r3128. CDO
|
[2631]
|
johnjamesjacoby
|
Whitespace cleanup to bbpress.php
|
[5363]
|
johnjamesjacoby
|
Whitespace cleanup to `Gruntfile.js`.
|
[2488]
|
johnjamesjacoby
|
Whitespace cleanup of forum/topic loop args
|
[4719]
|
johnjamesjacoby
|
Whitespace cleanup in BuddyPress activity.php. See #2176.
|
[3043]
|
johnjamesjacoby
|
Whitespace cleanup and more normalization of the bbp-shortcodes.php
|
[5469]
|
johnjamesjacoby
|
Whitespace and brackets in main `bbPress` class.
|
[2785]
|
johnjamesjacoby
|
White noise.
|
[2850]
|
johnjamesjacoby
|
White noise in bbp_get_user_subscriptions
|
[5161]
|
johnjamesjacoby
|
When viewing a single BuddyPress group forum topic, filter the title and add the topic title to it. Fixes #2435.
|
[4616]
|
johnjamesjacoby
|
When viewing BuddyPress member profile pages, set the $wp_query variables to indicate if viewing favorites or subscriptions.
|
[4761]
|
johnjamesjacoby
|
When using 'post__not_in' or 'post__in' query variables in single topic views, do not attempt to force the query index in _bbp_has_replies_where(). Fixes #2195.
|
[4744]
|
johnjamesjacoby
|
When updating the BuddyPress root group forum, also update the post_name. Hat tip netweb. See #2089.
|
[4810]
|
johnjamesjacoby
|
When unspamming a topic or reply, check for empty prespam status, and default to public. Fixes #2243.
|
[5405]
|
johnjamesjacoby
|
When topics are marked as spam, remove them from all favorites, subscriptions, and unstick them.
Fixes cases where spammed topic ID's are left behind in various meta values. Fixes #2621.
|
[2831]
|
johnjamesjacoby
|
When topics are deleted, recalculate the associated forum last active time. This includes possible subforums and walks up through parent forums setting the correct time.
|
[4987]
|
johnjamesjacoby
|
When super sticky topics exist in private or hidden forums, they currently always appear in topic-index listings, even when the current user cannot access them.
This changeset adds 'post_parent__not_in' to the super-sticky post query parameters, to exclude topics that are within private/hidden forums the current user cannot access. Fixes #2173.
|
[2989]
|
johnjamesjacoby
|
When splitting or merging topics, update the forum/topic meta values for each individual reply being moved. Fixes issue where reply meta values would fall out of sync when splitting or merging topics.
|
[5036]
|
johnjamesjacoby
|
When splitting a topic, correctly update the 'menu_order' property of the new topic post.
* Replace instances of 'post_position' with 'menu_order'
* Make sure 'menu_order' is 0
Props lakrisgubben. Fixes #2295.
|
[4578]
|
johnjamesjacoby
|
When spamming or hamming a user, return true/false if action was successful. This will aid in future user moderation tools.
|
[4674]
|
johnjamesjacoby
|
When spamming a topic, save the currently published replies in topic meta and trash them. This prevents rogue replies from appearing in user profiles and searches that have no live parent topic.
Also add similar logic to new reply handler, to add reply to topic meta if replying to a previously spammed topic. This is rare, as the ability is restricted to capable users, but must be done to keep meta synchronized.
|
[3750]
|
johnjamesjacoby
|
When setting a forum as public, always check private and hidden forum options and remove forum_id if needed. Fixes #1757.
|
[4795]
|
johnjamesjacoby
|
When searching forums, do not include posts that are outside of the logged in user's visibility scope. Also add some inline clarification to _bbp_has_replies_where() to help explain what some conditions are for. Hat tip alex-ye. Fixes #2221.
|
[5011]
|
johnjamesjacoby
|
When saving a user's profile, their 'admin_bar_front' setting is accidentally wiped out by edit_user(), because the form field does not exist in bbPress's template parts.
In bbp_edit_user_handler(), check if the user has this setting; if so, add it to the $_POST superglobal to allow edit_user() to function normally.
Fixes #2364. Props imath.
|
[3442]
|
johnjamesjacoby
|
When restoring a trashed topic, reverse the pre-trashed replies array and restore them chronologically so correct topic freshness is calculated. Fixes #1600.
|
[5429]
|
netweb
|
When resetting the forums back to pre-import status, if we are not deleting imported users, we still need to delete existing user meta-data.
* r5174 originally implemented this as if/else, antiprops netweb
Fixes #2641. Props netweb
|
[5173]
|
johnjamesjacoby
|
When resetting the forums back to pre-import status, allow admins to delete imported users. This handles the clean up of a potentially botched import, while also helping revert a site back to a pre-bbPress configuration. Fixes #1889. Props netweb.
|
[4731]
|
johnjamesjacoby
|
When repairing BuddyPress group forum relationships, also sync up the group forum status. Fixes #2089.
|
[4685]
|
johnjamesjacoby
|
When querying topics, use similar logic post_status/perm for stickies. See r4673. Fixes #2146.
|
[3841]
|
johnjamesjacoby
|
When querying sticky topics, include all statuses as dictated by the main query. Fixes #1809.
|
[4895]
|
nacin
|
When preparing a search term for bb_get_title(), strip slashes, as our data comes directly from the slashed superglobals.
fixes https://core.trac.wordpress.org/ticket/17304.
|
[5038]
|
johnjamesjacoby
|
When posting to a BuddyPress Group Forum, update the group's last_activity. Props r-a-y. Fixes #2368.
|
[4986]
|
johnjamesjacoby
|
When posting long single lines of code (meaning pre tags are not used to aid in formatting) they will break onto several lines if they are longer than the container element allows.
This changeset tweaks the CSS to allow code tags to scroll, and limit the width to 95%. Fixes #2350.
|
[4675]
|
johnjamesjacoby
|
When posting a new reply that does not have a 'publish' post status, only add it to topic-meta pre-spam/trash arrays if the topic status matches. Avoids accidental revealing of unpublished replies when toggling the topic status later.
|
[3488]
|
johnjamesjacoby
|
When moving a sticky topic to a new forum, forum sticky meta was not refreshed. Fixes #1626.
|
[3017]
|
johnjamesjacoby
|
When merging two topics together, the destination topic post_date cannot be after the source topic or any merged replies. Fixes #1502. Props !GautamGupta for original patch.
|
[3454]
|
johnjamesjacoby
|
When marking a topic as spam, remove its topic-tags and store them in post meta so they can be added again if needed. Disable bbp-twentyten topic-tag inputs to prevent capable users from resetting topic tags on spam topics.
|
[3668]
|
johnjamesjacoby
|
When fully deleting a topic, all replies should be deleted also. Fixes #1718.
|
[5035]
|
johnjamesjacoby
|
When editing a user and looping through their contact methods, pass the correct 'edit' context into bbp_displayed_user_field().
|
[2861]
|
johnjamesjacoby
|
When editing a topic/post, hide subscription container for anonymous users.
|
[2862]
|
johnjamesjacoby
|
When editing a topic/post, check for author_id() in bb_is_user_subscribed instead of the current_user. Fixes #1462.
|
[4765]
|
johnjamesjacoby
|
When editing a reply from wp-admin, do not restrict post_parent to 0. Fixes issue where the forum of a reply could become out-of-sync when edited via wp-admin.
|
[5177]
|
johnjamesjacoby
|
When creating new replies, do not force them to have a title. This is new as of WordPress 3.7, to be more accommodating to post formats that don't cater to titles very well (image/status/video/etc...)
Until now, replies to topics have always shared the topic title (and incremental slugs) in common with each other. With this change, replies will now mostly be identified via their post ID. This helps with search results, and avoids some reply-slug confusion as to why they need to have titles or slugs at all.
Props alex-ye for the clever solution. Fixes #2291.
|
[3409]
|
johnjamesjacoby
|
When creating a BuddyPress activity stream entry, save the activity ID to post meta so it can be conveniently edited or deleted later.
|
[5086]
|
johnjamesjacoby
|
When converting backticks to pre and code blocks, wrap pre's in new lines. Fixes inconsistent output between: the original posted content, formatted output, and editing content. See #2091.
|
[4752]
|
johnjamesjacoby
|
When calling WP_Roles->add_role() directly, make sure that bbPress's roles and caps have been added. Addresses a bug related to the $wp_roles global being created too soon, or when attempting to add a role before $wp_roles has been properly initialized.
|
[4724]
|
johnjamesjacoby
|
When calculating the child forum count, check all post ID's with matching parents instead of only public ones. Helps fix bug causing private and hidden forums to not appear. In the future, this could be handled better, without hardcoded post status checks. See #2085.
|
[5338]
|
johnjamesjacoby
|
When calculating a new reply position, ensure we are using raw, unformatted integers. Fixes bug where formatted numeric strings (I.E. with commas; eg: 1,532) were being passed to the `menu_order` property, causing broken pagination on topics with over 1k replies. Fixes #2556.
|
[4906]
|
johnjamesjacoby
|
When adding/editing a reply, check the current forum status and visibility, and make sure the current user is able to post to it. Fixes an issue where replies could be posted to closed forums if the nonce check still passed. (trunk)
|
[4905]
|
johnjamesjacoby
|
When adding/editing a reply, check the current forum status and visibility, and make sure the current user is able to post to it. Fixes an issue where replies could be posted to closed forums if the nonce check still passed. (2.3 branch)
|
[4962]
|
johnjamesjacoby
|
When adding the reply_to link, only add onclick if threaded replies are enabled. See #2340.
|
[4910]
|
johnjamesjacoby
|
When activating bbPress, conditionally make the current user a Key Master, but only if they can already activate plugins, they are already a member of the current site, and they're not already a Key Master. Fixes activation issues some users experienced with old global access settings being turned off, preventing them from seeing bbPress configuration screens. (trunk)
|
[4911]
|
johnjamesjacoby
|
When activating bbPress, conditionally make the current user a Key Master, but only if they can already activate plugins, they are already a member of the current site, and they're not already a Key Master. Fixes activation issues some users experienced with old global access settings being turned off, preventing them from seeing bbPress configuration screens. (2.3 branch)
|
[7102]
|
johnjamesjacoby
|
Warnings: Prevent PHP warnings in Multisite Dashboards.
This commit wraps `bbp_current_screen` hooks around an `is_blog_admin()` call, to explicitly target the intended admin-area Site Dashboard.
This avoids some warnings from functions not existing, as a result of how `BBP_Admin` is currently invoked (on `bbp_init` for converting passwords.)
In trunk, for 2.7.0.
|
[7101]
|
johnjamesjacoby
|
Warnings: Prevent PHP warnings in Multisite Dashboards.
This commit wraps `bbp_current_screen` hooks around an `is_blog_admin()` call, to explicitly target the intended admin-area Site Dashboard.
This avoids some warnings from functions not existing, as a result of how `BBP_Admin` is currently invoked (on `bbp_init` for converting passwords.)
In branches/2.6, for 2.6.6.
|
[4149]
|
johnjamesjacoby
|
WP_Query:
* Audit WP_Query usage, and follow them up with wp_reset_postdata() as needed.
* Fixes issues with sidebars and widgets that can execute before the main query loop.
* For 2.2
|
[4150]
|
johnjamesjacoby
|
WP_Query:
* Audit WP_Query usage, and follow them up with wp_reset_postdata() as needed.
* Fixes issues with sidebars and widgets that can execute before the main query loop.
* For 2.1 branch
|
[6310]
|
johnjamesjacoby
|
Voices: Only update voice counts when saving or deleting.
Prevents overzealous recalculations of voice counts when it's not necessary or applicable.
Props thebrandonallen. See #1799.
|
[7264]
|
johnjamesjacoby
|
Views: do not trap RSS feeds for unregistered views
This change adds a check inside of `bbp_request_feed_trap()` that only allows `bbp_display_topics_feed_rss2()` to happen if query-arguments exist for the slug of the view that is being requested.
Without this check in place, the view unintentionally includes all topics, because no additional arguments are passed into `bbp_has_topics()`.
Fixes #3544.
Props dd32.
In branches/2.6, for 2.6.10.
|
[4202]
|
johnjamesjacoby
|
Versions:
* Remove inline comments in bbpress.php.
|
[3948]
|
johnjamesjacoby
|
Versions:
* Bump version to 2.1-r3947.
* Set _bbp_db_version in bbp_get_default_options() to bbPress::db_version.
|
[3982]
|
johnjamesjacoby
|
Versions:
* Bump to 2.1-r3981.
* Bump requires/tested in readme.txt to 3.4.
|
[4310]
|
johnjamesjacoby
|
Version:
* Bump to beta 1.
* Update bbp_version_updater() for new db version (216)
|
[3407]
|
johnjamesjacoby
|
Version the theme compat CSS, and add overflow: auto; to RTL styling.
|
[4221]
|
johnjamesjacoby
|
Verbiage:
* Remove "at this time" in feedback areas where it's not a time based restriction.
* Removes from theme compat and bbp-twentyten.
|
[2900]
|
johnjamesjacoby
|
Various style improvements to reply and topic table row padding and borders.
|
[5542]
|
netweb
|
Vanilla2: Include anonymous topic and reply import support in `Vanilla.php` importer
Props netweb. See #2347
|
[5535]
|
netweb
|
Vanilla2: Don't import Vanilla 2's deleted users
|
[5537]
|
netweb
|
Vanilla2 importer improvements:
* Don't import Vanilla 2's deleted topic or replies as both topic and reply content is deleted resulting in fragmented topic context
* Use `callback_topicid_to_forumid` to convert replies parent topic id to forum id eliminating a SQL join improving performance.
|
[5149]
|
netweb
|
Vanilla importer improvements. Props netweb. Fixes #2466
* Add Topic total reply count
* Add Reply slug
|
[5523]
|
netweb
|
Vanilla forum importer:
* Use the correct `callback_forumid` callback for reply forum ID's.
* Add support for importing Vanilla 'Announcements' as bbPress 'Sticky' topics
|
[2880]
|
johnjamesjacoby
|
Validate forum and topic ID's in bbp_get_reply_topic_id and bbp_get_reply_forum_id functions
|
[6841]
|
johnjamesjacoby
|
Users: use returning variant of anonymous data functions (instead of echo'ing)
This change makes sure that anonymous user data (name & url) is not prematurely put out to the page when a topic or reply was authored by an anonymous user.
(See r6741 where email was similarly corrected.)
Props wpdennis. Fixes #3212.
|
[6708]
|
johnjamesjacoby
|
Users: use `bbp_set_user_role()` in `bbp_set_current_user_default_role()`.
This change makes sure forum users only have 1 forum role, subsequently calling the `bbp_set_user_role` filter where expected. This will fix a rare situation where a weird role map could cause the default role to be re-added.
|
[7146]
|
johnjamesjacoby
|
Users: update HTML class of user-profile.php template part.
This commit fixes a duplicated class in the user profile output, from `bbp-user-topic-count` to `bbp-user-last-activity`.
In trunk, for 2.7. Fixes #3394.
Props netweb.
|
[7145]
|
johnjamesjacoby
|
Users: update HTML class of user-profile.php template part.
This commit fixes a duplicated class in the user profile output, from `bbp-user-topic-count` to `bbp-user-last-activity`.
In branches/2.6, for 2.6.6. See #3394.
Props netweb.
|
[7028]
|
johnjamesjacoby
|
Users: register the `_bbp_last_posted` meta key.
This commit ensures that the meta key used to check if a user needs to be slowed down is registered.
See #3305. For 2.7, trunk.
|
[7027]
|
johnjamesjacoby
|
Users: register the `_bbp_last_posted` meta key.
This commit ensures that the meta key used to check if a user needs to be slowed down is registered.
See #3305. For 2.6.4, branches/2.6.
|
[6422]
|
johnjamesjacoby
|
Users: move user relationships functions into `engagements.php`.
|
[7032]
|
johnjamesjacoby
|
Users: move `_new_email` from options to usermeta.
This commit brings bbPress up-to-date with how WordPress tracks changes to email addresses. It includes a small bit of styling to add emphasis to the email address inside the standard notice wrapper.
See #3306. For 2.7, trunk.
|
[7031]
|
johnjamesjacoby
|
Users: move `_new_email` from options to usermeta.
This commit brings bbPress up-to-date with how WordPress tracks changes to email addresses. It includes a small bit of styling to add emphasis to the email address inside the standard notice wrapper.
See #3306. For 2.6.4, branches/2.6.
|
[6421]
|
johnjamesjacoby
|
Users: move Engagements API into its own `engagements.php` file.
`/users/functions.php` is getting a bit gnarly.
|
[6241]
|
johnjamesjacoby
|
Users: more `bbp_get_current_user_id()` usages, and docs to explain why it's not used in some places.
|
[6817]
|
johnjamesjacoby
|
Users: make sure "Forum Role" is next to "Site Role" in User's List Table.
This change comes with a CSS tweak to keep the role column at 15% width, and bumps the asset version accordingly.
|