[buddypress-trac] [BuddyPress Trac] #5138: Audit & replace $bp global touches with wrapper functions & methods

buddypress-trac noreply at wordpress.org
Mon Feb 23 17:36:58 UTC 2015


#5138: Audit & replace $bp global touches with wrapper functions & methods
---------------------------------+------------------------------
 Reporter:  johnjamesjacoby      |       Owner:  johnjamesjacoby
     Type:  task                 |      Status:  closed
 Priority:  normal               |   Milestone:  2.3
Component:  API - Rewrite Rules  |     Version:  1.0
 Severity:  normal               |  Resolution:  fixed
 Keywords:                       |
---------------------------------+------------------------------

Comment (by johnjamesjacoby):

 In [changeset:"9536"]:
 {{{
 #!CommitTicketReference repository="" revision="9536"
 Activity: Clean up `bp_has_activities()`:

 * Remove `$bp` global usage. See #5138.
 * Remove `extract()` usage. See #5698.
 * Remove one-time-use variables.
 * Consolidate arrays for improved readability.
 }}}

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


More information about the buddypress-trac mailing list