[4931]
|
johnjamesjacoby
|
Improve user logic in bbp_parse_query(), so that numeric user slugs display correctly even when pretty permalinks are enabled. Also eliminates duplicate get_userdata() call, and renames some variables to prevent accidental stomping.
|
[4930]
|
johnjamesjacoby
|
Use !WordPress core rewrite API to add rewrite tags, rules, and permalink structures. Replaces the need to merge rewrite rules directly into the $wp_rewrite array on permalink flush. In the future, much of this complexity can be turned into easier to use functions to add new profile pages, etc... Fixes #2336. See #2337.
|
[4929]
|
johnjamesjacoby
|
Fix @deprecated tag for bbp_generate_rewrite_rules(). See #2336.
|
[4928]
|
johnjamesjacoby
|
Introduce bbp_search_results_url(), bbp_get_search_results_url(), and bbp_search_template_redirect(), to handle the new search results page routing. See #2337.
|
[4927]
|
johnjamesjacoby
|
Introduce paged rewrite ID and slug helper functions. See #2336.
|
[4926]
|
johnjamesjacoby
|
Introduce reply archive slug option. See #2336.
|
[4925]
|
johnjamesjacoby
|
Clean up overlapping default arguments in user_topics/replies_created functions.
|
[4924]
|
johnjamesjacoby
|
Add ignore_sticky_posts to bbp_has_forums() and bbp_has_replies() queries.
|
[4923]
|
johnjamesjacoby
|
Add no_found_rows and ignore_sticky_posts to widget queries.
|
[4922]
|
johnjamesjacoby
|
In bbp_pre_get_posts_normalize_forum_visibility(), run $post_types array through implode() and do an explicit comparison. Fixes issue with multi-type queries getting incorrect post-status query-vars.
|
[4921]
|
johnjamesjacoby
|
Use bbp_get_search_url() in bbp_get_breadcrumb() so that it works without pretty permalinks. See #2337.
|
[4920]
|
johnjamesjacoby
|
In bbp_is_search_results(), use $wp_query->bbp_search_terms instead of new bbp_is_search_results query-var. See #2337.
|
[4919]
|
johnjamesjacoby
|
Introduce bbp_is_search_results() and use it in is_bbpress() and bbp_body_class(). See #2337.
|
[4918]
|
johnjamesjacoby
|
Add sub-actions for rewrite rules and permastructs. See #2336.
|
[4917]
|
johnjamesjacoby
|
Trim search shortcode search-terms. See #2337.
|
[4916]
|
johnjamesjacoby
|
In bbp_parse_args(), switch $defaults default from string to array, and add some brackets to improve readability. Also, only perform an array_merge() if the array to merge with is not empty.
|
[4915]
|
johnjamesjacoby
|
Pass an empty array into bbp_parse_args() in bbp_search_query().
|
[4914]
|
johnjamesjacoby
|
In bbp_parse_args(), switch $defaults default from '' to array(), and add some brackets to improve readability.
|
[4913]
|
johnjamesjacoby
|
Add filter to bbp_get_search_title().
|
[4912]
|
johnjamesjacoby
|
Add filter to bbp_get_search_terms().
|
[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)
|
[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)
|
[4909]
|
johnjamesjacoby
|
Remove help documentation for unsupported core WordPress post features. See #2332 (trunk)
|
[4908]
|
johnjamesjacoby
|
Remove help documentation for unsupported core WordPress post features. See #2332 (2.3 branch)
|
[4907]
|
johnjamesjacoby
|
Correct the error ID's used when posting a new reply if the forum is closed, private, or hidden, and the user does not have proper capabilities. (2.3 branch)
|
[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)
|
[4904]
|
johnjamesjacoby
|
Correct the error ID's used when posting a new topic if the forum is closed, private, or hidden, and the user does not have proper capabilities. (2.3 branch)
|
[4903]
|
johnjamesjacoby
|
Correct the error ID's used when posting a new topic if the forum is closed, private, or hidden, and the user does not have proper capabilities. (trunk)
|
[4902]
|
johnjamesjacoby
|
Add authordata to topic/reply metabox. Props mzaweb. Fixes #2224.
|
[4901]
|
johnjamesjacoby
|
Bump.
|
[4900]
|
johnjamesjacoby
|
Improve micro-performance of favorites and subscriptions by moving function calls after sanity checks. Also typecast the return value of respective get_topic_ids functions. See #2331.
|
[4899]
|
johnjamesjacoby
|
Query clean-up:
* Move implode() calls out of queries and replace with variables.
* Audit IN queries and implode/explode for wp_parse_id_list() usages.
* See #2331.
|
[4898]
|
johnjamesjacoby
|
Cache clean-up:
* Perform strict comparisons on wp_cache_get() results.
* Add caching to bbp_get_topic_favoriters().
* Use wp_parse_id_list() where appropriate in touched functions.
* See #2331.
|
[4897]
|
johnjamesjacoby
|
Delete the correct 'bbpress_users' cache group for subscriptions and favorites. See #2331.
|
[4896]
|
johnjamesjacoby
|
Use implode() instead of join() through-out project. See #2331.
|
[4894]
|
johnjamesjacoby
|
Bump stable tag to 2.3.2 and add 2.3.2 to changelog.
|
[4893]
|
johnjamesjacoby
|
Bump 2.3 branch to 2.3.3-alpha.
|
[4892]
|
johnjamesjacoby
|
Tag 2.3.2.
|
[4891]
|
johnjamesjacoby
|
Bump 2.3 branch to 2.3.2.
|
[4890]
|
johnjamesjacoby
|
Unfloat reply edit pages. Fixes theme-compat issues with themes that have loose .reply class rules. Fixes #2321 (2.3 branch)
|
[4889]
|
johnjamesjacoby
|
Unfloat reply edit pages. Fixes theme-compat issues with themes that have loose .reply class rules. Fixes #2321 (trunk)
|
[4888]
|
johnjamesjacoby
|
Add width: 100%; styling to reply divs, to prevent comment theme styles from bleeding over into forum topics. Fixes #2320 (trunk)
|
[4887]
|
johnjamesjacoby
|
Add width: 100%; styling to reply divs, to prevent comment theme styles from bleeding over into forum topics. Fixes #2320 (2.3 branch)
|
[4886]
|
johnjamesjacoby
|
Fix a few widget fields that were not saving correctly. Props alex-ye. Fixes #2319 (2.3 branch)
|
[4885]
|
johnjamesjacoby
|
Fix a few widget fields that were not saving correctly. Props alex-ye. Fixes #2319 (trunk)
|
[4884]
|
johnjamesjacoby
|
Add contextual help to admin edit screens. Props mamaduka. Fixes #2324 (trunk)
|
[4883]
|
johnjamesjacoby
|
Add contextual help to admin edit screens. Props mamaduka. Fixes #2324 (2.3 branch)
|
[4882]
|
johnjamesjacoby
|
In the BuddyPress Activity extension, move _update() methods from 'wp_insert_post' onto 'edit_post' action to prevent running them on topic/reply creation accidentally. Fixes bug causing hide_sitewide to incorrectly be set to true on some installations. Also some code clean-up and additional type-casting where appropriate. Fixes #2327 (2.3 branch)
|
[4881]
|
johnjamesjacoby
|
In the BuddyPress Activity extension, move _update() methods from 'wp_insert_post' onto 'edit_post' action to prevent running them on topic/reply creation accidentally. Fixes bug causing hide_sitewide to incorrectly be set to true on some installations. Also some code clean-up and additional type-casting where appropriate. Fixes #2327 (trunk)
|
[4880]
|
johnjamesjacoby
|
Only remove filters if bbp_use_wp_editor() is true. See #2317. (trunk)
|
[4879]
|
johnjamesjacoby
|
Only remove filters if bbp_use_wp_editor() is true. See #2317. (2.3 branch)
|
[4878]
|
johnjamesjacoby
|
Switch to using esc_textarea() for filtering form post content values. When using TinyMCE, remove that textarea escaping, and trust tinymce to do its thing. See #2317. (2.3 branch)
|
[4877]
|
johnjamesjacoby
|
Switch to using esc_textarea() for filtering form post content values. When using TinyMCE, remove that textarea escaping, and trust tinymce to do its thing. See #2317. (trunk)
|
[4876]
|
johnjamesjacoby
|
Remove kses filters with the correct priorities if user has 'unfiltered_html' capability. Props alx-ye. Fixes #2315 (trunk)
|
[4875]
|
johnjamesjacoby
|
Remove kses filters with the correct priorities if user has 'unfiltered_html' capability. Props alx-ye. Fixes #2315 (2.3 branch)
|
[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)
|
[4872]
|
johnjamesjacoby
|
Overload the code tag in the fancy editor, and use backticks instead. Props mzaweb. (trunk)
|
[4871]
|
johnjamesjacoby
|
Overload the code tag in the fancy editor, and use backticks instead. Props mzaweb. (2.3 branch)
|
[4870]
|
johnjamesjacoby
|
Bump readme.txt and version in trunk.
|
[4869]
|
johnjamesjacoby
|
Tag 2.3.1.
|
[4868]
|
johnjamesjacoby
|
Bump 2.3 branch to 2.3.1.
|
[4867]
|
johnjamesjacoby
|
Audit procedure for posting pre-formatted code in topics and replies:
* Invert code-trick & code-trick-reverse filters to happen pre-save and on output.
* Use esc_html() filter rather than esc_textarea() for textarea output when editing content, to prevent double escaping after above code-trick-reversal.
* Introduce bbp_rel_nofollow() and callback, to handle this on output rather than input, to prevent mucking up preformatted code, and replace wp_rel_nofollow() usages with this.
* Disable visual-editor by default. It's causing code formatting issues when switching between editor types (enable at your own risk in a plugin for now.)
* Fixes #1967 (2.3 branch)
|
[4866]
|
johnjamesjacoby
|
Audit procedure for posting pre-formatted code in topics and replies:
* Invert code-trick & code-trick-reverse filters to happen pre-save and on output.
* Use esc_html() filter rather than esc_textarea() for textarea output when editing content, to prevent double escaping after above code-trick-reversal.
* Introduce bbp_rel_nofollow() and callback, to handle this on output rather than input, to prevent mucking up preformatted code, and replace wp_rel_nofollow() usages with this.
* Disable visual-editor by default. It's causing code formatting issues when switching between editor types (enable at your own risk in a plugin for now.)
* Fixes #1967 (trunk)
|
[4865]
|
johnjamesjacoby
|
Use correct filter names in bbp_is_user_deleted() and bbp_is_user_spammer(). Props alex-ye. Antiprops johnjamesjacoby. (2.3 branch)
|
[4864]
|
johnjamesjacoby
|
Use correct filter names in bbp_is_user_deleted() and bbp_is_user_spammer(). Props alex-ye. Antiprops johnjamesjacoby. (trunk)
|
[4863]
|
johnjamesjacoby
|
Use correct cache group in bbp_clean_post_cache(). Props wpdennis. Fixes #2312 (trunk)
|
[4862]
|
johnjamesjacoby
|
Use correct cache group in bbp_clean_post_cache(). Props wpdennis. Fixes #2312 (2.3 branch)
|
[4861]
|
johnjamesjacoby
|
Add ethitter to credits screen. (2.3 branch)
|
[4860]
|
johnjamesjacoby
|
Make sure moderators have the 'view_trash' capability. Fixes bug where moderators would hit a 404 after trashing a topic. Fixes #2307 (2.3 branch)
|
[4859]
|
johnjamesjacoby
|
Make sure moderators have the 'view_trash' capability. Fixes bug where moderators would hit a 404 after trashing a topic. Fixes #2307 (trunk)
|
[4858]
|
johnjamesjacoby
|
Improve CSS for pre/code blocks, to allow code to scroll horizontally within a pre tag; includes minification. (trunk)
|
[4857]
|
johnjamesjacoby
|
Minify default CSS files (2.3 branch)
|
[4856]
|
johnjamesjacoby
|
Improve CSS for pre/code blocks, to allow code to scroll horizontally within a pre tag.
|
[4855]
|
johnjamesjacoby
|
Bump 2.3 branch version to 2.3.1-bleeding.
|
[4854]
|
johnjamesjacoby
|
Update admin credits section (2.3 branch)
|
[4853]
|
johnjamesjacoby
|
Update admin credits section (trunk)
|
[4852]
|
johnjamesjacoby
|
Bump trunk to 2.4-bleeding.
|
[4851]
|
johnjamesjacoby
|
Tag 2.3.
|
[4850]
|
johnjamesjacoby
|
Create 2.3 branch.
|
[4849]
|
johnjamesjacoby
|
Bump trunk to 2.3.
|
[4848]
|
johnjamesjacoby
|
Remove the global cache group, and update existing cache group keys to be more descriptive. Fixes issues with cached queries stomping each other on multisite installations. Fixes #2294.
|
[4847]
|
johnjamesjacoby
|
In bbp_check_for_duplicate(), run wp_unslash() or stripslashes_deep() on the entire $r array. Remove unslashing on results of get_meta_sql() to allow any previously slashed values to remain slashed. See #2185.
|
[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]
|
[4845]
|
johnjamesjacoby
|
Fix bug in bbp_get_topic_excerpt() that was causing it to always fail. Reverse the parameters of get_post_field() to be in the correct order. See #2300.
|
[4844]
|
johnjamesjacoby
|
Fix bug in bbp_get_reply_excerpt() that was causing it to always fail. Reverse the parameters of get_post_field() to be in the correct order. Props paulgibbs. Fixes #2300.
|
[4843]
|
johnjamesjacoby
|
Don't allow replies to closed topics, unless user can moderate. Props mzaweb. Fixes #2281.
|
[4842]
|
johnjamesjacoby
|
Do not show topic tags in navigation menus.
|
[4841]
|
johnjamesjacoby
|
Bump bbpress.pot.
|
[4840]
|
johnjamesjacoby
|
Update some usages of bbp_get_user_id() to fallback to displayed user, if available. Props alex-ye. Fixes #2285.
|
[4839]
|
johnjamesjacoby
|
Use feed_content_type() in feeds. See #2292.
|
[4838]
|
johnjamesjacoby
|
Update bbp_request_feed_trap() to accept more query variables; fixes issues with non-pretty permalinks. Props alex-ye. Fixes #2296.
|
[4837]
|
johnjamesjacoby
|
Remove 'bbp_filter_kses' filter instead of 'wp_filter_kses' - Fixes unfiltered HTML issues introduced with bbp_filter_kses(). Props alex-ye. Fixes #2290.
|
[4836]
|
johnjamesjacoby
|
phpdoc normalizing and speeling corrections. Props djpaul, netweb. Fixes #2286, #2288.
|
[4835]
|
johnjamesjacoby
|
Add BBP_Admin::show_separator variable, rather than doing repeated capability checks. Block access to admin areas for users without moderator capability. Until now, only the UI was hidden, but the URL was still accessible unless a third party plugin was used.
|
[4834]
|
johnjamesjacoby
|
Fix bug in bbp_get_single_topic_description() causing some conditions to never be executed. Use bbp_get_topic_last_reply_id() instead of bbp_get_topic_last_active_id() since the $topic_id is used as the last active ID if no replies exist. Fixes #2289.
|
[4833]
|
johnjamesjacoby
|
Replace body class 'bbPress' with 'bbpress' -- CSS classes are case insensitive, but we should stick to common conventions to avoid confusion. Props ethitter/boonebgorges.
|
[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.
|
[4831]
|
johnjamesjacoby
|
In bbp_get_user_id(), do not fallback to 'bbp_user_id' query variable, to prevent accidentally confusing a Guest (anonymous) user with the displayed user, in situations where empty bbp_get_user_id() checks are made. Fixes #2284.
|