[buddypress-trac] [BuddyPress Trac] #8042: visibility options for Name field appear on registration page
buddypress-trac
noreply at wordpress.org
Sat Apr 27 08:34:53 UTC 2019
#8042: visibility options for Name field appear on registration page
--------------------------------------------------+---------------------
Reporter: msteimann | Owner: (none)
Type: defect (bug) | Status: new
Priority: high | Milestone: 5.0.0
Component: Registration | Version: 4.1.0
Severity: normal | Resolution:
Keywords: good-first-bug has-patch 2nd-opinion |
--------------------------------------------------+---------------------
Changes (by imath):
* keywords: needs-patch good-first-bug => good-first-bug has-patch 2nd-
opinion
* milestone: Awaiting Contributions => 5.0.0
Comment:
Hi everyone,
I've been working on this during the WordCamp Paris contributor day and I
suggest another approach. Instead of keeping on checking the if the
field_id is the one of the fullname field into
`BP_XProfile_Field->get_allow_custom_visibility()`. We can set the
`allow_custom_visibility` profile field meta during the install process
and make sure existing BuddyPress installs are updated during the 5.0.0
update routine.
See
[https://buddypress.trac.wordpress.org/attachment/ticket/8042/8042.patch
8042.patch]
--
Ticket URL: <https://buddypress.trac.wordpress.org/ticket/8042#comment:8>
BuddyPress Trac <http://buddypress.org/>
BuddyPress Trac
More information about the buddypress-trac
mailing list