| [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.
|
| [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
|
| [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.
|
| [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.
|
| [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.
|
| [3750]
|
johnjamesjacoby
|
When setting a forum as public, always check private and hidden forum options and remove forum_id if needed. Fixes #1757.
|
| [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.
|
| [4578]
|
johnjamesjacoby
|
When spamming or hamming a user, return true/false if action was successful. This will aid in future user moderation tools.
|
| [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.
|
| [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.
|
| [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.
|
| [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.
|
| [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.
|
| [4810]
|
johnjamesjacoby
|
When unspamming a topic or reply, check for empty prespam status, and default to public. Fixes #2243.
|
| [4744]
|
johnjamesjacoby
|
When updating the BuddyPress root group forum, also update the post_name. Hat tip netweb. See #2089.
|
| [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.
|
| [4616]
|
johnjamesjacoby
|
When viewing BuddyPress member profile pages, set the $wp_query variables to indicate if viewing favorites or subscriptions.
|
| [5161]
|
johnjamesjacoby
|
When viewing a single BuddyPress group forum topic, filter the title and add the topic title to it. Fixes #2435.
|
| [2850]
|
johnjamesjacoby
|
White noise in bbp_get_user_subscriptions
|
| [2785]
|
johnjamesjacoby
|
White noise.
|
| [5469]
|
johnjamesjacoby
|
Whitespace and brackets in main `bbPress` class.
|
| [3043]
|
johnjamesjacoby
|
Whitespace cleanup and more normalization of the bbp-shortcodes.php
|
| [4719]
|
johnjamesjacoby
|
Whitespace cleanup in BuddyPress activity.php. See #2176.
|
| [2488]
|
johnjamesjacoby
|
Whitespace cleanup of forum/topic loop args
|
| [5363]
|
johnjamesjacoby
|
Whitespace cleanup to `Gruntfile.js`.
|
| [2631]
|
johnjamesjacoby
|
Whitespace cleanup to bbpress.php
|
| [3129]
|
johnjamesjacoby
|
Whitespace fix from r3128. CDO
|
| [3019]
|
johnjamesjacoby
|
Whitespace fix in admin _setup_actions()
|
| [3238]
|
johnjamesjacoby
|
Whitespace fix in bbp_template_include();
|
| [3513]
|
johnjamesjacoby
|
Whitespace fix in header. Props !Viper007Bond again. See r3512.
|
| [3787]
|
johnjamesjacoby
|
Whitespace fixes in bbp_create_initial_content()
|
| [6128]
|
johnjamesjacoby
|
Whitespace for "Screenshots" section of readme.txt.
|
| [6144]
|
johnjamesjacoby
|
Whitespace removal.
|
| [2500]
|
johnjamesjacoby
|
Why echo loudly when you can return quietly? props GautamGupta
|
| [4491]
|
johnjamesjacoby
|
Widgets:
* Add 'widget_title' filter to widget output.
|
| [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.
|
| [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.
|
| [4039]
|
johnjamesjacoby
|
Widgets:
* Clean up bbp_reset_query_name() usages.
|
| [4432]
|
johnjamesjacoby
|
Widgets:
* Declare widget() methods as static.
* Fixes PHP notices for static method usages.
* Fixes #2030.
|
| [4037]
|
johnjamesjacoby
|
Widgets:
* Fix layout issue introduced in r4036.
* Fixes #1872.
|
| [4038]
|
johnjamesjacoby
|
Widgets:
* Improve popular topics widget performance on large installations.
* Allow topics widget to be ordered by newness, popularity, or freshness.
|
| [4036]
|
johnjamesjacoby
|
Widgets:
* Properly hide private and hidden forums and their content from widgets.
* This was removed accidentally in r4033.
* Fixes #1868.
|
| [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.
|
| [5845]
|
johnjamesjacoby
|
Widgets: Add class to forum widget to indicate if item in list is the current forum being viewed.
Props dimitrov.adrian, netweb. Fixes #2536.
|
| [6506]
|
johnjamesjacoby
|
Widgets: Audit all widget classes:
* Use escaping GetText functions
* Fix typos
* Use more efficient queries for forum/topic/reply meta-boxes
Needs testing. See #3070.
|
| [6606]
|
johnjamesjacoby
|
Widgets: Remove `nopaging` keys from widget queries.
This reverts part of r6506 that broke the `max_rows` setting of widgets.
Props thebrandonallen. See #3123.
|
| [6038]
|
netweb
|
Widgets: Use `$this->get_field_id()` in `BBP_Topics_Widget::form()` method to correctly create the widget id form attribute
Props alex-ye
Fixes #2758
|
| [6812]
|
johnjamesjacoby
|
Widgets: add `'customize_selective_refresh' to widgets.
Props netweb. Fixes #2933.
|
| [6659]
|
johnjamesjacoby
|
Widgets: add `isset()` checks to checkbox attributes.
This change fixes debug notices when saving Topics & Replies widgets and `show_date` or `show_user` are not checked.
2.5 branch, for 2.5.14. Props jrf. See #3142.
|
| [6660]
|
johnjamesjacoby
|
Widgets: add `isset()` checks to checkbox attributes.
This change fixes debug notices when saving Topics & Replies widgets and `show_date` or `show_user` are not checked.
Trunk, for 2.6. Props jrf. Fixes #3142.
|
| [6724]
|
johnjamesjacoby
|
Widgets: normalize login widget output.
This change makes sure these two forms are using the same field attributes.
|
| [6813]
|
johnjamesjacoby
|
Widgets: remove translation strings that only had placeholders in them.
This change also switches output for the reply date option from `div` to `time` elements.
Fixes #2851.
|
| [5210]
|
johnjamesjacoby
|
Windows (IIS) support for theme compatibility script and style functions. Props r-a-y, netweb. Fixes #2481. (2.5)
|
| [5209]
|
johnjamesjacoby
|
Windows (IIS) support for theme compatibility script and style functions. Props r-a-y, netweb. Fixes #2481. (trunk)
|
| [2650]
|
johnjamesjacoby
|
Windows local-install friendly themes_dir. Fixes #1358 in a really ugly way but works for all OS's
|
| [3053]
|
johnjamesjacoby
|
Wrap forum visibility condition checks in their own parentheses for improved code readability
|
| [3142]
|
johnjamesjacoby
|
Wrap topic freshness author in span to prevent wrapping of avatar and username, for theme compat.
|
| [5549]
|
netweb
|
XMB 1.x: Fix regression introduced in r5349 where topics were imported a second time as part of the reply section import.
|
| [5579]
|
netweb
|
XenForo importer: Include Subscribed Forums and Subscribed Topics
Props netweb. See #2668
|
| [5568]
|
netweb
|
Xenforo 1.x importer: Fix regression introduced in r5349 where topics were imported a second time as part of the reply section import.
|
| [2678]
|
johnjamesjacoby
|
Zebra stripe the bbp-twentyten theme
|
| [2580]
|
mdawaffe
|
[2502] breaks post ordering for non-trivial ORDER BY statements.
Fix by reordering according to the returned value from the query or cache.
Fixes #1301.
|
| [2725]
|
mdawaffe
|
_bb_get_cached_data() was using the wrong callback
|
| [5604]
|
johnjamesjacoby
|
`Call bb_get_user()` from `bb_get_user_by_nicename()`. For 1.2 branch. See r5595.
|
| [6033]
|
johnjamesjacoby
|
`WP_Screen::post_type` is always set since WordPress 3.3.0, so remove superfluous checks in `bail()` methods.
|
| [6415]
|
johnjamesjacoby
|
`in_array()`: be strict whenever possible.
Use `wp_parse_id_list()` on certain array values to ensure proper results.
|
| [7285]
|
aidvu
|
bb-includes: remove get_magic_quotes_gpc usage
returns false since php 5.4
|
| [4001]
|
johnjamesjacoby
|
bbPress 1.1 Converter:
* Test removing post_position = 1 check from topics, which is preventing spam/trashed topics from being converted.
* Add reply position to replies.
* Inline doc clean-up.
|
| [3846]
|
nacin
|
bbPress 1.1 branch: Fix issue with author of post_id 1 appearing as topic last poster when first post is created by a bozo'ed user. props johnjamesjacoby.
Backports [3796] to the 1.1 branch.
|
| [4006]
|
johnjamesjacoby
|
bbPress 1.x Converter:
* Add poster IP address to topic meta.
* Inline doc tweaks.
|
| [4004]
|
johnjamesjacoby
|
bbPress 1.x Converter:
* More phpdoc.
* Optimize post_position field mappings for topics and replies, to now properly convert trashed topics with no replies.
* Pinking shears.
|
| [4005]
|
johnjamesjacoby
|
bbPress 1.x Converter:
* Remove commented out post_position code.
|
| [5572]
|
netweb
|
bbPress 1.x importer: Include Subscribed Topics and Favourite Topics
Props netweb. See #2668
|
| [5570]
|
netweb
|
bbPress 1.x importer: Only import bbPress 1.x topic tag taxonomy `bb_topic_tag` so that the `tags` import does not also import topic subscriptions.
|
| [5305]
|
nacin
|
bbPress 1.x: Allow log-in attempt even if we think the user is already logged in.
If your session cookie's internal expiration time has passed, we give you a grace period of one hour for POST and XHR requests. If within that hour you're trying to log in again, the grace period goes into effect for the POST. Then bb-login.php kicks you out because it thinks you're already logged in, instead of setting a new cookie for you.
So long, heisenbug.
|
| [5595]
|
nacin
|
bbPress 1.x: Call bb_get_user() from bb_get_user_by_nicename().
This ensures that this gem runs from bb_get_user() on profile pages: "Re calculate the user's meta in case we're pulling from a value cached on another site". So far, we know this has manifested itself as causing incorrect pagination for activity on profile pages, based on which site did the initial caching.
In an ideal world, these "short" keys would use a magic getter on BP_User, but user objects in bbPress 1.x are mostly stdClass objects in practice. Fun times.
|
| [5552]
|
nacin
|
bbPress 1.x: Clear user activation keys after password changes.
The code previously cleared activation keys after they were used to reset a password, but not if a user logs in to change the password on their own (say, if they remember it). Also, actually remove the DB row, rather than emptying it.
|
| [5615]
|
nacin
|
bbPress 1.x: Use the same user cache group names as WordPress.
See also https://backpress.trac.wordpress.org/changeset/360.
|
| [6149]
|
johnjamesjacoby
|
bbPress 2.5.12 requires WordPress 4.7, as will bbPress 2.6 and higher.
|
| [2501]
|
mdawaffe
|
bbPress uses term_taxonomy_id as the tag's ID. BackPress uses term_id as the tag's ID.
When removing a tag, the two ids were getting confused resulting in set_object_terms() being called with the incorrect IDs.
That incorrect call to set_object_terms() resulted in 'random' tags being applied to a topic after deleting a tag.
|
| [5136]
|
netweb
|
bbPress1.php converter improvements. Props netweb. Fixes #2460
* Add forum category conversion support
* Add _bbp_total_reply_count
* Fix Topic slug field mapping
* Add Reply slug field mapping
* Improved inline docs
|
| [4138]
|
johnjamesjacoby
|
bbPress:
* Tag 2.1.2
|
| [5970]
|
netweb
|
bbPress: Bumb readme.txt tested-up-to tags to 4.4.
|
| [5990]
|
netweb
|
bbPress: Bumb readme.txt tested-up-to tags to 4.5.
|
| [3905]
|
johnjamesjacoby
|
bbPress::setup_globals()
* Add filters to: basename, plugin_dir, plugin_url, themes_dir, themes_url, and lang_dir.
* Props tott.
* Fixes #1824.
|
| [2610]
|
johnjamesjacoby
|
bbp-twentyten improvements: Normalize classes, show pagination on topics, show forum per topic when viewing recent, center some column contents
|
| [4819]
|
johnjamesjacoby
|
bbp_add_error() phpdoc updates. Props netweb. Fixes #2271.
|
| [4573]
|
johnjamesjacoby
|
bbp_get_dropdown():
* Use get_pages() instead of get_posts().
* Pass walker and disabled_categories array items into get_pages().
* Fixes #2102.
|
| [4254]
|
johnjamesjacoby
|
bbp_get_total_users():
* Use count_users() instead of get_users().
* Fixes #1982, #1984.
|
| [3926]
|
johnjamesjacoby
|
bbp_has_topics():
* Smarter defaults for topic-search and stickies, and both params together.
* Rearrange default arguments to improve readability.
|
| [2508]
|
johnjamesjacoby
|
bbp_loader.php cleanup (docs, whitespace, etc)
|
| [7286]
|
aidvu
|
bbpress: bb-includes - fix static method called non-statically
|
| [7284]
|
aidvu
|
bbpress: remove get_magic_quotes_gpc
returning false since 5.4
https://www.php.net/manual/en/function.get-magic-quotes-gpc.php
|
| [2529]
|
mdawaffe
|
bp_bbpress_cron_check get's loaded all the time anyway, so just load it up front
|
| [6206]
|
xknown
|
branch 0.9: Fix PHP 7 compat issues w.r.t. the use of func_get_arg().
func_get_arg() returns the current (modified) value of the given argument. Let's make sure the code behaves the same.
See #3033
|
| [6171]
|
xknown
|
branch 0.9: Silence signature mismatch notices.
In PHP 7.0, they are reported as warnings http://php.net/manual/fr/migration70.incompatible.php#migration70.incompatible.error-handling.strict
See #3033
|
| [6170]
|
xknown
|
branch 0.9: Silence signature mismatch notices.
In PHP 7.0, they are reported as warnings http://php.net/manual/fr/migration70.incompatible.php#migration70.incompatible.error-handling.strict
See #3033
|
| [6208]
|
xknown
|
branch 1.1: Avoid infinite recursion loop when creating a new WP_User instance.
See #3303
|
| [6205]
|
xknown
|
branch 1.1: Fix PHP 7 compat issues w.r.t. the use of func_get_arg().
func_get_arg() returns the current (modified) value of the given argument. Let's make sure the code behaves the same.
See #3033
|
| [6207]
|
xknown
|
branch 1.2: Fix PHP 7 compat issues w.r.t. the use of func_get_arg().
func_get_arg() returns the current (modified) value of the given argument. Let's make sure the code behaves the same.
See #3033
|