[buddypress-trac] [BuddyPress Trac] #7335: Anonymize BP Core Dependency functions file.

buddypress-trac noreply at wordpress.org
Sat Dec 3 01:45:52 UTC 2016


#7335: Anonymize BP Core Dependency functions file.
-----------------------------------+------------------
 Reporter:  tw2113                 |       Owner:
     Type:  enhancement            |      Status:  new
 Priority:  normal                 |   Milestone:  2.8
Component:  Core                   |     Version:
 Severity:  normal                 |  Resolution:
 Keywords:  has-patch 2nd-opinion  |
-----------------------------------+------------------

Comment (by tw2113):

 For an example highlighting one of Paul's thoughts above, the variable
 storage would look like this:

 {{{#!php
 <?php
 $bp_ready = function() {
         /**
          * Fires on the 'wp' hook, which runs after BP is set up and the
 page is about to render.
          *
          * @since 1.6.0
          */
         do_action( 'bp_ready' );
 };

 ...

 add_action( 'wp', $bp_ready, 10 );
 }}}

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


More information about the buddypress-trac mailing list