[7241]
|
johnjamesjacoby
|
Replies: use correct wrapper element in `bbp_list_replies()`.
This change ensures that the proper `div/ol/ul` wrapper is applied (via the `style` parameter argument) to the walked replies hierarchy, and avoids the potential for generating invalid HTML mark-up.
In trunk, for 2.7.0.
Props mdjwel via GitHub pull request.
|
[6826]
|
johnjamesjacoby
|
Replies: use existing `reply_to` value if none is passed.
This change fixes a bug that would cause the reply hierarchy to be broken when non-moderator users would edit their existing replies within the allotted editing period.
Props wpdennis. Fixes #3205.
|
[3274]
|
johnjamesjacoby
|
Reply "View" action link should link to reply URL and not the permalink for the reply, since not all themes will support single reply views. Unset the "View" link if user is viewing trash and does not have proper caps.
|
[3934]
|
johnjamesjacoby
|
Reply Position Improvements:
* Add _update_ and _raw functions for reply positioning.
* Use these functions through-out the codebase as needed.
* Maintains the existing bbp_get_reply_position() behavior, so it's backwards compatible.
* Fixes #1840.
|
[3941]
|
johnjamesjacoby
|
Reply Position/URL:
* Always cast the return value of bbp_get_reply_position() as an integer.
* See #1842.
|
[3940]
|
johnjamesjacoby
|
Reply Position/URL:
* Updates to bbp_get_reply_url() to simplify some logic.
* Move $wp_rewrite global to only where it's needed.
* Move reply position bump to bbp_get_reply_position().
* Fixes #1842. Props WCMKE.
|
[3938]
|
johnjamesjacoby
|
Reply Position:
* Fix issue with new reply_position logic when posting a rew reply.
* Bump the position by one if lead topic is in the replies loop.
* Fixes #1841.
|
[4277]
|
johnjamesjacoby
|
Reply Titles:
* Attribute 'maxlength' not allowed on hidden fields.
* See #1996.
|
[4748]
|
johnjamesjacoby
|
Reprioritize autoembeds to before make_clickable(), to fix broken autoembeds. Fixes #2192.
|
[4656]
|
johnjamesjacoby
|
Reprioritize revision log appending filters to 99, to avoid possibly escaping the full HTML output. Fixes #2131.
|
[7016]
|
johnjamesjacoby
|
Requirements: bump PHP version to 5.6.20.
This commit adds support for the "Requires PHP" readme tag, and also bumps the version for Composer.
Props jrf. Fixes #3298. For 2.6.3, branches/2.6.
|
[7017]
|
johnjamesjacoby
|
Requirements: bump PHP version to 5.6.20.
This commit adds support for the "Requires PHP" readme tag, and also bumps the version for Composer.
Props jrf. Fixes #3298. For 2.7, trunk.
|
[3089]
|
johnjamesjacoby
|
Reset the img.avatar float to none for theme compat
|
[3394]
|
johnjamesjacoby
|
Reset the post data at the end of each have_posts loop.
|
[3087]
|
johnjamesjacoby
|
Reset the post data in the _unset_globals() shortcode function
|
[6759]
|
johnjamesjacoby
|
Reset: DRY out the `bbp_admin_reset_database()` logic.
This change introduces a helper function for running queries and producing user feedback based on those results. It also introduces a `Skipped` result if the query is invalid or empty. Ultimately, this results in fewer repeated lines of code, fewer reused local variables, and an easier to understand code flow.
An old, leftover routine for removing `forum-mod` taxonomy terms was also removed, as that approach was abandoned during the 2.6 development cycle but was missed when other refactoring was done.
|
[2818]
|
johnjamesjacoby
|
Resetting EOL style to native through-out plugin branch.
|
[3083]
|
johnjamesjacoby
|
Resort rules in bbPress::generate_rewrite_rules()
|
[5013]
|
johnjamesjacoby
|
Responsive styling to default templates. Huge props mercime. Fixes #1933.
|
[5617]
|
netweb
|
Restore PHP 5.2 to Travis CI
* Travis restored PHP 5.2 support late last week.
Fixes #2753
|
[3535]
|
johnjamesjacoby
|
Retagging 0.9.0.7 (See r3435)
|
[3532]
|
johnjamesjacoby
|
Retagging 1.1 (See r3529)
|
[6936]
|
johnjamesjacoby
|
Retro TV styling for contributor avatars. 📺
|
[3700]
|
johnjamesjacoby
|
Return passed value if not applicable in bbp_admin_custom_menu_order()
|
[4736]
|
johnjamesjacoby
|
Reverse single/double quote usage in bbp_mention_filter(); also use sprintf() to place variable data. See #2185.
|
[2533]
|
johnjamesjacoby
|
Reverse tabindexes on login form for rememberme and submit.
|
[3470]
|
johnjamesjacoby
|
Reverse the admin.css and admin-2.css relative image depth.
|
[2761]
|
johnjamesjacoby
|
Revert r2759 and correct path in r2755. Props westi
|
[3206]
|
johnjamesjacoby
|
Revert 3139. Move .pot file back into bbp-languages folder for improved GlotPress integration. Props vanillalounge, westi.
|
[4780]
|
johnjamesjacoby
|
Revert WordPress 3.6 slash-compat. See r4771, #WP21767.
|
[2855]
|
mdawaffe
|
Revert a piece of [2800]. bbPress (unlike WordPress), uses term taxonomy IDs as tag IDs instead of term IDs.
I cannot reproduce the reported destroy tag bug, but I would not be surprised if there are still some bugs around this term taxonomy ID v. term ID mess.
See #1353
|
[5062]
|
johnjamesjacoby
|
Revert accidental change to bbp_remove_roles() from r5060.
|
[5063]
|
johnjamesjacoby
|
Revert accidental change to forum query 'orderby' args from r5060.
|
[5602]
|
johnjamesjacoby
|
Revert accidental line-change from r5601, #2747.
|
[5061]
|
johnjamesjacoby
|
Revert accidental removal of threaded replies dropdown pre-option disabled check from r5060.
|
[4980]
|
johnjamesjacoby
|
Revert accidental test field change from r4979. See #1999.
|
[2605]
|
johnjamesjacoby
|
Revert accidentally deleted uninstall procedure from r2604
|
[4492]
|
johnjamesjacoby
|
Revert back to compact() in statistics.
|
[3820]
|
johnjamesjacoby
|
Revert bbp-twentyten back to table based layout:
* bbp-theme-compat retains tableless layout, and is canonical backup for missing template files
* Avoid back-compat issues with installs that have modified bbPress 2.0 CSS
* Fixes #1796
|
[4476]
|
johnjamesjacoby
|
Revert clear removal on topic and reply lists. Force none in profiles. Fixes #1964 (2.2 branch)
|
[4475]
|
johnjamesjacoby
|
Revert clear removal on topic and reply lists. Force none in profiles. Fixes #1964 (trunk)
|
[3615]
|
johnjamesjacoby
|
Revert cruft from bbp_get_forum_edit_template() from r3614.
|
[4130]
|
johnjamesjacoby
|
Revert debug cruft from r4127.
|
[4129]
|
johnjamesjacoby
|
Revert debug cruft from r4128.
|
[2748]
|
johnjamesjacoby
|
Revert extra voice-counts in single-bbp_topic.php that reappeared in r2746
|
[5360]
|
johnjamesjacoby
|
Revert indentation change in r5357. Props netweb. See: http://yaml.org/spec/1.2/spec.html#id2777534
|
[2474]
|
chrishajer
|
Revert mistakenly changed db-version. Props !GautamGupta
|
[3085]
|
johnjamesjacoby
|
Revert most of r3054. $wp_query needs to be explicitly checked to guarantee we are not checking the $post global from a different internal loop.
Change from post_meta based _bbp_visibility to custom forum post status for private and hidden forums. This allows for easier exclusion without the need for slower meta queries. Add wp_reset_postdata() through-out loop and template files where the post global might have been altered by an external plugin. Add bbp_exclude_forum_ids() function, to explicitly exclude forums based on user capabilities.
|
[2573]
|
johnjamesjacoby
|
Revert part of 2572.
|
[2941]
|
johnjamesjacoby
|
Revert part of r2940 and instead use bbp_is_forum() to check if 'any' or bbp_get_forum_id() should be used in default post_parent in bbp_has_topics()
|
[3299]
|
johnjamesjacoby
|
Revert part of r3195. Fixes #1532. Props GautamGupta.
|
[3497]
|
johnjamesjacoby
|
Revert part of r3487 and use post_parent for Akisment permalink parameter.
|
[3601]
|
johnjamesjacoby
|
Revert part of r3600 and change logic. See #1678. (2.1)
|
[3725]
|
johnjamesjacoby
|
Revert part of r3703 as it was causing comment forms and page edit links to reappear in some themes. Instead, introduce bbp_reset_post_data() and use it when the_content has been replaced and the $post global has been unset.
|
[3937]
|
johnjamesjacoby
|
Revert part of r3936 and use correct parent class for reply permalinks.
|
[4599]
|
johnjamesjacoby
|
Revert part of r4594, and move #post ID to bbp-reply-header element. Fixes regression with not being taken to #post-ID on reply publish and edit.
|
[5000]
|
johnjamesjacoby
|
Revert part of r4995 that introduced strict comparisons in bbp_get_time_since() against return values of floor(), which returns a float. See #2358.
|
[5124]
|
johnjamesjacoby
|
Revert part of r5060. Fixes issues with setting forum statuses. Props netweb. (2.4.1)
|
[5165]
|
johnjamesjacoby
|
Revert part of r5164 that moved the `$r` array within a `bbp_is_forum_category()` check in `bbp_get_forum_subscription_link()`, as it caused debug notices from `$r` not being defined. See #2475.
|
[6568]
|
johnjamesjacoby
|
Revert part of r6567, and instead skip the page condition completely.
This makes sure that forms are made available to moderators regardless of the page condition, and fixes a situation where per-forum moderators couldn't publish to forums or topics that were closed.
|
[2961]
|
johnjamesjacoby
|
Revert previous admin menu separator sanity checks until it can be researched further.
|
[3258]
|
johnjamesjacoby
|
Revert r3257 for something more elegant.
|
[3377]
|
johnjamesjacoby
|
Revert r3369.
|
[3408]
|
johnjamesjacoby
|
Revert r3407 and r3405 and move overflow styling into correct locations.
|
[3472]
|
johnjamesjacoby
|
Revert r3471 as it introduced added layer of complexity and potentially confusing function names.
|
[4637]
|
johnjamesjacoby
|
Revert r4625, as it could cause spam topics to become published. Will need to rethink/revisit this in 2.4. See #2125.
|
[5273]
|
johnjamesjacoby
|
Revert r5270, r5271. Let's try to get our history back. Antiprops johnjamesjacoby.
|
[6854]
|
johnjamesjacoby
|
Revert r6853. This breaks pages with matching slug paths.
Will revisit this more thoroughly in a future version.
|
[2597]
|
johnjamesjacoby
|
Revert to colloquial barbarisms (content type/post type)
|
[4428]
|
johnjamesjacoby
|
Revisions:
* In bbp_get_reply_revision_log(), check the post type, and maybe return bbp_get_topic_revision_log() if post is a topic in the replies loop.
* This happens when bbp_show_lead_topic() is set to false, which is the default.
* See #2029.
|
[4426]
|
johnjamesjacoby
|
Revisions:
* Since we do our own revision handling, turn off revisions for the initial call to wp_update_post() in topics and replies.
* We check if the post type supports revisions, and toggle them off and back on to avoid duplicate revisions from specifically saving it later in the edit process.
* Fixes #2029.
|
[4427]
|
johnjamesjacoby
|
Revisions:
* Use correct post type in replies.
* See #2029.
|
[6079]
|
netweb
|
Rewrite Rules: Update search permastruct in `bbPress::add_permastructs()` to `$search_id`
This changeset fixes copy pasta introduced in r4930, and updates the search rewrite to use the `$search_id` and not the `$user_id` as the permalink structure name.
Props offereins.
Fixes #2984.
|
[4321]
|
johnjamesjacoby
|
Rewrites:
* Introduce unique rewrite tags and rules for user topics and replies.
* Fixes conflict with topic and reply post type rules.
* Fixes bug where user topics and replies pages were not working on some installations.
|
[6889]
|
johnjamesjacoby
|
Rewrites: use `property_exists()` on `$wp_rewrite` global touches.
This makes sure that bbPress defaults are preferred, and avoids fatal errors if class properties are unset.
Also relocate `bbp_use_pretty_urls()` to better group it together with other `bbp_rewrite()` wrappers.
|
[4448]
|
johnjamesjacoby
|
Roles:
* Remove unused Visitor role.
* Map non-WordPress roles to default role.
* Hat-tip nerrad for confirmation/testing.
* Fixes #2042 (2.2 branch)
|
[4447]
|
johnjamesjacoby
|
Roles:
* Remove unused Visitor role.
* Map non-WordPress roles to default role.
* Hat-tip nerrad for confirmation/testing.
* Fixes #2042 (trunk)
|
[4528]
|
johnjamesjacoby
|
Roles:
* When updating bbPress and normalizing user roles, remove the old moderator and participant roles from the database.
* Move !BuddyPress role removal into groups repair tool.
* See #2065 (2.2 branch)
|
[4527]
|
johnjamesjacoby
|
Roles:
* When updating bbPress and normalizing user roles, remove the old moderator and participant roles from the database.
* Props jmdodd.
* Fixes #2065.
|
[4449]
|
johnjamesjacoby
|
Roles:
* get_editable_roles() is an admin function, so copy over functionality into bbp_get_user_blog_role().
* See #2042 (2.2 branch)
|
[4450]
|
johnjamesjacoby
|
Roles:
* get_editable_roles() is an admin function, so copy over functionality into bbp_get_user_blog_role().
* See #2042 (trunk)
|
[6118]
|
johnjamesjacoby
|
Roles: Fix infinite loops from load order changes in WordPress 4.7.
* Do not translate "role names" which are actually role IDs
* Add dummy function so literal role names are part of the pomo dictionary
* Introduce `common/locale.php` for future localization code
* Introduce `roles` variable to main bbPress class, and store loaded roles there
* Introduce `bbp_translate_user_role()` to help with outputting literal role names in the proper language
See #3017. For trunk (2.6)
|
[6120]
|
johnjamesjacoby
|
Roles: Fix infinite loops from load order changes in WordPress 4.7.
* Do not translate "role names" which are actually role IDs
* Add dummy function so literal role names are part of the pomo dictionary
* Introduce `common/locale.php` for future localization code
* Introduce `bbp_translate_user_role()` to help with outputting literal role names in the proper language
See #3017. 2.5 branch (for 2.5.11)
|
[6108]
|
johnjamesjacoby
|
Roles: Improve performance of `bbp_get_dynamic_roles()` with a local static variable.
Previously, it rebuilt the multidimensional array of role keys & strings each time it was called, which may be several depending on the page being loaded.
See: #2452.
|
[6106]
|
johnjamesjacoby
|
Roles: Introduce `bbp_roles_init` subaction, and use this for future dynamic roles initialization.
See: #2452;
|
[6107]
|
johnjamesjacoby
|
Roles: Modify `bbp_add_forums_roles()` to accept a `WP_Roles` object as a parameter.
This allows dynamic roles to be initialized on each call to `wp_roles_init` (for WordPress 4.7) rather than relying on the guesswork of blog-switching, option-sniffing, or user init'ing (none of which have ever been good indicators of roles being initialized.)
See: #2452.
|
[6147]
|
johnjamesjacoby
|
Roles: Port `bbp_roles_init()` from trunk to 2.5 branch. See: #3028.
|
[6116]
|
johnjamesjacoby
|
Roles: Remove overzealous usages of `bbp_add_forums_roles()`.
Now that the `wp_roles_init` action exists, we can rely on bbPress roles being registered an available, and no longer need to re-reinitalize them before trying to interact with them.
See: #2959.
|
[6667]
|
johnjamesjacoby
|
Roles: account for empty role in `bbp_set_current_user_default_role()`
This change makes sure that if a user's role does not match any known role, they still receive the default role for the site.
Trunk, for 2.6.
|
[7257]
|
johnjamesjacoby
|
Roles: prevent notices when calling `bbp_add_forums_roles()`
This change adds sanity checks around the `$wp_roles` parameter of the `bbp_add_forums_roles()` function.
It will now attempt to initialize the `WP_Roles` class just-in-time, but only if not already doing the `wp_roles_init` action (to prevent recursion).
If after all of that `$wp_roles` is still not what it needs to be, this function will now silently bail instead of proceeding (to prevent debug notices & errors).
Fixes #3493.
Props naxoc.
In branches/2.6, for 2.6.10.
|
[3308]
|
johnjamesjacoby
|
Round 2 of Akismet updates. Fixes #1553. Props cnorris23.
|
[2809]
|
johnjamesjacoby
|
Run strip_tags and trim on topic and reply excerpts. Fixes #1448.
|
[5332]
|
netweb
|
SMF Importer BBCode regex expressions
* Fix copy pasta `<br>`/`<tt>` regex
* Add non-break space ` ` to space ` ` rexex
Props mspecht. Fixes @2558
|
[5576]
|
netweb
|
SMF importer: Include Subscribed Forums and Subscribed Topics
Props netweb. See #2668
|
[2906]
|
johnjamesjacoby
|
SVN add bbp-update.php from previous revision
|
[3986]
|
johnjamesjacoby
|
SVN properties:
* Add EOL native to new feedback-no-replies.php template part.
* Fixes #1851.
|
[5690]
|
netweb
|
SVN: Remove invalid SVN property `sv:eol-style` from image files in `/branches/2.0` and `/tags/2.0.x`
|
[7042]
|
netweb
|
SVN: Set `svn:mime-type` to `text/xml` for *.xml.dist files
|
[3423]
|
johnjamesjacoby
|
Sanity check $wp_roles and set if not already set.
|
[3426]
|
johnjamesjacoby
|
Sanity check nickname in bbp_edit_user_display_name() to prevent potential debug notice. Fixes #1597. Props !GautamGupta.
|