[buddypress-trac] [BuddyPress Trac] #5436: BP_Core shouldn't run on 'bp_setup_components'

buddypress-trac noreply at wordpress.org
Mon Jun 2 19:18:03 UTC 2014


#5436: BP_Core shouldn't run on 'bp_setup_components'
-----------------------------------+------------------
 Reporter:  r-a-y                  |       Owner:
     Type:  defect (bug)           |      Status:  new
 Priority:  high                   |   Milestone:  2.1
Component:  Core                   |     Version:
 Severity:  normal                 |  Resolution:
 Keywords:  has-patch 2nd-opinion  |
-----------------------------------+------------------

Comment (by r-a-y):

 I like the general idea behind the `'bp_setup_canonical_stack'` hook,
 however I dislike the name for it because it's a little too specific.
 Other things could be used on this hook.

 For example, the `xprofile_override_user_fullnames()` function could
 potentially be hooked to ``bp_setup_canonical_stack'` within the
 `BP_XProfile_Component` class as a method, but the hook name doesn't make
 much sense.

 Perhaps rename `bp_setup_canonical_stack` to `bp_setup_late_globals`?

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


More information about the buddypress-trac mailing list