Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- /**
- * changing label for bp-like activity in swa filters
- * Please chane line 266 i.e $component_links[] = $before . '<a href="' . attribute_escape( $link ) . '">' . ucwords( __( $component, 'swa' ) ) . '</a>' . $after;
- in bp-sitewide-activity.php with the following code
- */
- if($component=="bp-like")
- $component_links[] = $before . '<a href="' . attribute_escape( $link ) . '">' . ucwords( __( "Like", 'swa' ) ) . '</a>' . $after;
- else
- $component_links[] = $before . '<a href="' . attribute_escape( $link ) . '">' . ucwords( __( $component, 'swa' ) ) . '</a>' . $after;
Add Comment
Please, Sign In to add comment