Opened 19 months ago
Closed 17 months ago
#8862 closed defect (bug) (fixed)
Deprecated notice when creating a new group of profile fields
Reported by: | imath | Owned by: | 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)
Note: See
TracTickets for help on using
tickets.
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 withhtmlspecialchars()
.Trac ticket: https://buddypress.trac.wordpress.org/ticket/8862