Skip to:
Content

BuddyPress.org

#8862 closed defect (bug) (fixed)

Deprecated notice when creating a new group of profile fields

Reported by: imath's profile imath Owned by: imath's profile imath
Milestone: 12.0.0 Priority: normal
Severity: normal Version:
Component: Extended Profile Keywords: good-first-bug has-patch
Cc:

Description

It looks like we're htmlspecialchars( null ) somewhere in the code.

Change History (2)

This ticket was mentioned in PR #111 on buddypress/buddypress by @imath.


17 months ago
#1

  • Keywords has-patch added; needs-patch removed

Make sure the description of a new field or a new profile fields groupe defaults to an empty string insteal of null to avoid a PHP8.1 deprecation notice with htmlspecialchars().

Trac ticket: https://buddypress.trac.wordpress.org/ticket/8862

#2 @imath
17 months ago

  • Owner set to imath
  • Resolution set to fixed
  • Status changed from new to closed

In 13494:

Make new profile field/group description default to an empty string

Doing so prevents a PHP8.1 deprecation notice

Fixes #8862
Closes https://github.com/buddypress/buddypress/pull/111

Note: See TracTickets for help on using tickets.