Skip to:
Content

BuddyPress.org

Opened 7 weeks ago

Last modified 6 weeks ago

#9345 assigned task

Support for WordPress 7.2

Reported by: espellcaste Owned by: espellcaste
Priority: normal Milestone: 15.0.0
Component: Core Version:
Severity: normal Keywords:
Cc:

Description

Let's test the latest version of BuddyPress (currently 14) with WordPress 7.2.

Change History (4)

#2 @espellcaste
7 weeks ago

  • Milestone 14.5.3 → 15.0.0

Moving the milestone to 15.0. Since BP will be released after it.

#3 @espellcaste
6 weeks ago

In 14326:

Use wp_truncate_slug() when available to avoid a WordPress 7.2 deprecation notice.

WordPress 7.2 deprecated _truncate_post_slug() in favor of wp_truncate_slug(). Use the replacement when generating unique directory page slugs, and keep the old function as a fallback for earlier WordPress versions.

See #9345.

#4 @espellcaste
6 weeks ago

In 14327:

Tests: Fix notification count fixtures for WordPress 7.2 compatibility.

WordPress 7.2 makes unit test factories throw when object creation, update, or retrieval fails. This exposed a duplicate fixture in a notification count test.

Use distinct item IDs for the groups notifications and assert that both exist, while preserving the messages count assertion.

See ​https://core.trac.wordpress.org/changeset/63925.
See #9345.

Note: See TracTickets for help on using tickets.