diff --git a/wp-content/plugins/bp-dedication/includes/bp-dedication-notifications.php b/wp-content/plugins/bp-dedication/includes/bp-dedication-notifications.php index e1c36a6..e8534bb 100644 --- a/wp-content/plugins/bp-dedication/includes/bp-dedication-notifications.php +++ b/wp-content/plugins/bp-dedication/includes/bp-dedication-notifications.php @@ -5,7 +5,7 @@ function bp_dedication_send_dedication_notification( $post_id, $to_user_email, $from_user_id ) { - function getTinyUrl($url) { + function bp_dedication_getTinyUrl($url) { $tinyurl = file_get_contents("http://tinyurl.com/api-create.php?url=".$url); return $tinyurl; } @@ -28,7 +28,7 @@ function bp_dedication_send_dedication_notification( $post_id, $to_user_email, $ $post_link = get_option('siteurl') . '/index.php'; $post_link = add_query_arg('refid', $enc_link, $post_link); - $post_link = getTinyUrl($post_link); + $post_link = bp_dedication_getTinyUrl($post_link); /* Set up and send the message */ $subject = '[' . get_blog_option( 1, 'blogname' ) . '] ' . sprintf( __( '%s dedicated a song 2 u!', 'bp-dedication' ), stripslashes($sender_name) );