[4864]
|
johnjamesjacoby
|
Use correct filter names in bbp_is_user_deleted() and bbp_is_user_spammer(). Props alex-ye. Antiprops johnjamesjacoby. (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)
|
[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)
|
[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)
|
[4868]
|
johnjamesjacoby
|
Bump 2.3 branch to 2.3.1.
|
[4869]
|
johnjamesjacoby
|
Tag 2.3.1.
|
[4870]
|
johnjamesjacoby
|
Bump readme.txt and version in trunk.
|
[4871]
|
johnjamesjacoby
|
Overload the code tag in the fancy editor, and use backticks instead. Props mzaweb. (2.3 branch)
|
[4872]
|
johnjamesjacoby
|
Overload the code tag in the fancy editor, and use backticks instead. Props mzaweb. (trunk)
|
[4873]
|
johnjamesjacoby
|
Deprecate the 'bbp_get_the_body_class' filter in bbp_body_class(). Fixes #2316 (trunk)
|
[4874]
|
johnjamesjacoby
|
Deprecate the 'bbp_get_the_body_class' filter in bbp_body_class(). Fixes #2316 (2.3 branch)
|
[4875]
|
johnjamesjacoby
|
Remove kses filters with the correct priorities if user has 'unfiltered_html' capability. Props alx-ye. Fixes #2315 (2.3 branch)
|
[4876]
|
johnjamesjacoby
|
Remove kses filters with the correct priorities if user has 'unfiltered_html' capability. Props alx-ye. Fixes #2315 (trunk)
|
[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)
|
[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)
|
[4879]
|
johnjamesjacoby
|
Only remove filters if bbp_use_wp_editor() is true. See #2317. (2.3 branch)
|
[4880]
|
johnjamesjacoby
|
Only remove filters if bbp_use_wp_editor() is true. See #2317. (trunk)
|
[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)
|
[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)
|
[4883]
|
johnjamesjacoby
|
Add contextual help to admin edit screens. Props mamaduka. Fixes #2324 (2.3 branch)
|
[4884]
|
johnjamesjacoby
|
Add contextual help to admin edit screens. Props mamaduka. Fixes #2324 (trunk)
|
[4885]
|
johnjamesjacoby
|
Fix a few widget fields that were not saving correctly. Props alex-ye. Fixes #2319 (trunk)
|
[4886]
|
johnjamesjacoby
|
Fix a few widget fields that were not saving correctly. Props alex-ye. Fixes #2319 (2.3 branch)
|
[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)
|
[4888]
|
johnjamesjacoby
|
Add width: 100%; styling to reply divs, to prevent comment theme styles from bleeding over into forum topics. Fixes #2320 (trunk)
|
[4889]
|
johnjamesjacoby
|
Unfloat reply edit pages. Fixes theme-compat issues with themes that have loose .reply class rules. Fixes #2321 (trunk)
|
[4890]
|
johnjamesjacoby
|
Unfloat reply edit pages. Fixes theme-compat issues with themes that have loose .reply class rules. Fixes #2321 (2.3 branch)
|
[4891]
|
johnjamesjacoby
|
Bump 2.3 branch to 2.3.2.
|
[4892]
|
johnjamesjacoby
|
Tag 2.3.2.
|
[4893]
|
johnjamesjacoby
|
Bump 2.3 branch to 2.3.3-alpha.
|
[4894]
|
johnjamesjacoby
|
Bump stable tag to 2.3.2 and add 2.3.2 to changelog.
|
[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.
|
[4896]
|
johnjamesjacoby
|
Use implode() instead of join() through-out project. See #2331.
|
[4897]
|
johnjamesjacoby
|
Delete the correct 'bbpress_users' cache group for subscriptions and favorites. 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.
|
[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.
|
[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.
|
[4901]
|
johnjamesjacoby
|
Bump.
|
[4902]
|
johnjamesjacoby
|
Add authordata to topic/reply metabox. Props mzaweb. Fixes #2224.
|
[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)
|
[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)
|
[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)
|
[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)
|
[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)
|
[4908]
|
johnjamesjacoby
|
Remove help documentation for unsupported core WordPress post features. See #2332 (2.3 branch)
|
[4909]
|
johnjamesjacoby
|
Remove help documentation for unsupported core WordPress post features. See #2332 (trunk)
|
[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)
|
[4912]
|
johnjamesjacoby
|
Add filter to bbp_get_search_terms().
|
[4913]
|
johnjamesjacoby
|
Add filter to bbp_get_search_title().
|
[4914]
|
johnjamesjacoby
|
In bbp_parse_args(), switch $defaults default from '' to array(), and add some brackets to improve readability.
|
[4915]
|
johnjamesjacoby
|
Pass an empty array into bbp_parse_args() in bbp_search_query().
|
[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.
|
[4917]
|
johnjamesjacoby
|
Trim search shortcode search-terms. See #2337.
|
[4918]
|
johnjamesjacoby
|
Add sub-actions for rewrite rules and permastructs. See #2336.
|
[4919]
|
johnjamesjacoby
|
Introduce bbp_is_search_results() and use it in is_bbpress() and bbp_body_class(). 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.
|
[4921]
|
johnjamesjacoby
|
Use bbp_get_search_url() in bbp_get_breadcrumb() so that it works without pretty permalinks. See #2337.
|
[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.
|
[4923]
|
johnjamesjacoby
|
Add no_found_rows and ignore_sticky_posts to widget queries.
|
[4924]
|
johnjamesjacoby
|
Add ignore_sticky_posts to bbp_has_forums() and bbp_has_replies() queries.
|
[4925]
|
johnjamesjacoby
|
Clean up overlapping default arguments in user_topics/replies_created functions.
|
[4926]
|
johnjamesjacoby
|
Introduce reply archive slug option. See #2336.
|
[4927]
|
johnjamesjacoby
|
Introduce paged rewrite ID and slug helper functions. 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.
|
[4929]
|
johnjamesjacoby
|
Fix @deprecated tag for bbp_generate_rewrite_rules(). See #2336.
|
[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.
|
[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.
|
[4932]
|
johnjamesjacoby
|
First pass at settings and options redux:
* Introduce toggle to break forum settings up into existing !WordPress settings pages. Off by default, this allows us to migrate easier later, should we decide to go this route. See #1500.
* Introduce setting to handle the forum-root toggle. This eliminates the possible forum/topic archive slug conflict, if using topics archive as forum root. More to integrate here, including changing the main query and template part output.
* Break user slugs into their own section, and allow favorites and subscriptions slugs to be edited.
* Turn Forum Root into it's own section, and move topic/reply archive slugs into the new user section.
|
[4933]
|
johnjamesjacoby
|
Move user base setting into new Users section. Tweak some verbiage to be more succinct. See #1500.
|
[4934]
|
johnjamesjacoby
|
Allow partial global/local .mo file loading in bbPress::load_textdomain(). Props strangerstudios.
|
[4935]
|
johnjamesjacoby
|
Allow topics to replace the forum archive:
* Add condition to bbp_parse_args() and add a specific query variable early, and use this variable in bbp_is_forum_archive().
* Add condition to display_forum_archive() shortcode, to output topics if set.
* Add forum archive check to bbp_has_topics(), to ensure pagination links are correct.
* See #1500.
|
[4936]
|
johnjamesjacoby
|
Correct typo that snuck in after testing. See #1500.
|
[4937]
|
johnjamesjacoby
|
Tweak include_root Settings verbiage to hopefully provide more context. See #1500.
|
[4938]
|
johnjamesjacoby
|
s/Base/Root. See #1500.
|
[4939]
|
johnjamesjacoby
|
Add bbp_settings_user_slugs section to mapped capabilities method. See #1500.
|
[4940]
|
johnjamesjacoby
|
Check for both forum/topic archives when setting 'bbp_show_topics_on_root' query arg. Fixes paged 404's in configurations where a !WordPress page is used in place of the normal Forum archive. See #1500.
|
[4941]
|
johnjamesjacoby
|
In the BuddyPress extension, use slug helper functions to define navigational elements. This will allow customization of slugs in profiles to integrate with BuddyPress 1.8 rewrite rules. Also use the BP_Component slug rather than hardcoded 'forums' in the event this slug becomes customizable in the future.
|
[4942]
|
johnjamesjacoby
|
Introduce bbp_make_clickable() and use it in place of make_clickable() filter. Fixes issues with making links clickable inside pre and code blocks. See #2335 (trunk)
|
[4943]
|
johnjamesjacoby
|
Introduce bbp_make_clickable() and use it in place of make_clickable() filter. Fixes issues with making links clickable inside pre and code blocks. Fixes #2335 (2.3 branch)
|
[4944]
|
johnjamesjacoby
|
Hierarchical replies:
* Introduce setting, option, functions, JS, CSS, and Walker class to support hierarchical replies.
* Tweak functions where saving the additional reply_to meta data is necessary.
* Add meta data field in dashboard to show the reply_to ID.
* There will likely be more tweaking necessary, as we test this further and get more eyes on the code.
* Fixes #2036.
* Props jmdodd for this huge effort.
|
[4945]
|
bumpbot
|
Compress scripts/styles: 2.4-alpha-r4900-4945.
|
[4946]
|
johnjamesjacoby
|
Fix the version.
|
[4947]
|
johnjamesjacoby
|
Add missing allow_revisions setting in bbp_get_default_options().
|
[4948]
|
johnjamesjacoby
|
Audit title attributes, and remove instances where they would match template-tag contents. Fixes #2318.
|
[4949]
|
johnjamesjacoby
|
Use printf() instead of echo'ing sprintf() in admin.php.
|
[4950]
|
johnjamesjacoby
|
In admin, escape output of translated text where appropriate. Also review and refresh existing escaping approaches. See #1999.
|
[4951]
|
johnjamesjacoby
|
Allow both get and post requests in bbp_is_ajax().
|
[4952]
|
johnjamesjacoby
|
Escape output of translation strings where appropriate. Refresh some escaping approaches. See #1999.
|
[4953]
|
johnjamesjacoby
|
Use esc_html__() instead of esc_attr__() is two common template functions.
|
[4954]
|
johnjamesjacoby
|
Remove double escaping of user display name for theme compat reset post.
|
[4955]
|
johnjamesjacoby
|
Use correct bbp_get_displayed_user_id() function in bbp_make_ham_user().
|
[4956]
|
johnjamesjacoby
|
Remove double escaping for bbp_get_displayed_user_field() usages, and update phpdoc for spam/ham user functions.
|
[4957]
|
johnjamesjacoby
|
Use array_keys() in user option filter functions when looping through default user options.
|
[4958]
|
johnjamesjacoby
|
Use esc_html_e() in user template functions. See #1999.
|
[4959]
|
johnjamesjacoby
|
Use esc_html_e() in extensions. See #1999.
|
[4960]
|
johnjamesjacoby
|
Only show allowed tags when not using the fancy editor or user does not have unfiltered_html cap. Also remove function_exists() check for wp_editor().
|
[4961]
|
johnjamesjacoby
|
Allow registering of settings that don't need callbacks or titles. See #2340.
|
[4962]
|
johnjamesjacoby
|
When adding the reply_to link, only add onclick if threaded replies are enabled. See #2340.
|
[4963]
|
johnjamesjacoby
|
Tweak threaded reply setting to more closely match threaded comments, and add the default settings to the options array. Fixes issue with 0/1 level deep not matching intended behavior. See #2340.
|