[buddypress-trac] [BuddyPress Trac] #5780: bp_edit_profile_button default arguments

buddypress-trac noreply at wordpress.org
Sun Jul 27 14:39:25 UTC 2014

#5780: bp_edit_profile_button default arguments
 Reporter:  SGr33n       |       Owner:
     Type:  enhancement  |      Status:  new
 Priority:  normal       |   Milestone:  Awaiting Review
Component:  XProfile     |     Version:
 Severity:  normal       |  Resolution:
 Keywords:               |

Comment (by DJPaul):

 `bp_edit_profile_button()` is old; one of the original xProfile functions.
 It was last used in BP 1.1.3 in the `bp-sn-parent` theme. Looking back at
 the current function and that theme, I think that it looks like the button
 generated by this function was intended to be used as a shortcut for site
 admins. Therefore I am a bit concerned about changing the `block_self`
 value just in case someone has painstakingly ported an original theme
 through all the releases since then (admittedly use an edge case).

 Personally I am split between not doing anything, or as you've just blown
 the dust off this function, marking it as deprecated. I don't think we
 would recommend anyone to use it in a modern theme.

Ticket URL: <https://buddypress.trac.wordpress.org/ticket/5780#comment:3>
BuddyPress Trac <http://buddypress.org/>
BuddyPress Trac

More information about the buddypress-trac mailing list