Add brackets to comparison in `bbp_is_single_forum()`.

git-svn-id: https://bbpress.svn.wordpress.org/trunk@5485 9866e705-20ec-0310-96e7-cbb4277adcfb
Pass `$topic_id` and `$forum_id` to relevant favorites and subscriptions filters. Hat tip DJPaul. Fixes #2651.

git-svn-id: https://bbpress.svn.wordpress.org/trunk@5486 9866e705-20ec-0310-96e7-cbb4277adcfb
Dedicated filters to allow manipulating of users who will receive subscription emails. Hat tip roysmyth. Fixes #2627.

git-svn-id: https://bbpress.svn.wordpress.org/trunk@5487 9866e705-20ec-0310-96e7-cbb4277adcfb
Change behavior of `bbp_check_for_moderation()` so empty `moderation_keys` no longer skips `max_links` check. Props netweb. See #2546.

git-svn-id: https://bbpress.svn.wordpress.org/trunk@5488 9866e705-20ec-0310-96e7-cbb4277adcfb
In `bbp_merge_topic_handler()` delete last and count metas, and update the reply position after call to `wp_update_post()`. Fixes bug where merging two topics with odd timestamps could result in orphaned or incorrect meta data and hierarchy positioning. Props netweb. Fixes #2528.

git-svn-id: https://bbpress.svn.wordpress.org/trunk@5489 9866e705-20ec-0310-96e7-cbb4277adcfb
Remove remaining 'Reply To' references in reply `post_title`'s.

(Now that posts can have empty titles, this is no longer necessary. It also yielded undesired single reply slugs, though they are only exposed to moderators and keymasters.)

Hat tip netweb.

git-svn-id: https://bbpress.svn.wordpress.org/trunk@5490 9866e705-20ec-0310-96e7-cbb4277adcfb
In `bbp_split_topic_handler()` remove `$reply_position` cheater code, and rely on `bbp_update_reply_position()` to recalculate the correct position in the hierarchy after `wp_update_post()` has finished. Props netweb. Fixes #2624.

git-svn-id: https://bbpress.svn.wordpress.org/trunk@5491 9866e705-20ec-0310-96e7-cbb4277adcfb
Missed a 'Reply To' reply title update. See r5490.

git-svn-id: https://bbpress.svn.wordpress.org/trunk@5492 9866e705-20ec-0310-96e7-cbb4277adcfb
Allow `class` attribute for `pre` tags in `bbp_kses_allowed_tags()`. Props netweb. Fixes #2657.

git-svn-id: https://bbpress.svn.wordpress.org/trunk@5493 9866e705-20ec-0310-96e7-cbb4277adcfb
Tweak `bbp-author-ip` styling, removing the font family and ensuring long IP addresses break correctly. Props netweb. Fixes #2675.

git-svn-id: https://bbpress.svn.wordpress.org/trunk@5494 9866e705-20ec-0310-96e7-cbb4277adcfb
Add reply status section to `form-reply.php`. Props netweb. Fixes #2644.

git-svn-id: https://bbpress.svn.wordpress.org/trunk@5495 9866e705-20ec-0310-96e7-cbb4277adcfb
Embetter Orwellian Newspeak used to describe sticky topics in `admin/topics.php`. Props netweb. Fixes #2622.

git-svn-id: https://bbpress.svn.wordpress.org/trunk@5496 9866e705-20ec-0310-96e7-cbb4277adcfb
Improve ID and classification in `form-topic.php` when forum is closed or user cannot create new topics. Props netweb. Fixes #2574.

git-svn-id: https://bbpress.svn.wordpress.org/trunk@5497 9866e705-20ec-0310-96e7-cbb4277adcfb
Update widget description in `BBP_Topics_Widget` to include topic newness. Props netweb. Fixes #2531.

git-svn-id: https://bbpress.svn.wordpress.org/trunk@5498 9866e705-20ec-0310-96e7-cbb4277adcfb
Enable forum status and visibility functions to check ancestry by extracting existing logic into new helper functions. Props alex-ye, netweb. Fixes #2303.

git-svn-id: https://bbpress.svn.wordpress.org/trunk@5499 9866e705-20ec-0310-96e7-cbb4277adcfb
Clean up core `actions.php`. Props netweb. See #2645.

git-svn-id: https://bbpress.svn.wordpress.org/trunk@5500 9866e705-20ec-0310-96e7-cbb4277adcfb
Update phpdoc blocks in forum template functions. Props netweb. See #2645.

git-svn-id: https://bbpress.svn.wordpress.org/trunk@5501 9866e705-20ec-0310-96e7-cbb4277adcfb
Add pending topics to forum hidden topic counts. Props netweb. See #2645.

git-svn-id: https://bbpress.svn.wordpress.org/trunk@5502 9866e705-20ec-0310-96e7-cbb4277adcfb
Preliminary function support for un/approving topics. Props netweb. See #2645.

git-svn-id: https://bbpress.svn.wordpress.org/trunk@5503 9866e705-20ec-0310-96e7-cbb4277adcfb
Preliminary template support for un/approving topics. Props netweb. See #2645.

git-svn-id: https://bbpress.svn.wordpress.org/trunk@5504 9866e705-20ec-0310-96e7-cbb4277adcfb