Changeset 9471 for trunk/src/bp-blogs/bp-blogs-activity.php
- Timestamp:
- 02/10/2015 02:49:16 AM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/bp-blogs/bp-blogs-activity.php
r9369 r9471 16 16 * @since BuddyPress (1.0.0) 17 17 * 18 * @global object $bp The BuddyPress global settings object.19 *20 18 * @return bool|null Returns false if activity component is not active. 21 19 */ 22 20 function bp_blogs_register_activity_actions() { 23 global $bp;21 $bp = buddypress(); 24 22 25 23 // Bail if activity is not active … … 322 320 * 323 321 * @see bp_activity_add() for description of parameters. 324 * @global object $bp The BuddyPress global settings object.325 322 * 326 323 * @param array $args { … … 333 330 */ 334 331 function bp_blogs_record_activity( $args = '' ) { 335 global $bp;336 332 337 333 // Bail if activity is not active … … 339 335 return false; 340 336 } 337 338 $bp = buddypress(); 341 339 342 340 $defaults = array(
Note: See TracChangeset
for help on using the changeset viewer.