[buddypress-trac] [BuddyPress Trac] #8093: Field Visibility Not Honored in PHP 7.1 & above

buddypress-trac noreply at wordpress.org
Thu Jul 25 17:14:28 UTC 2019


#8093: Field Visibility Not Honored in PHP 7.1 & above
-----------------------------------+---------------------
 Reporter:  brianbws               |       Owner:  (none)
     Type:  defect (bug)           |      Status:  new
 Priority:  normal                 |   Milestone:  5.0.0
Component:  Extended Profile       |     Version:  4.3.0
 Severity:  normal                 |  Resolution:
 Keywords:  has-patch 2nd-opinion  |
-----------------------------------+---------------------
Changes (by imath):

 * keywords:  needs-testing => has-patch 2nd-opinion


Comment:

 Hi @brianbws & @boonebgorges

 I've look deeper into the problem and discovered that if for some reasons
 the user meta `bp_xprofile_visibility_levels` is not saved as a serialized
 array:

 1) I confirm the visibilities are not honored,
 2) it's no more possible for the user to edit his fields visibilities,

 8093.patch is making sure 1) & 2) are fixed, using the `is_array()` check
 of Boone's first patch.

 It's also adding a new repair tool to completely remove custom field
 visibilities for all users so that when this case happens, the
 administrator can make sure the default visibility he chose will be
 applied.

-- 
Ticket URL: <https://buddypress.trac.wordpress.org/ticket/8093#comment:8>
BuddyPress Trac <http://buddypress.org/>
BuddyPress Trac


More information about the buddypress-trac mailing list