Changeset 5664 for trunk/bp-activity/bp-activity-actions.php
- Timestamp:
- 01/28/2012 09:38:27 AM (14 years ago)
- File:
-
- 1 edited
-
trunk/bp-activity/bp-activity-actions.php (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/bp-activity/bp-activity-actions.php
r5582 r5664 231 231 * @since 1.2.0 232 232 * 233 * @global object $bp BuddyPress global settings234 233 * @uses is_user_logged_in() 235 234 * @uses bp_is_activity_component() … … 249 248 */ 250 249 function bp_activity_action_post_update() { 251 global $bp;252 250 253 251 // Do not proceed if user is not logged in, not viewing activity, or not posting … … 300 298 * @since 1.2.0 301 299 * 302 * @global object $bp BuddyPress global settings303 300 * @uses is_user_logged_in() 304 301 * @uses bp_is_activity_component() … … 315 312 */ 316 313 function bp_activity_action_post_comment() { 317 global $bp; 318 319 if ( !is_user_logged_in() || ( bp_is_activity_component() ) || !bp_is_current_action( 'reply' ) ) 314 315 if ( !is_user_logged_in() || !bp_is_activity_component() || !bp_is_current_action( 'reply' ) ) 320 316 return false; 321 317
Note:
See TracChangeset
for help on using the changeset viewer.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)