From 437583c5582c7ab28a3e6929870b508264c940d4 Mon Sep 17 00:00:00 2001 From: david Date: Mon, 27 Aug 2012 15:09:49 +0000 Subject: [PATCH] Tarea #1026 -> Al mandar una dedicatoria, se queda la pantalla en blanco git-svn-id: https://192.168.0.254/svn/Proyectos.ASong2U_Web/trunk@127 cd1a4ea2-8c7f-e448-aada-19d1fee9e1d6 --- .../bp-dedication/includes/bp-dedication-notifications.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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) );