Changeset 10869
- Timestamp:
- 06/02/2016 02:18:17 AM (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/bp-activity/bp-activity-functions.php
r10860 r10869 1952 1952 ) ); 1953 1953 1954 if ( is_wp_error( $activity_id ) ) { 1954 // Bail on failure. 1955 if ( false === $activity_id || is_wp_error( $activity_id ) ) { 1955 1956 return $activity_id; 1956 1957 } … … 2616 2617 ) ); 2617 2618 2618 // Return WP Error.2619 if ( is_wp_error( $comment_id ) && 'wp_error' === $r['error_type']) {2619 // Bail on failure. 2620 if ( false === $comment_id || is_wp_error( $comment_id ) ) { 2620 2621 return $comment_id; 2621 2622 }
Note: See TracChangeset
for help on using the changeset viewer.