[buddypress-trac] [BuddyPress] #2447: activity: change strings to constants in a few places

buddypress-trac at lists.automattic.com buddypress-trac at lists.automattic.com
Thu Mar 10 00:29:55 UTC 2011


#2447: activity: change strings to constants in a few places
-----------------------+------------------------------------
  Reporter:  aesqe     |      Owner:
      Type:  defect    |     Status:  closed
  Priority:  normal    |  Milestone:  1.3
 Component:  Activity  |    Version:
Resolution:  invalid   |   Keywords:  has-patch dev-feedback
-----------------------+------------------------------------

Comment (by cnorris23):

 @aesqe Hope that didn't alarm you. Slug constants will still work, for
 now, but they are no longer the preferred way to change slugs. Each
 component's respective $bp global slug value has replaced constant
 instances throughout 1.3 code, which invalidates this ticket. For each
 component, which now utilize the BP_Component class (see source:trunk/bp-
 core/bp-core-component.php and source:trunk/bp-activity/bp-activity-
 loader.php), there are filters to alter the slugs. This will also make it
 easier for plugins/themes to modify slugs rather than depending on wp-
 config.php or bp-custom.php.

-- 
Ticket URL: <https://trac.buddypress.org/ticket/2447#comment:13>
BuddyPress <http://buddypress.org/>
BuddyPress


More information about the buddypress-trac mailing list