Skip to:
Content

bbPress.org

{33} Commit Messages, Current Release (4934 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 (2701 - 2800 of 4934)

Changeset Author Message
[6875] johnjamesjacoby Forums: protect against a missing/malformed `forum_id` value when listing subforums. Fixes #3232.
[7341] johnjamesjacoby Forums: prevent PHP warnings on singular bbPress pages when post ID's are not set. This change adds checks for empty `$wp_query->post->ID` before using it inside of `bbp_forum_enforce_private()` and `bbp_forum_enforce_hidden()`. In trunk, for 2.7. Fixes #3644.
[7342] johnjamesjacoby Forums: prevent PHP warnings on singular bbPress pages when post ID's are not set. This change adds checks for empty `$wp_query->post->ID` before using it inside of `bbp_forum_enforce_private()` and `bbp_forum_enforce_hidden()`. In branches/2.6, for 2.6.15. Fixes #3644.
[6718] johnjamesjacoby Forums: make sure topic & reply counts are proper integers for `_n()` usage. This change fixes a bug where formatted strings would cause an incorrect singular and plural string assignment, in forums that had over 1k posts.
[7330] johnjamesjacoby Forums: fix meta-key typo in `bbp_get_forum_topic_count_hidden()` This change replaces `_bbp_topic_reply_count_hidden` with `_bbp_total_topic_count_hidden` which is the intended name of the meta-key. Props sirlouen. In trunk, for 2.7. Fixes #3611.
[7331] johnjamesjacoby Forums: fix meta-key typo in `bbp_get_forum_topic_count_hidden()` This change replaces `_bbp_topic_reply_count_hidden` with `_bbp_total_topic_count_hidden` which is the intended name of the meta-key. Props sirlouen. In branches/2.6, for 2.6.14. Fixes #3611.
[7299] johnjamesjacoby Forums: cast return value of `post__not_in` as array. This change avoids a potentially fatal PHP error if that query variable is a string. Props rollybueno. In trunk, for 2.7. Fixes #3636.
[7300] johnjamesjacoby Forums: cast return value of `post__not_in` as array. This change avoids a potentially fatal PHP error if that query variable is a string. Props rollybueno. In branches/2.6, for 2.6.14. Fixes #3636.
[6480] johnjamesjacoby Forums: be strict in `array_search()` calls.
[7272] johnjamesjacoby Forums: bail out of `pre_get_posts` if empty `post_type` parameter This change addresses a regression inside of `bbp_pre_get_posts_normalize_forum_visibility` that was unintentionally targeting posts queries that were not sourced from the ones built into bbPress (forum/topic/reply), causing the majority of non-bbPress queries to return empty results. Fixes #3601. In branches/2.6, for 2.6.11.
[6545] johnjamesjacoby Forums: Use `no_found_rows` by default in `bbp_has_forums()` Forums do not currently support pagination, so the total number of rows is not traditionally useful for this loop. In cases where it is, it can be explicitly overloaded in the `$args` array. This results in 1 less database query per page where a forums list is shown, and a speed improvement overall.
[6559] johnjamesjacoby Forums: Use `edit_forum` instead of `keep_gate` in the admin toggle/row methods. This change trusts the `edit_forum` meta capability to serve it's intended purpose. It also allows more flexibility with things like BuddyPress Group Forums or custom forum-ownership style extensions.
[6576] johnjamesjacoby Forums: Use `bbp_get_forum_subforum_count()` in `bbp_forum_get_subforums()`. This performance optimization will result in 1 less query per forum in the forums list that does not have subforums, by checking the subforum meta-data before trying to query for subforums that do not exist anyways. This is less of an issue with a persistent object cache, but those without that luxury can now save those database queries for when they really matter.
[6024] johnjamesjacoby Forums: Updates to `bbp_list_forums()`: * Always run filter, even over empty output * Only wrap output if not empty * Ensure that `$count` related variables are accurately reset during each loop iteration * Surrounding code clean-up Fixes #2951.
[5918] netweb Forums: Updated PHPDocs and unit tests for `bbp_update_forum_last_*()` functions. Props thebrandonallen. Fixes #2811
[6733] netweb Forums: Update `bbp_untrash_forum_topics()` PHPDoc description. Props espellcaste. Fixes #3175.
[5734] johnjamesjacoby Forums: Type-cast improvements to `bbp_forum_query_last_reply_id()`. Fixes bug where strict `false` comparison would cache cache condition to never occur. Props thebrandonallen, netweb. See #2801.
[6020] netweb Forums: Overzealous type coercion caused `bbp_forum_query_last_reply_id()` to skip the database query in every instance (since 0 is never === false). As such, the resetting of `_bbp_last_reply_id` got short-circuted in some cases. This fix is for the 2.5 branch, `/trunk` fixed this inadvertantly in [5954] Props boonebgorges, mauteri. Fixes #2414.
[5731] johnjamesjacoby Forums: Normalize type-casting in some count functions. More to do here. Props thebrandonallen, netweb. See #2801.
[5856] johnjamesjacoby Forums: Introduce `bbp_update_forum_visibility` action in `bbp_save_forum_extras()` This changeset provides custom visibilites with an execution point to perform their own actions. Fixes #2740.
[6315] johnjamesjacoby Forums: Introduce `bbp_list_forums_subforum_classes` filter, to allow filtering of sub-forum links. Props gordielachance. Fixes #2760.
[5923] netweb Forums: Improve type-casting in forum functions. Props thebrandonallen. See #2801.
[7321] johnjamesjacoby Forums: Improve targeting of `bbp_pre_get_posts_normalize_forum_visibility` filter. This change ensures that forum (post) IDs are only excluded from queries where intended, and specifically not when querying for attachments on draft posts & pages. Props shawfactor, sirlouen. In trunk, for 2.7. Fixes #3609.
[7320] johnjamesjacoby Forums: Improve targeting of `bbp_pre_get_posts_normalize_forum_visibility` filter. This change ensures that forum (post) IDs are only excluded from queries where intended, and specifically not when querying for attachments on draft posts & pages. Props shawfactor, sirlouen. In branches/2.6, for 2.6.14. Fixes #3609.
[5655] netweb Forums: Fix missing meta data during new forum creation * Call `bbp_open_forum()` if the forum is "open" to add the forum `_bbp_status` = `open` meta * Call `bbp_normalize_forum()` if the forum is a "forum" to add the forum `_bbp_forum_type` = `forum` meta Props netweb. Fixes #2647
[5855] johnjamesjacoby Forums: Fix copy-pasta filter names. This changeset corrects filters used in 2 `apply_filters()` calls to properly match their function names. Props netweb. Fixes #2688.
[7084] johnjamesjacoby Forums: Escape forum descriptions in admin-area list tables. This commit ensures that HTML is not rendered where it is not intended to be, most important to users having the `unfiltered_html` capability. Props binit. In trunk, for 2.7.0. See #3374.
[7085] johnjamesjacoby Forums: Escape forum descriptions in admin-area list tables. This commit ensures that HTML is not rendered where it is not intended to be, most important to users having the `unfiltered_html` capability. Props binit. In branches/2.6, for 2.6.5. See #3374.
[7051] johnjamesjacoby Forums: Code improvement to `bbp_list_forums()`. This commit loosens the comparison on the `echo` array parameter into an `empty()` check, which will silence any debug notices that may happen if `bbp_after_list_forums_parse_args` is filtered to remove it. Props Toengel. Fixes #3314. For 2.7, trunk.
[7052] johnjamesjacoby Forums: Code improvement to `bbp_list_forums()`. This commit loosens the comparison on the `echo` array parameter into an `empty()` check, which will silence any debug notices that may happen if `bbp_after_list_forums_parse_args` is filtered to remove it. Props Toengel. Fixes #3314. For 2.6.4, branches/2.6.
[6414] johnjamesjacoby Forums: Audit private/hidden forum ID exclusion: * improve performance of `bbp_exclude_forum_ids()` * Use `bbp_exclude_forum_ids()` where duplicate code existed * Make sure `$forum_ids` are passed into `bbp_exclude_forum_ids` filter * Prefer arrays over imploded strings (also with post statuses)
[5683] johnjamesjacoby Forums: Audit `template.php`: * General code formatting improvements * Pass `$args` into more filters * Escape more gettext output * Un-nest a few complex-looking lines
[6357] netweb Forums: Add missing `@since` PHPDoc to `bbp_list_forums()`
[6478] johnjamesjacoby Forums: Add forum-type & status to allowed meta keys.
[6273] johnjamesjacoby Forums: Add `howto` text to `bbp_moderator_assignment_metabox()`. See #459.
[4167] johnjamesjacoby Forums: * Remove superfluous is_super_admin() login in bbp_has_forums(). * Capes always pass current_user_can() checks unless specifically not allowed, which is the intended behavior here.
[4438] johnjamesjacoby Forums: * Do not disable categories on forum parent drop downs in wp-admin. * Disable forum parents in topic and reply edits if user cannot edit forums. * This is to prevent innocent users from accidentally putting content in a forum category.
[4071] johnjamesjacoby Forums: * Do not add forum-exclude meta-query to single reply queries.
[7350] johnjamesjacoby Forums/Topics/Replies: Add capability checks for parent object IDs when users are creating & editing content theme-side. This change introduces a series of matching capability checks to the new/edit handler functions, that ensure the currently logged in user can read the proposed parent location for their content. This change includes checks for anonymous users (when enabled) mapping "read" checks for public forums/topics/replies to `exist` so they can continue to post the same as before. It also removes a few private/hidden error messages and replaces them with more generic phasing, to minimize leakage about content that is not publicly accessible. The intent with these changes is to account for and trap any mismatches between where content handler functions are listening vs. what the user has access to create new content inside of – if they cannot read it, they cannot create new content in it, and will now see errors letting them know. In trunk, for 2.7. Fixes #3650.
[4417] johnjamesjacoby Forums Admin: * Update 'order' and 'orderby' for get_posts() usage to sort by 'title' and not 'post_title'.
[4415] johnjamesjacoby Forums Admin: * Set max-width to 170px for forum parent ID.
[4414] johnjamesjacoby Forums Admin: * Revert usage of Suggest for choosing a forum parent via auto-complete. * Revert parts of r4260 and r4261. * See #1910, #2014.
[4416] johnjamesjacoby Forums Admin: * More aggressive CSS for forum parent.
[4105] johnjamesjacoby Forum Visibility: * Prevent forum metaboxes from saving forum revisions as private/hidden. * Add repair function for private/hidden forums to Tools. * Add updater for 2.1.1, and run the visibility repair function. * Fixes #1891. * For 2.2 branch.
[4104] johnjamesjacoby Forum Visibility: * Prevent forum metaboxes from saving forum revisions as private/hidden. * Add repair function for private/hidden forums to Tools. * Add updater for 2.1.1, and run the visibility repair function. * Fixes #1891. * For 2.1 branch.
[5157] johnjamesjacoby Forum Subscriptions: * Update `@since` and `@deprecated` to r5156. * Introduce tool for removing trashed and deleted forums from user subscriptions. * See #2299. Props netweb.
[5156] johnjamesjacoby Forum Subscriptions - Allow users to subscribe to new topics in specific forums. * Code largely lifted from existing Topics Subscriptions, and is based largely on `forum-subscriptions.2.diff` from mordauk, with edits for code consistency across bbPress components. * Refactor existing ambiguous function names into base functions for both forum and topic subscriptions. * Include new functions for getting and outputting subscriptions. * Modify `user-subscriptions.php` to show subscribed forums. This includes a modification to `content-single-forum.php` to include the "Unsubscribe" link if looking at a user profile page. * Modify `templates/default/bbpress-functions.php` to enqueue new JS file to handle forum subscription ajax. * Rename HTML element classes from `bbp-topic-action` to `bbp-row-actions` to better accommodate forum subscriptions (and any future actions.) * BuddyPress tested, JJJ approved. * See #2299. Props mordauk, netweb for the considerable effort. * More to do here, largely from `forum-subscriptions.3.diff`
[4117] johnjamesjacoby Forum Actions: * Remove bbp_has_topics() from forum trash and topic delete functions. * Use WP_Query's instead. * Remove phpdoc references to bbp_has_topics() where it's no longer used. * Fixes #1914. * For 2.2 branch.
[4118] johnjamesjacoby Forum Actions: * Remove bbp_has_topics() from forum trash and topic delete functions. * Use WP_Query's instead. * Remove phpdoc references to bbp_has_topics() where it's no longer used. * Fixes #1914. * For 2.1 branch.
[6837] johnjamesjacoby Forms: include forum/topic ID in nonce checks. This change adds in missing object IDs, fixing a bug causing form content to be lost when an error had occurred. Props wpdennis. Fixes #3209.
[6556] johnjamesjacoby Forms: formally update password change text. It was accidentally partially changed in r6555.
[6433] johnjamesjacoby Forms: Introduce `bbp_tab_index_attribute()` helpers to handle `tabindex` attribute output. Note that these functions are used but normally their output is suppressed, because overriding the browser's natural `tabindex` order is impolite, and may introduce more issues than it actually fixes. (Also includes some surrounding code clean-up.)
[6248] johnjamesjacoby Forms: Audit & normalize form-field sanitization. * Make sure they all work the same * Use filters in `core/filters.php` where appropriate * Add `absint` filters for numeric values * Add filters for per-forum moderator text field * Remove any accidental duplicate escaping
[6557] johnjamesjacoby Forms: Add `maxlength` attribute to the appropriate form fields. Fields like `user_login`, `user_url`, and `user_email` have upper boundaries that cannot be extended via meta-data or other means, so let's make sure users aren't (easily) able to go over them. For the anonymous user fields, set them up to match comment field lengths (even though they are stored in `postmeta`.)
[6555] johnjamesjacoby Forms: Add `autocomplete` attribute to user related form fields. `autocomplete="new-password"` is new, and browser support is gaining, but it's also not any worse than `autocomplete="off"` (where most browsers & password managers have a hard time respecting the etiquitte anyways.)
[6885] johnjamesjacoby Formatting: update `bbp_make_clickable()` to better handle spaces in `href` attributes. This change updates the included regular expression to avoid returning broken (or at least unexpected) HTML and allows spaces in `href` attributes to be encoded as expected. Props dd32. Fixes #3237.
[6861] johnjamesjacoby Formatting: update `bbp_get_time_since()` to accept MySQL formatted string in older & newer dates. Also cast values to int using `intval()` to ensure math always works, without notices or errors. This change adds a bit more validation on potentially untrusted values. See #3216.
[7083] johnjamesjacoby Formatting: tweak regular expression for @ mentions. This commit fixes a bug causing usernames to be made clickable even after they were already made clickable previously by the email address filter. In trunk, for 2.7.0. See #3371.
[7082] johnjamesjacoby Formatting: tweak regular expression for @ mentions. This commit fixes a bug causing usernames to be made clickable even after they were already made clickable previously by the email address filter. In 2.6 branch, for 2.6.5. See #3371.
[7121] johnjamesjacoby Formatting: remove extra double quote in `bbp_make_mentions_clickable_callback()`. In trunk, for 2.7. Props peterkueger. Fixes #3390.
[7120] johnjamesjacoby Formatting: remove extra double quote in `bbp_make_mentions_clickable_callback()`. In branches/2.6, for 2.6.6. Props peterkueger.
[7160] johnjamesjacoby Formatting: fix output of bbp_get_time_since() in some languages. This commit changes how the "right now" fallback is calculated to avoid trimming and type-casting a translated string value, by checking the two count values (I.E. 1 year, 1 day) for emptiness - "0, 0" will now correctly fallback to "right now". In trunk, for 2.7. Fixes #3398.
[7159] johnjamesjacoby Formatting: fix output of bbp_get_time_since() in some languages. This commit changes how the "right now" fallback is calculated to avoid trimming and type-casting a translated string value, by checking the two count values (I.E. 1 year, 1 day) for emptiness - "0, 0" will now correctly fallback to "right now". In branches/2.6, for 2.6.6. See #3398.
[6722] johnjamesjacoby Formatting: Use `mb_substr()` where appropriate. This change ensures that strings which are known to contain or allow for multibyte characters are allowed to do so (in excerpts and a few server globals.) Fixes #3170. Props it4life.
[6377] johnjamesjacoby Formatting: More tests for at-mentions. Props netweb. See #2963.
[6347] johnjamesjacoby Formatting: Filter out mention classes in unit tests, and remove `rel="nofollow"` on mention URLs. Also improve array handling of `bbp_make_mentions_clickable_classes` filter, in the event something weird gets filtered through it. See #3074.
[6378] johnjamesjacoby Formatting: Add rel-nofollow to tests. See #2963.
[4642] johnjamesjacoby Formatting: * Rename kses.php to formatting.php. * Port bbPress 1.1 code and pre tag handling. Comes with filters and callbacks to allow code wrapped in pre & code elements, and backticks. * Revert r4641, r4640, * See #1967.
[3903] johnjamesjacoby Formatting: * 'elseif' not 'else if' in bbp-template-functions.php * Ignore my OCD.
[6094] johnjamesjacoby Format `bbp_get_reply_title()` like `bbp_get_topic_title()`.
[4278] johnjamesjacoby Form Actions: * Use the_permalink() as a form action in forum/topic/reply forms. * See #1996.
[2472] chrishajer Forgot to add in new functions.php files for kakumei and kakumei-blue. Fixes #1268. Props !GautamGupta
[5392] johnjamesjacoby Force integer value in `bbp_has_topics()` for reply position. Fixes bug when there are more than 1,000 replies. Props DrPepper75. Fixes #2615.
[3103] johnjamesjacoby Force forums, topics, and replies tables to clear the pagination floating above it, for theme compat.
[2499] johnjamesjacoby Force counts to pick up all descendants of proper post type.
[3589] johnjamesjacoby Force comment_status to 'closed' for forums, topics, and replies. Fixes #1676.
[4418] johnjamesjacoby Force a max-width on forum drop-down in default templates.
[5227] johnjamesjacoby Force `colors-fresh` dependency to act as a foundation for `Mint` and `Evergreen` color schemes. Fixes #2462.
[5242] johnjamesjacoby For single admin settings that contain both checkboxes and select drop-downs, use two labels. Fixes poor UX in some browsers. Props netweb. Fixes #2393. (trunk)
[5243] johnjamesjacoby For single admin settings that contain both checkboxes and select drop-downs, use two labels. Fixes poor UX in some browsers. Props netweb. Fixes #2393. (2.5 branch)
[5001] johnjamesjacoby For inline code blocks in topics and replies, ensure they are vertically positioned in the middle of their respective lines of text. Fixes issue where code snippets were top-aligned based on paragraph line-height. See #2350.
[5037] johnjamesjacoby For all template functions that output URL's, always echo an escaped value using esc_url(). See #2367.
[2646] johnjamesjacoby Follow my own rules in BBP_Admin
[5573] netweb FluxBB importer: Include Subscribed Forums and Subscribed Topics Props netweb. See #2668
[3073] johnjamesjacoby Flush the rewrite rules when bbPress is activated and deactivated
[3074] johnjamesjacoby Flush rewrite rules when the admin settings page is saved
[3159] johnjamesjacoby Flesh out current-user topic-form access functions with more appropriate hierarchy of checks. Fix #1516.
[2497] johnjamesjacoby Fixes wrong post type count. props Nightgunner5.
[3304] johnjamesjacoby Fixes to forum and topic archive links. Always set has_archive to archive slug settings. Use get_post_type_archive_link() where appropriate instead of relying on home_url( $slug ). Add bbp_get_page_by_path() function to theme compat, to check for pretty permalinks first. Introduce default 'page_for' options, which will provide a more straight-forward method of assigning WordPress pages to bbPress functionalities.
[5287] johnjamesjacoby Fixes PHPUnit Multisite tests and sets up grunt build-realease to run all PHPUnit tests when building release package (Single & Multisite.) Props netweb. See #2542.
[2993] johnjamesjacoby Fixes #1496. Documentation clean-up. Fix incorrect references to split/merge. Fix incorrect post_field usage where post_parent was used rather than post_type. Fix incorrect function usage for querying topic id's from a forum. Props !GautamGupta
[2749] johnjamesjacoby Fixes #1435 props !GautamGupta
[2764] johnjamesjacoby Fixes #1423. Props !GautamGupta via Google Code-in
[2714] johnjamesjacoby Fixes #1403 props !GautamGupta
[2716] johnjamesjacoby Fixes #1402 props !GautamGupta
[2713] johnjamesjacoby Fixes #1401 props !GautamGupta
[2712] johnjamesjacoby Fixes #1400 props !GautamGupta
[2711] johnjamesjacoby Fixes #1399 props !GautamGupta
[2721] johnjamesjacoby Fixes #1397
[2705] johnjamesjacoby Fixes #1391 props elfin
Note: See TracReports for help on using and creating reports.