[4664]
|
johnjamesjacoby
|
Preformatted blocks do not need top margin; it's trumped by the preceding paragraph tag.
|
[4665]
|
johnjamesjacoby
|
Don't wrap nested pre/code tags in additional new-lines.
|
[4666]
|
johnjamesjacoby
|
Improve margins on TinyMCE quicktags. Includes RTL.
|
[4667]
|
johnjamesjacoby
|
Remove call to bbp_topic_admin_links() from form-reply.php. These links are a bit out of context here now, and are duplicated from the lead topic post.
|
[4668]
|
johnjamesjacoby
|
I don't see nothing wrong, with a little bump and grind.
|
[4669]
|
bumpbot
|
Compress scripts/styles: 2.3-bleeding-4669.
|
[4670]
|
johnjamesjacoby
|
Users on single-site installations can have all-numeric usernames, causing profile URLs like '/forums/users/55555/' to be parsed incorrectly.
In bbp_parse_query(), check the 'permalink_structure' option before checking if the 'bbp_user' WP query variable is not numeric.
This has the potentially negative side-effect of not being able to use the query-var with a numeric user ID when using pretty permalinks, but that was never intended behavior anyways.
Fixes #2136.
|
[4671]
|
johnjamesjacoby
|
Enqueue jQuery in default templates, to fix issue with head scripts not having jQuery available in shortcodes, or places where TinyMCE might be pulled into the theme.
|
[4672]
|
johnjamesjacoby
|
Nicename Usage:
* Introduce template tags for getting and displaying a user nicenames. Helpful for themes that want easier access to @mentions data.
* Improve mention filters to use 'slug' instead of 'login.' Fixes possible mismatches when login and nicename are different.
|
[4673]
|
johnjamesjacoby
|
Rejig the post_status logic in bbp_has_topics() and bbp_has_replies() to use the 'perm' query variable when appropriate. This allows unfamiliar topic and reply statuses to work as intended. Also allows post authors to view their own private content. Fixes #2088.
|
[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.
|
[4675]
|
johnjamesjacoby
|
When posting a new reply that does not have a 'publish' post status, only add it to topic-meta pre-spam/trash arrays if the topic status matches. Avoids accidental revealing of unpublished replies when toggling the topic status later.
|
[4676]
|
johnjamesjacoby
|
Fix copy pasta inline doc from r4675.
|
[4677]
|
johnjamesjacoby
|
In bbp_get_user_replies_created(), only query for the reply post type. Fixes issue with topics appearing commingled in the replies created profile page.
|
[4678]
|
johnjamesjacoby
|
Capabilities:
* Allow keymaster role to use Forums tools and save Forums settings.
* Fixes #2139.
|
[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.
|
[4680]
|
johnjamesjacoby
|
Fix copy pasta from topic display name fix. See #2141.
|
[4681]
|
johnjamesjacoby
|
Only show BuddyPress Group settings section when viewing bbPress settings for a BuddyPress root blog. Note that using bp_is_root_blog() includes support for BuddyPress's Multiblog mode.
|
[4682]
|
johnjamesjacoby
|
Tighten up whitespace on bulk user dropdown to better match WordPress core. Fixes #2145.
|
[4683]
|
johnjamesjacoby
|
Set correct '_bbp_allow_global_access' default in settings template tag. Fixes issues with it being off on new installs.
|
[4684]
|
johnjamesjacoby
|
Bring per RSS page settings back, using correct cap key.
|
[4685]
|
johnjamesjacoby
|
When querying topics, use similar logic post_status/perm for stickies. See r4673. Fixes #2146.
|
[4686]
|
johnjamesjacoby
|
Add missing $. Props r-a-y. Fixes #2148.
|
[4687]
|
jmdodd
|
Refine bbp_get_dropdown().
* Don't assume post_parent = 0 as a default.
* Fixes #2153.
|
[4688]
|
jmdodd
|
In bbp_get_dropdown(), set default post_parent to null, not 0.
* Fixes #2153.
|
[4689]
|
johnjamesjacoby
|
Filter topic and reply content code trick and encoding before priority 10. Fixes third party plugin compat when filtering content. Hattip mordauk.
|
[4690]
|
jmdodd
|
Fix array title copypasta in bbp_admin_repair_list().
* Props netweb.
* Fixes #2152.
|
[4691]
|
johnjamesjacoby
|
Add elseif's to bbp_body_class() to avoid running each function when it's not necessary. Also, some code clean-up. Fixes #2168.
|
[4692]
|
johnjamesjacoby
|
Introduce Mingle converter. Props netweb. Fixes #2163.
|
[4693]
|
johnjamesjacoby
|
Improvements to SimplePress5 importer. Props netweb. Fixes #2164.
|
[4694]
|
johnjamesjacoby
|
Fix broken single forum feeds by avoiding get_page_by_path(). Props alex-ye. Fixes #2167.
|
[4695]
|
johnjamesjacoby
|
Introduce tool for repairing each forum's sticky topic ID's. Props gawain. Fixes #2157.
|
[4696]
|
johnjamesjacoby
|
Remove array_reverse() usage in breadcrumb output. Props alex-ye. Fixes #2124, #2166.
|
[4697]
|
johnjamesjacoby
|
Decode blogname in notification emails. Props netweb. Fixes #2172.
|
[4698]
|
johnjamesjacoby
|
Add forum search to body class. Props alex-ye. Fixes #2165.
|
[4699]
|
johnjamesjacoby
|
Add forum search to is_bbpress(). See #2165.
|
[4700]
|
johnjamesjacoby
|
Update bbp_redirect_to_field() to not use home_url(), and instead use super globals. Props alex-ye. Fixes #2155.
|
[4701]
|
johnjamesjacoby
|
Allow moderation and blacklist to be bypassed based on function parameters. Props tlovett1. Fixes #2154.
|
[4702]
|
johnjamesjacoby
|
Use correct bbp_group_is_banned() function. Props r-a-y. Fixes #2150.
|
[4703]
|
johnjamesjacoby
|
Updates to phpBB converter:
* Cleaned whitespace and updated inline docs and phpdoc for consistency accross all import tools.
* Fixed '_bbp_forum_parent_id'
* Added Forum topic count -> '_bbp_topic_count'
* Added Forum reply count -> '_bbp_reply_count'
* Added Forum total topic count -> '_bbp_total_topic_count'
* Added Forum status -> '_bbp_status'
* Fixed Forum dates -> to_type = 'forum' and to_fieldname = 'post_date'
* Fixed Forum dates -> to_type = 'forum' and to_fieldname = 'post_date_gmt',
* Fixed Forum dates -> to_type = 'forum' and to_fieldname = 'post_modified'
* Fixed Forum dates -> to_type = 'forum' and to_fieldname = 'post_modified_gmt'
* Added Topic reply count -> '_bbp_reply_count',
* Added Topic total reply count -> '_bbp_total_reply_count'
* Added Topic date -> '_bbp_last_active_time'
* Added Topic author ip -> '_bbp_author_ip'
* Added phpbb user ICQ -> '_bbp_phpbb_user_icq'
* Added phpbb user MSNM -> '_bbp_phpbb_user_msnm'
* Added phpbb user Jabber -> 'jabber'
* Added phpbb user Occupation -> '_bbp_phpbb_user_occ'
* Added phpbb user Interests -> '_bbp_phpbb_user_interests'
* Added phpbb user Signature -> _bbp_phpbb_user_sig','
* Added phpbb user Location -> '_bbp_phpbb_user_from'
* Added phpbb user avatar filename -> '_bbp_phpbb_user_avatar'
* Added function callback_topic_reply_count
* Added function callback_html (Strips custom phpBB 'magic_url' and 'bbcode_uid' first from $field before parsing $field to parser.php)
* Added bbPress @mentions to converted phpBB [quote] BBCodes
* Props netweb.
* Fixes #1884.
|
[4704]
|
johnjamesjacoby
|
Add missing topic-tag code in bbp_admin_reset_handler(). Props netweb. Fixes #2096.
|
[4705]
|
johnjamesjacoby
|
Audit form field functions. Cast some $_POST values. Props Maty.
|
[4706]
|
johnjamesjacoby
|
Prepare $username in bbp_user_maybe_convert_pass(). Props Maty.
|
[4707]
|
johnjamesjacoby
|
Prepare query variables in converter callbacks. Also add some brackets for readability. Props Maty.
|
[4708]
|
johnjamesjacoby
|
Audit form field functions. Cast some $_POST values. Props Maty. (2.2 branch)
|
[4709]
|
johnjamesjacoby
|
Prepare $username in bbp_user_maybe_convert_pass(). Props Maty. (2.2 branch)
|
[4710]
|
johnjamesjacoby
|
Prepare query variables in converter callbacks. Also add some brackets for readability. Props Maty. (2.2 branch)
|
[4711]
|
johnjamesjacoby
|
Bump 2.2 branch version to 2.2.4. Includes readme.txt changes.
|
[4712]
|
johnjamesjacoby
|
Tag 2.2.4.
|
[4713]
|
johnjamesjacoby
|
Bump trunk stable tag in readme.txt and add 2.2.4 changes. Bump DB version to match 2.2.4.
|
[4714]
|
johnjamesjacoby
|
Improve usage of make_clickable filter on topic and reply content. Fixes #2149.
|
[4715]
|
johnjamesjacoby
|
In favorite/subscription handlers, default redirect to get_permalink( $topic_id ) if no other match is found. Fixes #2160.
|
[4716]
|
johnjamesjacoby
|
Map group forum meta caps directly to 'bbp_map_meta_caps' filter to avoid recursion. Also remove BuddyPress 'topic' action check, to allow single group-forum capability map to work correctly. Fixes #2140.
|
[4717]
|
johnjamesjacoby
|
Supplemental removal of group forum capability mapping after group forum is displayed. See #2140.
|
[4718]
|
johnjamesjacoby
|
Introduce Vanilla converter tool. Props netweb. Fixes #2179.
|
[4719]
|
johnjamesjacoby
|
Whitespace cleanup in BuddyPress activity.php. See #2176.
|
[4720]
|
johnjamesjacoby
|
In BuddyPress's loader, setup components in priority 7, to get them in before activity actions are registered. Props r-a-y. Fixes #2176.
|
[4721]
|
johnjamesjacoby
|
Rearrange the way map_group_forum_meta_caps() is used. See #2089.
|
[4722]
|
johnjamesjacoby
|
Tweak BuddyPress activity action text to bring them closer together in lists (typically sorted alphabetically.)
|
[4723]
|
johnjamesjacoby
|
On single forum view, do not check for forum count when trying to query sub forums. Fixes #2085.
|
[4724]
|
johnjamesjacoby
|
When calculating the child forum count, check all post ID's with matching parents instead of only public ones. Helps fix bug causing private and hidden forums to not appear. In the future, this could be handled better, without hardcoded post status checks. See #2085.
|
[4725]
|
johnjamesjacoby
|
Invision converter improvements. Props netweb. Fixes #2181.
|
[4726]
|
johnjamesjacoby
|
Improvements to the phpBB converter. Props netweb. Fixes #2182.
|
[4727]
|
johnjamesjacoby
|
Improvements to the Mingle converter. Props netweb. See #2182.
|
[4728]
|
johnjamesjacoby
|
Improvements to the SimplePress5 converter. Props netweb. See #2182.
|
[4729]
|
johnjamesjacoby
|
A picture is worth a thousand words. Hat tip netweb. See #2183.
|
[4730]
|
johnjamesjacoby
|
Improvements to vBulletin importer. Props netweb. Fixes #1991.
|
[4731]
|
johnjamesjacoby
|
When repairing BuddyPress group forum relationships, also sync up the group forum status. Fixes #2089.
|
[4732]
|
johnjamesjacoby
|
Bump trunk to 2.3-beta1.
|
[4733]
|
johnjamesjacoby
|
Normalize svn props for .php files, and add missing index.php to /includes/search/ directory.
|
[4734]
|
johnjamesjacoby
|
Update bbpress.pot.
|
[4735]
|
johnjamesjacoby
|
Prepare query in bbp_check_for_duplicate(). See #2185.
|
[4736]
|
johnjamesjacoby
|
Reverse single/double quote usage in bbp_mention_filter(); also use sprintf() to place variable data. See #2185.
|
[4737]
|
johnjamesjacoby
|
Change topic and reply content filter order to move 'bbp_mention_filter' just behind 'make_clickable' since mentions are an extention of it. See #2185.
|
[4738]
|
johnjamesjacoby
|
Remove "bbp-mention-link" class from bbp_mention_filter() links. Fixes bug where copy/pasting previous post content into TinyMCE causes duplicate topic/reply check to not match correctly. See #2185.
|
[4739]
|
johnjamesjacoby
|
Now that mentions are in bbPress core, remove the extra mention code in the BuddyPress activity extension. Fixes #2185.
|
[4740]
|
johnjamesjacoby
|
Reorder topic and reply content code filters to fix entity issue inside code blocks.
|
[4741]
|
johnjamesjacoby
|
Fix issue with user profile replies pagination. Props r-a-y. Fixes #2190.
|
[4742]
|
johnjamesjacoby
|
Fix bug preventing nested forums from being available when creating topics/replies from wp-admin. Props alex-ye. Fixes #2186.
|
[4743]
|
johnjamesjacoby
|
Improvements to bbPress 1.x converter inline documentation. Props netweb. fixes #2189.
|
[4744]
|
johnjamesjacoby
|
When updating the BuddyPress root group forum, also update the post_name. Hat tip netweb. See #2089.
|
[4745]
|
johnjamesjacoby
|
Update the What's New page.
|
[4746]
|
johnjamesjacoby
|
Remove deprecated subforum prevention code. Though it's not directly supported, preventing it isn't necessary either. See #2191.
|
[4747]
|
johnjamesjacoby
|
Remove invalid @uses for subforum count. See #2191.
|
[4748]
|
johnjamesjacoby
|
Reprioritize autoembeds to before make_clickable(), to fix broken autoembeds. Fixes #2192.
|
[4749]
|
johnjamesjacoby
|
Add a note about bbcodes and smilies to welcome screen. Props netweb. Fixes #2192.
|
[4750]
|
johnjamesjacoby
|
Remove 'bbp_encode_bad' filter on topic/reply content. Fixes issues with double encoding.
|
[4751]
|
johnjamesjacoby
|
Bump to 2.3 Beta 2.
|
[4752]
|
johnjamesjacoby
|
When calling WP_Roles->add_role() directly, make sure that bbPress's roles and caps have been added. Addresses a bug related to the $wp_roles global being created too soon, or when attempting to add a role before $wp_roles has been properly initialized.
|
[4753]
|
johnjamesjacoby
|
Make bbp_add_forums_roles() return the $wp_roles global, for future use when looking for the WP_Roles object later.
|
[4754]
|
johnjamesjacoby
|
In bbp_get_user_blog_role(), use bbp_add_forums_roles() instead of accessing WP_Roles directly. Fixes issue where WP_Roles could be loaded without bbPress's roles correctly added in time, causing default role to be added without correct allcaps for user.
|
[4755]
|
johnjamesjacoby
|
Add _doing_it_wrong() feedback to bbp_setup_current_user(), to help debug role and capability issues when the current user is prematurely loaded.
|
[4756]
|
johnjamesjacoby
|
Use correct bbPress version number in doing_it_wrong() usage in bbp_setup_current_user().
|
[4757]
|
johnjamesjacoby
|
Add textdomain to _doing_it_wrong() feedback in bbp_setup_current_user().
|
[4758]
|
johnjamesjacoby
|
In bbp_profile_update_role(), add additional checks to prevent accidental role changes.
|
[4759]
|
johnjamesjacoby
|
Backport roles improvements to 2.2 branch.
* bbp_add_forums_roles() now returns the modified roles global.
* Hardening around saving a user's role when editing their profile.
* Call bbp_add_forums_roles() in a few places to make sure roles are added before using add_role() or set_role().
|
[4760]
|
johnjamesjacoby
|
Add missing textdomain's for admin component. Props daveshine. Fixes #2197.
|
[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.
|
[4762]
|
johnjamesjacoby
|
Theme Compatibility:
* When locating template files, filter 'bbp_get_template_stack' rather than 'bbp_get_template_part'
* Fixes bug where using bbp_locate_template() directly would result in missing subdirectory locations.
|
[4763]
|
johnjamesjacoby
|
Use the correct variable name in bbp_add_template_stack_locations(). See r4762.
|