Changeset 10871
- Timestamp:
- 06/02/2016 04:50:13 PM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/bp-core/bp-core-taxonomy.php
r10846 r10871 93 93 $retval = wp_set_object_terms( $object_id, $terms, $taxonomy, $append ); 94 94 95 if ( !$switched ) {95 if ( $switched ) { 96 96 restore_current_blog(); 97 97 } … … 132 132 $retval = array_merge( $retval, $site_terms ); 133 133 134 if ( !$switched ) {134 if ( $switched ) { 135 135 restore_current_blog(); 136 136 } … … 164 164 $retval = wp_remove_object_terms( $object_id, $terms, $taxonomy ); 165 165 166 if ( !$switched ) {166 if ( $switched ) { 167 167 restore_current_blog(); 168 168 }
Note: See TracChangeset
for help on using the changeset viewer.