From 03a7fc3a457c20530fdee1bef61c62c02bb291b4 Mon Sep 17 00:00:00 2001 From: david Date: Wed, 29 Aug 2012 09:11:53 +0000 Subject: [PATCH] =?UTF-8?q?-=20Cambio=20en=20BP=20para=20que=20no=20mande?= =?UTF-8?q?=20los=20correos=20como=20noreply@asong2u.com=20-=20Tarea=20#10?= =?UTF-8?q?45=20=3D>=20Errores=20en=20los=20textos=20de=20la=20invitaci?= =?UTF-8?q?=C3=B3n=20a=20un=20grupo?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit git-svn-id: https://192.168.0.254/svn/Proyectos.ASong2U_Web/trunk@146 cd1a4ea2-8c7f-e448-aada-19d1fee9e1d6 --- .../plugins/invite-anyone/by-email/by-email.php | 6 +++--- wp-content/themes/score/functions.php | 11 +++++++++++ 2 files changed, 14 insertions(+), 3 deletions(-) diff --git a/wp-content/plugins/invite-anyone/by-email/by-email.php b/wp-content/plugins/invite-anyone/by-email/by-email.php index 41bc1d9..0d686ac 100644 --- a/wp-content/plugins/invite-anyone/by-email/by-email.php +++ b/wp-content/plugins/invite-anyone/by-email/by-email.php @@ -270,7 +270,7 @@ function invite_anyone_setup_nav() { /* Add 'Send Invites' to the main user profile navigation */ bp_core_new_nav_item( array( - 'name' => __( 'Send Invites', 'buddypress' ), + 'name' => __( 'Send invitations', 'buddypress' ), 'slug' => $bp->invite_anyone->slug, 'position' => 80, 'screen_function' => 'invite_anyone_screen_one', @@ -612,7 +612,7 @@ function invite_anyone_screen_one_content() {
  • checked /> - +
  • @@ -628,7 +628,7 @@ function invite_anyone_screen_one_content() {
    - +
    diff --git a/wp-content/themes/score/functions.php b/wp-content/themes/score/functions.php index 90c78c9..fba7d5c 100644 --- a/wp-content/themes/score/functions.php +++ b/wp-content/themes/score/functions.php @@ -792,4 +792,15 @@ function gp_get_total_unread_dedications() { else return 0; } +function set_from_email($email) { + /*$new_email = $email; + if ($email == 'noreply@asong2u.com') :*/ + $new_email = 'asong2u@asong2u.com'; + //endif; + return $new_email; +} +add_filter('wp_mail_from', 'set_from_email'); + + + ?> \ No newline at end of file