[buddypress-trac] [BuddyPress Trac] #7364: Update bp_profile_get_settings_visibility_select template function for additional $args
buddypress-trac
noreply at wordpress.org
Thu Nov 24 17:36:38 UTC 2016
#7364: Update bp_profile_get_settings_visibility_select template function for
additional $args
------------------------------+-----------------------
Reporter: hnla | Owner:
Type: enhancement | Status: new
Priority: low | Milestone: 2.8
Component: Extended Profile | Version:
Severity: minor | Keywords: has-patch
------------------------------+-----------------------
This patch just adds some additional args passable to the markup to
increase flexibility in styling the form controls and allows access to the
label class attr.
* Adds `'before_controls'`, `'after_controls'` to allow wrapping the form
controls for additional styling hooks these are inside the form loop
avoiding wrapping the 'else' notoggle element too while the existing
`'before & `'after'` remain as overall wrapper options.
* Change label class to take an arg defaulting it to the 'bp-screen-
reader-text' string as was before.
* Change the notoggle element to allow setting/changing the element
defaulting it to `span` as was it's original value.
--
Ticket URL: <https://buddypress.trac.wordpress.org/ticket/7364>
BuddyPress Trac <http://buddypress.org/>
BuddyPress Trac
More information about the buddypress-trac
mailing list