[2495]
|
PeteMall
|
Remove quick edit, add freshness column and utilize excerpt view on topics page.
|
[2494]
|
PeteMall
|
Rename bbp_get_topic_forum_ID to bbp_get_topic_forum_id for consistency.
|
[2493]
|
PeteMall
|
Add edit and view row_actions on topics admin page.
|
[2492]
|
PeteMall
|
Update bbp_get_topic_forum to use bbp_get_topic_forum_ID.
|
[2491]
|
PeteMall
|
Add bbp_topic_forum_ID and bbp_get_topic_forum_ID template tags.
|
[2490]
|
PeteMall
|
Set width for new columns and consolidate row_action functions.
|
[2484]
|
PeteMall
|
Show forum title, description and topic count on forums admin page.
|
[2483]
|
PeteMall
|
Fix incorrect screen_icons on default post_type pages.
|
[2482]
|
PeteMall
|
Add custom screen icons.
|
[2481]
|
PeteMall
|
Fix top level admin menu icons.
|
[2480]
|
PeteMall
|
Use sprite image for top level admin menu icons.
|
[6899]
|
SergeyBiryukov
|
Docs: Correct description for `_bbp_topics_per_page` setting.
|
[6658]
|
SergeyBiryukov
|
Converter: Clarify `status_counting` label in Import Monitor.
Props jrf.
Fixes #3147.
|
[6650]
|
SergeyBiryukov
|
Converter: Fix typo and improve wording of Database Settings section labels.
Props jrf.
Fixes #3143.
|
[6649]
|
SergeyBiryukov
|
i18n: Simplify [6645] with `translate_nooped_plural()`.
See #3139.
|
[6646]
|
SergeyBiryukov
|
i18n: Fix typo in text domain used for `_n()` in `bbp_get_time_since()`.
See #3139.
|
[6617]
|
SergeyBiryukov
|
Users: Check `promote_user` capability instead of `edit_user` before displaying "User Role" section in `form-user-edit.php`, for consistency with `bbp_profile_update_role()`.
Fixes #3126.
|
[6610]
|
SergeyBiryukov
|
Counts: Fix typo in DB query in `bbp_get_user_reply_count_raw()`.
See #3124.
|
[5033]
|
bumpbot
|
Compress scripts/styles: 2.4-beta1-5033.
|
[5026]
|
bumpbot
|
Compress scripts/styles: 2.4-beta1-5026.
|
[5008]
|
bumpbot
|
Compress scripts/styles: 2.4-alpha-5008.
|
[5003]
|
bumpbot
|
Compress scripts/styles: 2.4-alpha-5003.
|
[4993]
|
bumpbot
|
Compress scripts/styles: 2.4-alpha-4993.
|
[4945]
|
bumpbot
|
Compress scripts/styles: 2.4-alpha-r4900-4945.
|
[4669]
|
bumpbot
|
Compress scripts/styles: 2.3-bleeding-4669.
|
[4662]
|
bumpbot
|
Compress scripts/styles: 2.3-bleeding-4662.
|
[4650]
|
bumpbot
|
Compress scripts/styles: 2.3-bleeding-4650.
|
[4635]
|
bumpbot
|
Compress scripts/styles: 2.3-bleeding-4635.
|
[4624]
|
bumpbot
|
Compress scripts/styles: 2.3-bleeding-4624.
|
[4612]
|
bumpbot
|
Compress scripts/styles: 2.3-bleeding-4612.
|
[4585]
|
bumpbot
|
Compress scripts/styles: 2.3-bleeding-4585.
|
[4580]
|
bumpbot
|
Compress scripts/styles: 2.3-bleeding-4580.
|
[4514]
|
bumpbot
|
Compress scripts/styles: 2.3-bleeding-4514.
|
[4479]
|
bumpbot
|
Compress scripts/styles: 2.3-bleeding-4479.
|
[4468]
|
bumpbot
|
Compress scripts/styles: 2.3-bleeding-4468.
|
[4421]
|
bumpbot
|
Compress scripts/styles: 2.2-rc2-4421.
|
[4383]
|
bumpbot
|
Compress scripts/styles: 2.2-beta2-4383.
|
[4357]
|
bumpbot
|
Compress scripts/styles: 2.2-beta1-4357.
|
[4204]
|
bumpbot
|
Compress scripts/styles: -2.1.2-4204.
|
[2536]
|
chrishajer
|
Properly update version in functions.bb-meta.php
|
[2518]
|
chrishajer
|
Add binary favicon.ico, not the HTML for the page (oops.) Fixes #1303
|
[2517]
|
chrishajer
|
Add optional $user_id for subscriptions (useful for plugins). Further fixes #1268. Props dimadin
|
[2516]
|
chrishajer
|
Add favicon to bb-admin. Fixes #1303. Props mr_pelle
|
[2511]
|
chrishajer
|
Fix multiple anonymous posting issues. Fixes #1310. Props !GautamGupta
|
[2510]
|
chrishajer
|
Translate plugin names and descriptions properly before activation. Fixes #1318. Props Nightgunner5
|
[2504]
|
chrishajer
|
Add do_action to _bb_delete_post(). Fixes #1317. Props r-a-y
|
[2503]
|
chrishajer
|
Loop correctly through term objects; pass objects by reference. Fixes #1313. Props to bobrick
|
[2502]
|
chrishajer
|
Fix order of posts and remove duplicates, using a regex. Fixes #1301. Props Nightgunner5
|
[2475]
|
chrishajer
|
Correct function name and add information to cookies for anonymous posting. Fixes #1311. Props !GautamGupta
|
[2474]
|
chrishajer
|
Revert mistakenly changed db-version. Props !GautamGupta
|
[2473]
|
chrishajer
|
Add class to super sticky posts. Fixes #1309. Props mr_pelle
|
[2472]
|
chrishajer
|
Forgot to add in new functions.php files for kakumei and kakumei-blue. Fixes #1268. Props !GautamGupta
|
[2471]
|
chrishajer
|
Multiple fixes for email subscriptions. Note the template changes in kakumei. Probably fixes #1268. Big props to dimadin and !GautamGupta
|
[4690]
|
jmdodd
|
Fix array title copypasta in bbp_admin_repair_list().
* Props netweb.
* Fixes #2152.
|
[4688]
|
jmdodd
|
In bbp_get_dropdown(), set default post_parent to null, not 0.
* Fixes #2153.
|
[4687]
|
jmdodd
|
Refine bbp_get_dropdown().
* Don't assume post_parent = 0 as a default.
* Fixes #2153.
|
[4586]
|
jmdodd
|
Shortcode iteration for search introduced in #1575.
* Fix bbp-search shortcode.
* Introduce bbp-search-form shortcode.
* Fixes #2107.
|
[4584]
|
jmdodd
|
Bump version.
|
[4583]
|
jmdodd
|
Fix .bbp-search-content CSS copy pasta typo.
* Props netweb.
* Fixes #2111.
|
[4582]
|
jmdodd
|
Add RTL CSS support for search introduced in #1575.
* Props netweb.
* Fixes #2109.
|
[4581]
|
jmdodd
|
Replace esc_attr() with urlencode() when adding search terms query args.
* Fixes #2110.
|
[4579]
|
jmdodd
|
Introduce dedicated forum search.
* Search forums, topics, and replies.
* Add new search functions, including bbp_has_search_results().
* Provide templates for search results.
* Fixes #1575.
|
[4572]
|
jmdodd
|
Introduce function bbp_is_forum_group_forum().
* Fixes #2100.
|
[4571]
|
jmdodd
|
Use $r['topic_id'] to set initial $topic_id value.
* Fixes #2098.
|
[4570]
|
jmdodd
|
Move `bbp_notify_subscribers` to priority 11.
* Fixes #2038.
|
[7283]
|
johnjamesjacoby
|
Tools: update npm packages for Grunt tasks.
This change:
* swaps in `terser` & `@wordpress/stylelint-config`
* updates stylelint to 15.11.0 (with `scss` support)
* adds separate stylelint config files for both CSS and SCSS (and deletes the original auto-loaded `.stylelintrc` file)
This is just enough to get Grunt unclogged and working again without complaining too much.
----
To make this work:
* Recommend to install NVM to make using npm 18 easier
* `nvm use 18`
* `npm install --legacy-peer-deps --save-dev`
Once complete, the various `grunt` CLI commands should work again without any problems (for now!)
|
[7282]
|
johnjamesjacoby
|
Core: remove reference to bbPress::setup_globals()
This method was removed long ago, and replaced by the `bbp_setup_globals` sub-action.
|
[7281]
|
johnjamesjacoby
|
Core: small updates to bbPress()->data
This change tweaks the code commentary a bit, and adds a default value of an empty array.
This is largely for the sake of code cleanliness, but also removes the potential for debug notices or errors inside of the magic methods from `data` not being initialized as an array when they are first called.
|
[7280]
|
johnjamesjacoby
|
Search: remove `array_keys()` from
This change ensures that the correct public statuses are used by default inside of the `bbp_has_search_results()` function, and it does this by using the values from `bbp_get_public_topic_statuses()` and not the keys.
This fixes a regression causing search results to omit public statuses as part of their default arguments.
Props GDragoN.
Fixes #3607.
|
[7279]
|
johnjamesjacoby
|
Common: prefer `bbp_get_topic_permalink()` over `get_permalink()`
This change ensures that features like Subscriptions & Pagination (inside of topics list loops) have: an opportunity to use the anticipated function path, and access to the right filters when including links back to them.
This fixes a potential bug where filtering a topic permalink would not happen inside of emails or pagination in the loop-topic template part.
See #3603.
|
[7278]
|
johnjamesjacoby
|
Admin: add post-state support to admin-area list-tables
This change checks posts for shortcode usages and adds "state" labels for them, to help make Forum integration easier to identify from within the list table context (usually Pages, but currently not post-type specific).
It does this by introducing `BBP_Admin::display_post_states()` and hooking it in as a filter to `display_post_states`.
Committer note: `get_page_by_path()` would offer more precision but also be significantly more costly to call here, so instead there is a fuzzy match on `post_name` for the Forum & Topic Archive pages only.
Fixes #3605.
|
[7277]
|
johnjamesjacoby
|
Breadcrumbs: prevent duplicate root crumb on Forum Archive subpages
This change prevents the Forum Archive page from appearing a second time in the breadcrumb trail when using pages, shortcodes, and/or subpages for forum setup.
It does this by keeping track of a previous match of a page by path to the Forum Archive, and skipping that page ID in the subsequent ancestors loop.
In trunk, for 2.7.
|
[7276]
|
johnjamesjacoby
|
Posts: strip "Protected/Private" for bbPress post types
This change prevents post title hints from being prepended to titles of Forums, Topics, or Replies, which was happening as a consequence of calling `get_the_title()` which assumes every protected/private post title needs it.
It does this by including the following code changes:
* introduce the `bbp_no_title_status_hints()` filter function, which hooks into 2 WordPress filters and maybe overrides the return value
* replace a few `get_the_title()` calls with `get_post_field( 'post_title' )` to bypass the above filters when they would never be desirable
Committer note: this could be considered a small back-compat break (because it alters long-standing theme-side output) but ultimately it is a design decision to output all of the forum content as it was saved by the community members. Forums that prefer the old behavior can unhook `bbp_no_title_status_hints` and continue to customize child template parts to insert custom forum status hints.
Fixes #3602.
|
[7275]
|
johnjamesjacoby
|
Merge 2.6 improvements into trunk.
From 2.6.11.
|
[7274]
|
johnjamesjacoby
|
Tag 2.6.11.
|
[7273]
|
johnjamesjacoby
|
Bump 2.6 branch to 2.6.11.
|
[7272]
|
johnjamesjacoby
|
Forums: bail out of `pre_get_posts` if empty `post_type` parameter
This change addresses a regression inside of `bbp_pre_get_posts_normalize_forum_visibility` that was unintentionally targeting posts queries that were not sourced from the ones built into bbPress (forum/topic/reply), causing the majority of non-bbPress queries to return empty results.
Fixes #3601.
In branches/2.6, for 2.6.11.
|
[7271]
|
johnjamesjacoby
|
Common: update `blacklist_keys` to `disallow_keys` in PHPUnit tests
See: #3601
In branches/2.6, for 2.6.11.
|
[7270]
|
johnjamesjacoby
|
Common: update `blacklist_keys` to `disallow_keys`
This change prevents a deprecated option notice in WordPress versions greater than 5.5.
See: #3601
In branches/2.6, for 2.6.11.
|
[7269]
|
johnjamesjacoby
|
Remove duplicated line added from merge in r7268.
|
[7268]
|
johnjamesjacoby
|
Merge r7250 through r7267 from branches/2.6.
In trunk, for 2.7.
|
[7267]
|
johnjamesjacoby
|
Bump WordPress tested & requires versions.
In branches/2.6.
|
[7266]
|
johnjamesjacoby
|
Tag 2.6.10.
|
[7265]
|
johnjamesjacoby
|
Bump some versions to 2.6.10.
In branches/2.6, for 2.6.10.
|
[7264]
|
johnjamesjacoby
|
Views: do not trap RSS feeds for unregistered views
This change adds a check inside of `bbp_request_feed_trap()` that only allows `bbp_display_topics_feed_rss2()` to happen if query-arguments exist for the slug of the view that is being requested.
Without this check in place, the view unintentionally includes all topics, because no additional arguments are passed into `bbp_has_topics()`.
Fixes #3544.
Props dd32.
In branches/2.6, for 2.6.10.
|
[7263]
|
johnjamesjacoby
|
Tools/Repair: audit post statuses in repair queries.
This change ensures that all of the relevant repair tools are including the expected public post statuses for their related post types.
These changes specifically address possibly missing Closed Topics in the repair tools, while also ensuring that anything filtering the results of the `_public_statuses()` functions to add their own custom statuses (I.E. archives on WordPress.org) are taken into consideration.
Fixes #3591.
Props GDragoN.
In branches/2.6, for 2.6.10.
|
[7262]
|
johnjamesjacoby
|
Search: prevent hidden forums from appearing in results.
This change includes the following changes:
* Removes `readable` perm check from `bbp_has_search_results()` and replaces it with public topic statuses by default, while conditionally adding private & hidden statuses if user is capable
* Tweaks the logic inside of `bbp_pre_get_posts_normalize_forum_visibility()` to always handle both of its internal conditions (forum query, or any query that includes forums/topics/replies connected via meta data)
* Tweaks output of `content-search.php` template part to not show the "Oh bother" error when visiting a search page for the first time
* Adds a string `feedback-no-search.php` template part to address both "no results" and "no terms" conditions
These changes address some faulty search logic that was allowing hidden forums to appear in global search results to users who should not have been able to see them, while also improving the search page experience itself.
Fixes #3473.
Props wpsolr, robin-w.
In branches/2.6, for 2.6.10.
|
[7261]
|
johnjamesjacoby
|
Admin: prevent broken list-table layouts.
This change adds CSS that targets forum/topic/reply list-table heads & foots.
It allows text – that is both unbreakable & wider than its parent th/td – to truncate with an ellipsis.
This is necessary because the default behavior is to continue to squish text down to an unreadable state, which happens frequently here due to the number of columns in the tables and the amount of content available inside of them to Keymasters & Moderators.
In branches/2.6, for 2.6.10.
|
[7260]
|
johnjamesjacoby
|
Templates: correct escaping on allowed HTML Tags form template parts.
This change introduces a new template-part file: `form-allowed-tags.php` and uses it inside of the Forum, Topic, and Reply form template-parts.
Additionally, the output is now properly escaped, which prevents unintentional escaping of the `<attr>` tag inside of the string.
Fixes #3492.
Props naxoc.
In branches/2.6, for 2.6.10.
|
[7259]
|
johnjamesjacoby
|
Templates: remove duplicate div from `content-archive-topic.php`.
This change removes an unnecessary `bbp_allow_search()` call – as well as an extra `div.bbp-search-form` – from the Topic Archive template part.
Fixes #3486.
Props naxoc, arafatjamil01.
In branches/2.6, for 2.6.10.
|
[7258]
|
johnjamesjacoby
|
Admin: add some inputs to too-wide kludge CSS.
This change ensures that various admin-area meta-box inputs render next to their labels instead of below them.
In branches/2.6, for 2.6.10.
|
[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.
|
[7256]
|
johnjamesjacoby
|
Converter: remove `__destruct()` registration
This change removes the need for `wpdb` extensions (like in the Converter) to register their own shutdown methods.
This is necessary because the `__destruct()` method was removed in the parent `wpdb` class, so attempting to add it in the subclass will generate PHP errors.
See #WP21402.
Fixes #3508.
Props GDragoN, dd32.
In branches/2.6, for 2.6.10.
|
[7255]
|
johnjamesjacoby
|
Topic/Reply: improvements to status updates.
This change includes 2 fixes:
* Prefer `$topic_id` over `$topic->ID`, and use it (instead of `$forum_id`) when checking for moderation capability
* Add missing logic in `bbp_edit_reply_handler()` that was preventing statuses from saving as intended
See #2644.
In branches/2.6, for 2.6.10.
|
[7254]
|
johnjamesjacoby
|
PHPCS: correct return var types in Revisions functions
This change fixes PHPCS/Intelephense warnings.
In branches/2.6, for 2.6.10.
|
[7253]
|
johnjamesjacoby
|
PHP8: define dependency injected components in BBP_Admin
This change prevents debug warnings in modern versions of PHP (8.0 and higher).
In branches/2.6, for 2.6.10.
|
[7252]
|
johnjamesjacoby
|
Akismet: add class definition for $last_post.
This change improves compatibility with newer PHP versions (8.0 and above) that prefer for all class variables to be predefined.
In branches/2.6, for 2.6.10.
|
[7251]
|
johnjamesjacoby
|
Common Functions: fix dashboard errors from undefined variables.
Introduced in r7237, in `bbp_get_statistics()`.
This corrects an unintended regression that was causing replies not to be counted correctly.
In branches/2.6, for 2.6.10.
|
[7250]
|
johnjamesjacoby
|
Subscriptions: use topic title in Subject, instead of site name.
This change adds helpful context to email subjects and eliminates duplication between From & Subject mail headers.
Props dd32.
In branches/2.6, for 2.6.10.
Fixes #3446.
|
[7249]
|
johnjamesjacoby
|
Subscriptions: use topic title in Subject, instead of site name.
This change adds helpful context to email subjects and eliminates duplication between From & Subject mail headers.
Props dd32.
In trunk, for 2.7.0.
Fixes #3446.
|