| [2826]
|
johnjamesjacoby
|
Deemphasize the admin links when viewing a single topic.
|
| [2910]
|
johnjamesjacoby
|
Default $meta_value to null in bb_delete_usermeta() to play nicely with BackPress WP_User::delete_meta(). Props mdawaffe.
|
| [3947]
|
johnjamesjacoby
|
Default Options:
* Clean up bbp_get_default_options() to make it easier to read.
|
| [6969]
|
johnjamesjacoby
|
Default Styling: Optionally support an RTL variant of bbpress.css.
This commit allows for either/or `bbpress.css` or `bbpress-rtl.css` to exist and be enqueued as styling in the template stack, fixing a regression from 2.6.0 where the RTL CSS was expected to be appended to the end of the file.
This allows for both files to be included if they both exist, or one of them if only one does, effectively covering all bases for 2.5 and 2.6 support.
Props scmsteve for persistence. Fixes #3218. For 2.6.2, branches/2.6.
|
| [6968]
|
johnjamesjacoby
|
Default Styling: Optionally support an RTL variant of bbpress.css.
This commit allows for either/or `bbpress.css` or `bbpress-rtl.css` to exist and be enqueued as styling in the template stack, fixing a regression from 2.6.0 where the RTL CSS was expected to be appended to the end of the file.
This allows for both files to be included if they both exist, or one of them if only one does, effectively covering all bases for 2.5 and 2.6 support.
Props scmsteve for persistence. Fixes #3218. For 2.7, trunk.
|
| [3861]
|
johnjamesjacoby
|
Default show_role to false, and override to true when needed, for backwards compatibility. See #1815.
|
| [2542]
|
johnjamesjacoby
|
Default to current forum. Cast return ID's as integers.
|
| [3412]
|
johnjamesjacoby
|
Default to the current user ID in bbp_is_user_deleted()
|
| [3594]
|
johnjamesjacoby
|
Define local variables in bbpress.php to prevent strict notices.
|
| [6825]
|
xknown
|
Define the `BB_URI_CONTEXT_BB_INSTALLER` constant to avoid PHP warnings.
|
| [3639]
|
johnjamesjacoby
|
Delete '_bbp_last_active_time' key from postmeta when doing freshness recalculation. (2.1)
|
| [3640]
|
johnjamesjacoby
|
Delete '_bbp_last_active_time' key from postmeta when doing freshness recalculation. Props lillelykke. (2.0 branch)
|
| [4200]
|
johnjamesjacoby
|
Delete /trunk so /branches/plugin/ can be copied into it.
|
| [3534]
|
johnjamesjacoby
|
Delete 0.9.0.7 tag (added instead of copied)
|
| [3529]
|
johnjamesjacoby
|
Delete 1.1 branch (added instead of copied)
|
| [3528]
|
johnjamesjacoby
|
Delete 1.1 tag (added instead of copied)
|
| [4897]
|
johnjamesjacoby
|
Delete the correct 'bbpress_users' cache group for subscriptions and favorites. See #2331.
|
| [5411]
|
johnjamesjacoby
|
Delete trashed and spam topic-meta when performing untrash or unspam actions. Hat tip netweb. See #2494.
|
| [4524]
|
johnjamesjacoby
|
Deleting:
* When deleting a forum or topic, make sure all child content is deleted also.
* Also add some inline doc, and unset query variables, and clean up messy inline comparisons.
* Props MZAWeb.
* Fixes #2059.
|
| [7075]
|
johnjamesjacoby
|
Dependencies: routine updating of node dependency tree.
|
| [7074]
|
johnjamesjacoby
|
Dependencies: routine updating of node dependency tree.
|
| [5413]
|
johnjamesjacoby
|
Deprecate `bbp_notify_subscribers()` for new `bbp_notify_topic_subscribers()` function, to better match `bbp_notify_forum_subscribers()` introduced in 2.5.
|
| [5561]
|
johnjamesjacoby
|
Deprecate `tabindex` functions and their usages. Props joedolson. Fixes #2714.
|
| [5268]
|
johnjamesjacoby
|
Deprecate dashboard metabox, and append forum statistics to existing "At a Glance" metabox instead. Fixes #2544.
|
| [4874]
|
johnjamesjacoby
|
Deprecate the 'bbp_get_the_body_class' filter in bbp_body_class(). Fixes #2316 (2.3 branch)
|
| [4873]
|
johnjamesjacoby
|
Deprecate the 'bbp_get_the_body_class' filter in bbp_body_class(). Fixes #2316 (trunk)
|
| [2804]
|
johnjamesjacoby
|
Disallow uncapable users from creating topics in closed forums. Fixes #1452. Props !GautamGupta
|
| [4679]
|
johnjamesjacoby
|
Display Names:
* Add seems_utf8() checks to topic and reply display names.
* Improve handling of display name link title text. This is a regression from removing extract() usages.
* Fixes #2141.
|
| [4846]
|
johnjamesjacoby
|
Do a reverse unslashing juke-move when checking topics and replies for duplicates. Even though wp_magic_quotes() may have slashed some things for us, this allows us to properly prepare the query and it's parts with accurately unslashed data. This is mostly to compensate for plugins that may intercept globals or filter query parameters on the fly (like BuddyPress @ mentions.)
See #2185, [WP23973]
|
| [5079]
|
johnjamesjacoby
|
Do not allow forum/topic/reply author to edit their own replies via wp-admin. Fixes #2389.
|
| [2745]
|
johnjamesjacoby
|
Do not allow trash-to-spam or spam-to-trash status changes; prevents issues with rogue topics/replies.
|
| [2801]
|
johnjamesjacoby
|
Do not attempt to translate an empty string. Fixes #1420
|
| [3711]
|
johnjamesjacoby
|
Do not bail early in bbp_is_user_subscribed() or bbp_is_user_favorite(), thus allowing them to be properly filtered.
|
| [3557]
|
johnjamesjacoby
|
Do not check is_rtl() for breadcrumb separator direction. See #1653.
|
| [3396]
|
johnjamesjacoby
|
Do not create BuddyPress activity stream entries for public or hidden forums.
|
| [4661]
|
johnjamesjacoby
|
Do not directly call BBP_Forums_Component::setup_nav(), as it causes the current_user to be loaded prematurely due to is_user_logged_in() calls.
|
| [5034]
|
johnjamesjacoby
|
Do not echo _get_ functions. Output clean-up for future work on #2367.
|
| [3093]
|
johnjamesjacoby
|
Do not enqueue topic.js for theme compat as it requires jQuery be loaded for all themes (topic subscriptions and favorites degrade gracefully)
|
| [2973]
|
johnjamesjacoby
|
Do not include $wp_rewrite->front in user profile url. Fixes #1489.
|
| [2534]
|
johnjamesjacoby
|
Do not link anonymous posters in admin posts area.
|
| [2913]
|
johnjamesjacoby
|
Do not load forums-loop template part if there are no subforums to show.
|
| [2539]
|
mdawaffe
|
Do not localize times in feeds: restore [2132]. Fixes #1092. See #1280.
|
| [4832]
|
johnjamesjacoby
|
Do not prepare() query in bbp_check_for_duplicate() -- 'post_content' is already slashed/escaped in wp_magic_quotes(). Refixes #2185 for trunk/2.3.
|
| [3556]
|
johnjamesjacoby
|
Do not reverse the breadcrumb order when RTL. Fixes #1653.
|
| [3477]
|
johnjamesjacoby
|
Do not setup BuddyPress if in maintenance mode. Fixes #1619.
|
| [3342]
|
johnjamesjacoby
|
Do not show lead topic twice if no replies are found in single topic shortcode.
|
| [2773]
|
johnjamesjacoby
|
Do not show title or widget HTML if there is nothing to display.
|
| [4842]
|
johnjamesjacoby
|
Do not show topic tags in navigation menus.
|
| [3656]
|
johnjamesjacoby
|
Do not stomp the $redirect_to variable in bbp_redirect_to_field(). Props mesayre. Fixes #1709.
|
| [3703]
|
johnjamesjacoby
|
Do not unset $post global in bbp_replace_the_content(). This is no longer needed, and has the potential to cause more harm than good, as many plugins and themes expect the $post global to exist after the loop has completed, even on "fake" paged like bbPress's.
|
| [4577]
|
johnjamesjacoby
|
Do not use hashes in tabfocus_elements array values. See #1917.
|
| [6899]
|
SergeyBiryukov
|
Docs: Correct description for `_bbp_topics_per_page` setting.
|
| [6900]
|
netweb
|
Docs: Correct descriptions for various admin settings.
|
| [6291]
|
netweb
|
Docs: Fix typo in `bbPress::*_query::have_posts()` PHPDoc `@uses` references.
Props SergeyBiryukov.
Fixes #3061.
|
| [7344]
|
johnjamesjacoby
|
Docs: Replace "Key Master" with "Keymaster" in some doc-blocks.
In trunk, for 2.7.
|
| [6560]
|
johnjamesjacoby
|
Docs: Update inline documentation of `bbp_get_global_object()`.
The conditions in this function do not result in an early return, so remove "Bail" references.
|
| [6924]
|
johnjamesjacoby
|
Docs: add missing project names after recently added @since's.
|
| [6971]
|
johnjamesjacoby
|
Docs: add note to `bbp_get_excluded_forum_ids()` about per-forum moderators.
|
| [7343]
|
johnjamesjacoby
|
Docs: add/improve PHPDoc for `$pagenow` global in some places.
Props viralsampat.
In trunk, for 2.7.
Fixes #3641.
|
| [7169]
|
johnjamesjacoby
|
Docs: correct "arrap" to "array".
In branches/2.6 for 2.6.6. See #3389.
|
| [7170]
|
johnjamesjacoby
|
Docs: correct "arrap" to "array".
In trunk for 2.7.0. See #3389.
|
| [6856]
|
johnjamesjacoby
|
Docs: fix typo, and update function reference for `_blacklist()` deprecation.
See r6855, #3215.
|
| [7238]
|
johnjamesjacoby
|
Docs: remove some PHP docs that don't make sense.
For 2.6.10.
|
| [7240]
|
johnjamesjacoby
|
Docs: remove some PHP docs that don't make sense.
For 2.7.
|
| [7239]
|
johnjamesjacoby
|
Docs: remove some PHP docs that don't make sense.
For 2.7.
|
| [6642]
|
johnjamesjacoby
|
Docs: update the description of `bbp_get_default_role()`.
Fixes #3131.
|
| [4040]
|
johnjamesjacoby
|
Documentation
* Fix out of date phpdoc for bbp_get_reply_position().
|
| [2836]
|
johnjamesjacoby
|
Documentation for new sticky topic code.
|
| [6498]
|
johnjamesjacoby
|
Documentation: Don't hyphenate "bbPress's"
It's cute, and I tend to say it in person to be cute, but in writing it doesn't look very classy.
|
| [6526]
|
johnjamesjacoby
|
Documentation: Don't use `reply's`, because it looks weird and is poor English grammar.
Prefer more descriptive documentation instead.
|
| [6497]
|
johnjamesjacoby
|
Documentation: Prefer "database" over "sql" to avoid some jargon.
This also makes it language/platform agnostic.
|
| [6573]
|
johnjamesjacoby
|
Documentation: Remove all `@uses` usages.
Per the WordPress inline documentation standards:
> the @uses tag is not recommended to be used to indicate a used-by relationship, as this information can be derived through other means. These tags also are very likely to become out-of-date as our functions change over time.
|
| [6580]
|
johnjamesjacoby
|
Documentation: Typo fixes in users functions.
|
| [6774]
|
johnjamesjacoby
|
Documentation: fix a bunch of random ambiguous or incomplete phpdoc.
|
| [4177]
|
johnjamesjacoby
|
Doing it wrong:
* Protect users from the effects of incorrectly manipulating the bbPress instance.
* Uses _doing_it_wrong() in place of wp_die(), in bbPress::__clone() and bbPress::__wakeup() magic methods.
|
| [3836]
|
johnjamesjacoby
|
Don't after-filter return count values as int to allow number-formatting filters to work correctly. Fixes #1810. Props wonderboymusic.
|
| [5317]
|
johnjamesjacoby
|
Don't allow `build` or `src` in `basename` in `bbPress:setup_globals()`. Fixes problems with activation hooks. Fixes #2559. Props DJPaul.
|
| [4843]
|
johnjamesjacoby
|
Don't allow replies to closed topics, unless user can moderate. Props mzaweb. Fixes #2281.
|
| [3156]
|
johnjamesjacoby
|
Don't build a meta query if there are no forums to exclude.
|
| [5308]
|
johnjamesjacoby
|
Don't copy Sass files (or any other excluded files) into `/build` directory. Props netweb. See #2542.
|
| [3287]
|
johnjamesjacoby
|
Don't create post revisions when changing a topic/reply status (open/close/spam/unspam).
Update phpdoc in forum open/close.
|
| [5656]
|
netweb
|
Don't create post revisions when opening topics in `bbp_open_topic()` or closing topics in `bbp_close_topic()` as post content does not change.
Props netweb. See #2653
|
| [5651]
|
netweb
|
Don't create post revisions when updating replies menu order in `bbp_update_reply_position()` as there's no post content changed.
Props netweb. Fixes #2656
|
| [5272]
|
johnjamesjacoby
|
Don't ignore Travis or JSHint configuration files, and add them to root. See #2542.
|
| [2669]
|
johnjamesjacoby
|
Don't load CSS in admin
|
| [2715]
|
johnjamesjacoby
|
Don't output topic admin links if not actually in a topic. Props !GautamGupta
|
| [4638]
|
johnjamesjacoby
|
Don't parse smilies in bbPress 1.x converter. Props netweb for testing. Fixes #1874.
|
| [3317]
|
johnjamesjacoby
|
Don't show Sticky links in wp-admin if topic is spam or trash.
|
| [5194]
|
johnjamesjacoby
|
Don't use `esc_html_e()` on Importer page, as it includes a `<strong>` tag that's worth keeping around.
|
| [4665]
|
johnjamesjacoby
|
Don't wrap nested pre/code tags in additional new-lines.
|
| [4518]
|
johnjamesjacoby
|
Dropdown:
* Use 'post_parent' instead of 'child_of' in bbp_get_dropdown().
* Add 'exclude' to array of default arguments.
* Fixes bug with not excluding post ID's, and not using the correct post parent ID.
* Props jmdodd.
* Fixes #2061.
|
| [4259]
|
johnjamesjacoby
|
Dropdowns:
* Revert back to text inputs for topic and forum ID's in metaboxes.
* Fixes memory issues when loading thousands of posts.
* Fixes #1878.
* See #1901.
|
| [5540]
|
netweb
|
Drupal7: Add support for importing Drupal v7.x pending topics and replies. See #2645
|
| [5536]
|
netweb
|
Drupal7: Don't import Drupal 7's guest user
|
| [6753]
|
johnjamesjacoby
|
Duplicates: check `post_author` argument instead of current user.
This change brings duplicate checking up to speed with flood and blacklist checks by preferring `user_can()` over `current_user_can()`, and plays a bit more friendly with anonymous author IDs.
Props r-a-y. Fixes #3186.
|
| [6869]
|
johnjamesjacoby
|
Edit Locking Improvements:
* Refactor to avoid doing unnecessary computations
* Invert default return value from false to true, requiring time to pass validation as opposed to assuming
* Improve obviousness of math computations for easier debuggability
* Update variables passed into the end return filter
* Add 6 unit tests for before/on/after, plus support for "0" as infinite
* Fix bug causing "0" values to return the opposite value
* Ensure only gmt/utc values are compared
* Add optional flag to use WordPress time instead
* Improve inline and function documentation
Fixes #3222. Props wpdennis.
|
| [6920]
|
johnjamesjacoby
|
Edit Locking: Remove redundant $minutes check in `bbp_past_edit_lock()`.
This commit is just a small bit of cleanup from researching #3164.
See #3222.
|
| [4025]
|
johnjamesjacoby
|
Editing:
* Bail early if forum/topic/reply ID is missing.
* Put message back that was accidentally removed in r4024.
|
| [4241]
|
johnjamesjacoby
|
Editor:
* Additional output escaping on textarea attributes.
* Revert accidental indentation change from r4240.
* See #1870.
|
| [6919]
|
johnjamesjacoby
|
Emails: chunk notification emails into 40 Bcc'd recipients.
This commit introduces the `bbp_mail` subfilter, used to target bbPress specific emails in conjunction with `bbp_get_email_header()` to help identify emails that came specifically from bbPress actions.
The purpose of this change is to help forum owners avoid their outbound emails being marked as spam, due to the high number of users that can be subscribed to any given forum or topic.
This change (combined with r6725) goes a long way towards improving the success of subscription emails reaching their intended recipients.
Fixes #3260. Props danielbachhuber.
|