Skip to:
Content

BuddyPress.org

Opened 3 years ago

Closed 3 years ago

#8862 closed defect (bug) (fixed)

Deprecated notice when creating a new group of profile fields

Reported by: imath Owned by: imath
Priority: normal Milestone: 12.0.0
Component: Extended Profile Version:
Severity: normal 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.


3 years 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
3 years ago

  • Owner set to imath
  • Resolutionfixed
  • Status newclosed

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.