Changeset 9315 for trunk/src/bp-groups/bp-groups-activity.php
- Timestamp:
- 01/08/2015 09:43:47 PM (11 years ago)
- File:
-
- 1 edited
-
trunk/src/bp-groups/bp-groups-activity.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/bp-groups/bp-groups-activity.php
r9308 r9315 166 166 167 167 // Name and description changed - to keep things short, don't describe changes in detail. 168 } else if ( isset( $changed['name'] ) && isset( $changed['description'] ) ) {168 } elseif ( isset( $changed['name'] ) && isset( $changed['description'] ) ) { 169 169 $action = sprintf( __( '%1$s changed the name and description of the group %2$s', 'buddypress' ), $user_link, $group_link ); 170 170 171 171 // Name only. 172 } else if ( ! empty( $changed['name']['old'] ) && ! empty( $changed['name']['new'] ) ) {172 } elseif ( ! empty( $changed['name']['old'] ) && ! empty( $changed['name']['new'] ) ) { 173 173 $action = sprintf( __( '%1$s changed the name of the group %2$s from "%3$s" to "%4$s"', 'buddypress' ), $user_link, $group_link, esc_html( $changed['name']['old'] ), esc_html( $changed['name']['new'] ) ); 174 174 175 175 // Description only. 176 } else if ( ! empty( $changed['description']['old'] ) && ! empty( $changed['description']['new'] ) ) {176 } elseif ( ! empty( $changed['description']['old'] ) && ! empty( $changed['description']['new'] ) ) { 177 177 $action = sprintf( __( '%1$s changed the description of the group %2$s from "%3$s" to "%4$s"', 'buddypress' ), $user_link, $group_link, esc_html( $changed['description']['old'] ), esc_html( $changed['description']['new'] ) ); 178 178
Note: See TracChangeset
for help on using the changeset viewer.