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

buddypress-trac noreply at wordpress.org
Tue Feb 10 01:09:10 UTC 2015


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

Comment (by johnjamesjacoby):

 In [changeset:"9470"]:
 {{{
 #!CommitTicketReference repository="" revision="9470"
 Beautify `/deprecated/2.1.php`:

 * Add brackets
 * Remove `$bp` global touches (See #5138)
 * Use `bp_is_root_blog()` rather than direct comparisons to
 `bp_get_root_blog()`
 * Easier to navigate when testing & debugging deprecated functionality
 }}}

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


More information about the buddypress-trac mailing list