[buddypress-trac] [BuddyPress Trac] #7536: Use bp_get_admin_url() in XProfile instead of hard-coded links

buddypress-trac noreply at wordpress.org
Wed Jan 10 21:38:30 UTC 2018


#7536: Use bp_get_admin_url() in XProfile instead of hard-coded links
------------------------------+------------------------------
 Reporter:  JohnPBloch        |       Owner:  johnjamesjacoby
     Type:  enhancement       |      Status:  closed
 Priority:  normal            |   Milestone:  3.0
Component:  Extended Profile  |     Version:  1.2
 Severity:  normal            |  Resolution:  fixed
 Keywords:  needs-testing     |
------------------------------+------------------------------

Comment (by johnjamesjacoby):

 Related: we may want to consider adding protected methods to the field and
 field-group classes, so they can self-generate these URLs. It would reduce
 code duplication, remove some logic from the local scope of the functions
 we use to output the admin pages, and make these URLs testable so we can
 ensure their stability for future enhancements.

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


More information about the buddypress-trac mailing list