sbrajesh

Brajesh Singh

Sep 13th, 2010
100
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 0.57 KB | None | 0 0
  1. /**
  2. * changing label for bp-like activity in swa filters
  3. * Please chane line 266 i.e $component_links[] = $before . '<a href="' . attribute_escape( $link ) . '">' . ucwords( __( $component, 'swa' ) ) . '</a>' . $after;
  4.  in  bp-sitewide-activity.php with the following code
  5.  
  6. */
  7.  
  8.  
  9.  
  10.  
  11. if($component=="bp-like")
  12. $component_links[] = $before . '<a href="' . attribute_escape( $link ) . '">' . ucwords( __( "Like", 'swa' ) ) . '</a>' . $after;
  13. else
  14. $component_links[] = $before . '<a href="' . attribute_escape( $link ) . '">' . ucwords( __( $component, 'swa' ) ) . '</a>' . $after;
Add Comment
Please, Sign In to add comment