Skip to:
Content

BuddyPress.org

Opened 5 years ago

Closed 5 years ago

#8287 closed defect (bug) (fixed)

PHP 7.4 - Deprecated: implode()

Reported by: mercime's profile mercime Owned by: r-a-y's profile r-a-y
Milestone: 6.0.0 Priority: normal
Severity: normal Version: 1.9
Component: Toolbar & Notifications Keywords: has-patch
Cc:

Description

Member notifications page:
PHP Deprecated: implode(): Passing glue string after array is deprecated. Swap the parameters in https://example.com/wp-content/plugins/buddypress/src/bp-notifications/bp-notifications-template.php on line 900

WP trunk and BP trunk

Attachments (1)

8287.01.patch (513 bytes) - added by r-a-y 5 years ago.

Download all attachments as: .zip

Change History (5)

@r-a-y
5 years ago

#1 @r-a-y
5 years ago

  • Component changed from Core to Toolbar & Notifications
  • Keywords has-patch added
  • Milestone changed from Awaiting Review to 6.0.0
  • Version set to 1.9

Nice catch, mercime!

Attached patch should fix this.

This ticket was mentioned in Slack in #buddypress by imath. View the logs.


5 years ago

#3 @mercime
5 years ago

Thank you @r-a-y 🍕 Issue fixed with your patch 🤩

#4 @r-a-y
5 years ago

  • Owner set to r-a-y
  • Resolution set to fixed
  • Status changed from new to closed

In 12646:

Notifications: Fix PHP 7.4 deprecated notice for implode().

Props mercime.

Fixes #8287.

Note: See TracTickets for help on using tickets.