[5680]
|
johnjamesjacoby
|
Topics: Audit `template.php`:
* Add filters to `is_sticky` functions
* Pass `$args` into more filters
* Escape more gettext output
* Fix a few `bbp_parse_args` filter names copied from forums component
* Un-nest a few complex-looking lines
|
[6143]
|
johnjamesjacoby
|
Topics: Break apart some lengthy inline conditions. See #3032.
|
[6098]
|
netweb
|
Topics: Call `bbp_move_topic_handler()` when moving a topic to a new forum in the back end.
This changeset ensures that both the source and destination forums meta is updated when a topic is moved.
Fixes #2587.
|
[5705]
|
johnjamesjacoby
|
Topics: Check for correct `$integer` request value, so the correct filter is applied. Fixes #2791.
|
[5768]
|
netweb
|
Topics: Correct PHPDoc in `bbp_bump_topic_reply_count()` and `bbp_bump_topic_reply_count_hidden()` functions
|
[5709]
|
johnjamesjacoby
|
Topics: Filter `bbp_get_forum_topic_count_hidden` to format the output, to match other count functions.
|
[5714]
|
netweb
|
Topics: Filter `bbp_get_topic_reply_count_hidden` to format the output, to match other count functions.
|
[5886]
|
johnjamesjacoby
|
Topics: First pass at metabox for replies in single-topic edit
* Includes `topic-replies` list-table class
* Includes helper functions for hooking things in
* Todo: cap checks or row-actions, maybe bulk-actions, formatting clean-up
See #2842.
|
[5811]
|
netweb
|
Topics: Fix `bbp_get_topic_post_date()` default GMT date format copy pasta introduced in r4647, includes unit tests.
Props tobyhawkins. Fixes #2697
|
[5893]
|
netweb
|
Topics: Fix incorrect PHPDoc references to `bbp_show_lead_topic()` in `bbp_display_topics_feed_rss2()` and `bbp_display_replies_feed_rss2()`
|
[6287]
|
johnjamesjacoby
|
Topics: Fix list-table arguments.
* `singular/plural` are not labels
* Set `ajax` to `false` since this does not use ajax
Props mordauk.
|
[5669]
|
netweb
|
Topics: Fix missing meta data during new closed topic creation
* In `bbp_new_topic_handler()` check if the post status is `closed` and close using `bbp_close_topic()`
* In `bbp_close_topic()` allow topics to be properly closed if `_bbp_status` is missing from topic meta
Props netweb. Fixes #2653
|
[6244]
|
netweb
|
Topics: Fix misspelled `bbp_get_topic_last_reply_*` filters.
* Update `bbp_get_topic_last_reply_title()` to use `bbp_get_topic_last_reply_title`
* Includes a fallback for any plugins or themes that use `bbp_get_topic_last_topic_title`
* Fix PHPDocs `@uses` PHPDocs for `bbp_get_topic_last_reply_permalink` and `bbp_get_topic_last_reply_url`
Props SergeyBiryukov.
Fixes #3039.
|
[6385]
|
johnjamesjacoby
|
Topics: Fix recursive call from find/replace. See r6384.
|
[5738]
|
johnjamesjacoby
|
Topics: Improve type-casting in topic functions.
Props thebrandonallen, netweb. See #2801.
|
[5729]
|
johnjamesjacoby
|
Topics: In `bbp_move_topic_handler()`, clean both old and new forum caches before updating forum hierarchies.
Fixes issue where moving a topic would result in incorrect counts for both forums, due to out-of-date cache values.
Props thebrandonallen. Fixes #2322.
|
[6644]
|
johnjamesjacoby
|
Topics: Introduce `bbp_get_non_public_topic_statuses()`
This new function returns the inverse post-statuses of `bbp_get_public_topic_statuses()` with a filter to help target them more specifically in places where it was not previously possible to do so.
See #3128.
|
[5682]
|
johnjamesjacoby
|
Topics: Move `is_sticky` functions to above open/closed functions
|
[5674]
|
johnjamesjacoby
|
Topics: Normalize admin links:
* Remove superfluous `(int)` type cast
* Pass `$args` into filters
* Use `bbp_get_edit_rewrite_id()` where applicable
|
[5776]
|
netweb
|
Topics: Pass correct array value `post_author` to `bbp_update_topic()` in `bbp_insert_topic()` added in r5775
See #2805
|
[6504]
|
johnjamesjacoby
|
Topics: Redirect to forum when trashing a topic and the user cannot view trash.
Fixes #3111. Props mattrabe.
|
[6611]
|
johnjamesjacoby
|
Topics: Remove `bbp_get_user_closed_topic_count()`.
This was introduced in the 2.6 cycle to circumvent a problem from using `count_user_posts()`. Now that we're doing a direct query again, this function is no longer used.
See #6610.
|
[5917]
|
netweb
|
Topics: Return `string` in `bbp_update_forum_last_active_time()`
Includes updated PHPdocs and unit tests for `bbp_update_topic_last_*()` functions.
Props thebrandonallen. See #2811
|
[6099]
|
netweb
|
Topics: Revert [6098]
This doesn't work, on many levels, when testing a patch make sure the patch your testing matches the same site you're testing with.
Antiprops netweb.
See #2587.
|
[5667]
|
netweb
|
Topics: Update `bbp_open_topic()` and `bbp_close_topic()` `@uses` documentation missed in r5656
See #2653
|
[5681]
|
johnjamesjacoby
|
Topics: Use `sanitize_key()` on `select_id` in dropdown helpers.
|
[7136]
|
johnjamesjacoby
|
Topics: Use global update functions for Forum & Topic IDs.
This commit cleans up an oversight where `update_post_meta()` was being called directly rather than their abstractions.
In branches/2.6, for 2.6.6.
|
[7137]
|
johnjamesjacoby
|
Topics: Use global update functions for Forum & Topic IDs.
This commit cleans up an oversight where `update_post_meta()` was being called directly rather than their abstractions.
In trunk, for 2.7.
|
[5778]
|
netweb
|
Topics: When moving a topic update the topics post parent in `bbp_move_topic_handler()`, includes unit test `test_bbp_move_topic_handler()`
Props netweb. See #2322
|
[6086]
|
netweb
|
Topics: `@uses` not `@yses` PHPDoc in `bbp_update_topic()`
|
[5860]
|
johnjamesjacoby
|
Topics: fallback on `post_parent` in `bbp_update_topic_walker()`.
This changeset fixes a bug where forum topic counts were not updated when topics were permanently deleted, causing hidden topic counts to be wildly inaccurate.
Props thebrandonallen. Fixes #2529.
|
[7153]
|
johnjamesjacoby
|
Topics: fix not being able to unsticky in certain circumstances.
This commit adds a `bbp_unstick_topic()` call inside of `bbp_update_topic()` where it has been missing since forever.
In branches/2.6, for 2.6.6. See #3396.
|
[7154]
|
johnjamesjacoby
|
Topics: fix not being able to unsticky in certain circumstances.
This commit adds a `bbp_unstick_topic()` call inside of `bbp_update_topic()` where it has been missing since forever.
In trunk, for 2.7. Fixes #3396.
|
[6269]
|
johnjamesjacoby
|
Topics: get a fresh value for `redirect_to` when trashing/untrashing/deleting.
Fixes a bug where trashing a topic theme-side would redirect to the prefetched topic URL and 404.
(In the case of trashed topics, since WordPress 4.7, the slug receives a `__trashed` suffix, changing the topic link.)
Fixes #3051.
|
[6618]
|
johnjamesjacoby
|
Topics: prefer "started" over "created" for default theme verbiage.
|
[5930]
|
johnjamesjacoby
|
Topics: sanity check `$_REQUEST` and introduce list-table methods for reply table-navigation.
This changeset fixes a potential debug notice introduced in r5886, and removes unused functionality inherited from `WP_List_Table`.
Fixes #2842. See #2587.
|
[4347]
|
johnjamesjacoby
|
Trailing whitespace clean-up in: includes/admin/
|
[4781]
|
johnjamesjacoby
|
Translate get_post_time() when used without humanization. Props alex-ye. Fixes #2222.
|
[2510]
|
chrishajer
|
Translate plugin names and descriptions properly before activation. Fixes #1318. Props Nightgunner5
|
[3388]
|
johnjamesjacoby
|
Translation tweak to form-reply.php. Fixes #1584. Props ramiy.
|
[6416]
|
netweb
|
Trash: Cast _pre_ post-meta values to an array.
Prevents notices & warnings in the event 0 or 1 replies exist.
Props SergeyBiryukov.
See #3053.
Merges [6360] to the 2.5 branch.
|
[6360]
|
johnjamesjacoby
|
Trash: Cast `_pre_` post-meta values to an array.
Prevents notices & warnings in the event 0 or 1 replies exist.
Props SergeyBiryukov. Fixes #3053.
|
[6432]
|
johnjamesjacoby
|
Trash: Introduce `bbp_get_trash_days()` helper function.
This will allow the trashability of an object type to be short-circuited, around the `EMPTY_TRASH_DAYS` constant.
|
[5402]
|
johnjamesjacoby
|
Travis Updates:
* Switch to a 'shallow' Git clone of the official WordPress Git repo for faster WordPress upstream checkout.
* The addition of the fast_finish: true flag in the build matrix will mark the build passed or errored as soon as a single build job has failed. Previously the build status was not reported until ALL tests had completed regardless of status.
* Moves the 'build configuration' to before_install allowing non-bbPress test configuration to report as errored (MySQL database creation, and WordPress Git checkout etc). When a failure occurs in this section the build is marked as errored which is a more accurate description in that the environment we are setting up has failed and not the actual bbPress tests we are testing.
* Introduces PHP 5.6 and HHVM testing into the build matrix, both of these are allowed to fail in that they will not be included in the overall build job failed, errored, or passed build status. This allows bbPress testing to play nice with these alpha/beta version of PHP/HHVM until stable and officially released.
Props netweb. See #2542.
|
[5869]
|
netweb
|
Travis-CI: Include WordPress v4.2 in test matrix
|
[5864]
|
netweb
|
Travis-CI: Remove HHVM-Nightly, HHVM nightly packages for Ubuntu Precise have been discontinued.
|
[5581]
|
netweb
|
Travis-CI: Specify IRC server/channel using a secure encrypted key
- This prevents our IRC dev channel #bbPress-dev from being notified when other people run bbPress' unit tests with travis-ci integration of their own Github forks.
- Key created using `travis encrypt "irc.freenode.net#bbpress-dev" -r bbpress/bbPress` results in IRC notifications only from the bbPress official GitHub repo https://github.com/bbpress/bbPress
- See http://docs.travis-ci.com/user/encryption-keys/
|
[4380]
|
johnjamesjacoby
|
Trim off beta and revision suffixes from display version in What's New and Credits pages. See #2018.
|
[4917]
|
johnjamesjacoby
|
Trim search shortcode search-terms. See #2337.
|
[4136]
|
johnjamesjacoby
|
Trunk:
* Add temporary readme.txt to trunk, with details on where 1.1 development has moved to.
|
[4199]
|
johnjamesjacoby
|
Trunk:
* Delete /trunk/readme.txt warning.
* Clean out /trunk to copy /branches/plugin history over.
|
[4134]
|
johnjamesjacoby
|
Trunk:
* Empty the trunk folder.
* For 1.1 dev, refer to /branches/1.1/
* For 2.2 dev, refer to /branches/plugin/ until it's moved to /trunk/
* See: https://bbpdevel.wordpress.com/2012/04/15/coming-in-the-next-few-days-the-bbpress/
|
[4135]
|
johnjamesjacoby
|
Trunk:
* Remove svn:ignore property from /trunk/
|
[4976]
|
johnjamesjacoby
|
Try theme compat without adding and removing all of the filters from the_content. Now that theme compatibility has matured, this may not be necessary anymore. See #2343.
|
[3114]
|
johnjamesjacoby
|
Try to kill comments_template() output on pages where bbPress theme compat has intercepted the_content().
|
[3778]
|
johnjamesjacoby
|
Try to load the theme's bbpress-functions.php file first, before invoking the default theme-compat. Also add root folder to array of paths to look for templates in.
|
[3931]
|
johnjamesjacoby
|
Try to use get_queried_object() in single topic-tag queries, to maximize object cache usage.
|
[3782]
|
johnjamesjacoby
|
Turn BBP_Default class into smarter default for theme compat
* Additional comments to help theme developers move files around
* Check theme support, and tweak the defaults as needed
* Use the pinking shears
* Use local variables for script locations
* See #1766
|
[3758]
|
johnjamesjacoby
|
Turn bbPress into a singleton.
* Introduce bbpress() function to get the bbPress instance
* Replace all $bbp global references with calls to bbpress()
* Update bbPress class with matching singleton private static $instance variable and public static method
* Fixes #1759.
|
[3490]
|
johnjamesjacoby
|
Turn off canonical on paged pages and singulars to allow shortcode pagination to work. Fixes #1628.
|
[3719]
|
johnjamesjacoby
|
Tweak Akismet setting description, as Group forums are now scanned by Akismet also.
|
[4722]
|
johnjamesjacoby
|
Tweak BuddyPress activity action text to bring them closer together in lists (typically sorted alphabetically.)
|
[4596]
|
johnjamesjacoby
|
Tweak CSS for forum content description.
* Fixes margin issues introduced with search functionality.
Also rearrange forum description and sub-forum lists in loop-single-forum.php.
|
[3595]
|
johnjamesjacoby
|
Tweak Green admin color scheme. See [WP19198]
|
[3767]
|
johnjamesjacoby
|
Tweak _insert_ functions to use current user ID as default post_author.
|
[5494]
|
johnjamesjacoby
|
Tweak `bbp-author-ip` styling, removing the font family and ensuring long IP addresses break correctly. Props netweb. Fixes #2675.
|
[5388]
|
johnjamesjacoby
|
Tweak `bbp_get_dropdown()` to allow an array of custom posts to be used. See #2617.
|
[5387]
|
johnjamesjacoby
|
Tweak `bbp_get_dropdown()` to allow an array of custom posts to be used. See #2617.
|
[4779]
|
johnjamesjacoby
|
Tweak action order for early !WordPress 3.6 stripslashes support.
|
[3878]
|
johnjamesjacoby
|
Tweak admit repair page text and description.
|
[4814]
|
johnjamesjacoby
|
Tweak author link functions to only perform 1 anonymous check. Also, only use author link functions in widgets when show_user is on. Props GargajCNS.
|
[2664]
|
johnjamesjacoby
|
Tweak author.php and associated CSS
|
[3883]
|
johnjamesjacoby
|
Tweak bbp-core-options.php to not create variables where they are not needed.
|
[3835]
|
johnjamesjacoby
|
Tweak bbp-forum-content and bbp-forums-list styling. Fixes #1800.
|
[3848]
|
johnjamesjacoby
|
Tweak bbp-theme-compat CSS:
* Remove references to legacy body id's (#content|#wrapper|#container)
* Enforce list-style: none; to prevent bullets where they are not wanted
* Selectively set list-style: square; in content areas
|
[3449]
|
johnjamesjacoby
|
Tweak bbp-twentyten form field CSS
|
[5102]
|
johnjamesjacoby
|
Tweak bbp_title() to better integrate with other plugins that filter 'wp_title'. Fixes #2405. (2.4 branch)
|
[5101]
|
johnjamesjacoby
|
Tweak bbp_title() to better integrate with other plugins that filter 'wp_title'. Fixes #2405. (trunk)
|
[4636]
|
johnjamesjacoby
|
Tweak content filter priorities to more closely match WordPress core order.
|
[3682]
|
johnjamesjacoby
|
Tweak empty forum-description feedback. See #1669.
|
[3625]
|
johnjamesjacoby
|
Tweak hidden topic and reply dashboard right-now links. Fixes #1670.
|
[4937]
|
johnjamesjacoby
|
Tweak include_root Settings verbiage to hopefully provide more context. See #1500.
|
[3690]
|
johnjamesjacoby
|
Tweak new template action names in content-single-topic-lead.php. Fixes #1724.
|
[3788]
|
johnjamesjacoby
|
Tweak phpdoc for bbp_delete_forum_topics()
|
[4645]
|
johnjamesjacoby
|
Tweak search form to include classes and tab indexes.
|
[3741]
|
johnjamesjacoby
|
Tweak template location filter names to match filters constructed in bbp_get_query_template(). See r3739.
|
[3016]
|
johnjamesjacoby
|
Tweak the forum, topic, and reply template loops to support hidden forums. This uses advanced meta_query's to restrict results based on the expected context, user capabilities, and forum visibility. Fixes #1470.
|
[3242]
|
johnjamesjacoby
|
Tweak the topic and reply styling.
Move the author name underneath the avatar.
Wrap author IP address in div for theme compat.
Move permalink to upper right corner and include ID with hash.
|
[3870]
|
johnjamesjacoby
|
Tweak theme compat CSS to allow single reply pages to have matching styles as single topics.
|
[3871]
|
johnjamesjacoby
|
Tweak theme compat CSS to ensure topic and reply avatars are always centered.
|
[3735]
|
johnjamesjacoby
|
Tweak theme compat styling
|
[4972]
|
johnjamesjacoby
|
Tweak theme compatibility to hook to loop_start and loop_end, to maximize compatibility with third party plugins and existing WordPress themes. Props r-a-y for the proof of concept with BuddyPress.
|
[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.
|
[3862]
|
johnjamesjacoby
|
Tweak topic and reply author img and name CSS in theme compat.
|
[3655]
|
johnjamesjacoby
|
Tweak user profile header CSS to work better in IE and twentyeleven. Props mercime. Fixes #1713.
|
[3547]
|
johnjamesjacoby
|
Tweak user template parts to move hr tags into content-single-user.php.
|
[3564]
|
johnjamesjacoby
|
Tweaks to bbp-twentyten styling to accomodate form-forum.php.
|
[3677]
|
johnjamesjacoby
|
Tweaks to form-forum.php HTML to better match existing form templates.
|
[3146]
|
johnjamesjacoby
|
Tweaks to the readme.txt
|
[3465]
|
johnjamesjacoby
|
Tweaks to the readme.txt and humans.txt files.
|