Created
March 4, 2015 21:15
-
-
Save mallorydxw/c132ff6914ed726e2fab to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
From 6fe847423069d9bed7e6bc6c4fb4a9a12687c562 Mon Sep 17 00:00:00 2001 | |
From: Tom Adams <tom@dxw.com> | |
Date: Tue, 4 Mar 2014 15:36:16 -0500 | |
Subject: [PATCH] s/$_POST/stripslashes_deep($_POST)/ | |
--- | |
by-email/by-email.php | 2 +- | |
1 file changed, 1 insertion(+), 1 deletion(-) | |
diff --git a/by-email/by-email.php b/by-email/by-email.php | |
index f7a5920..1112f72 100644 | |
--- a/by-email/by-email.php | |
+++ b/by-email/by-email.php | |
@@ -416,7 +416,7 @@ function invite_anyone_catch_send() { | |
return; | |
} | |
- if ( ! invite_anyone_process_invitations( $_POST ) ) { | |
+ if ( ! invite_anyone_process_invitations( stripslashes_deep($_POST) ) ) { | |
bp_core_add_message( __( 'Sorry, there was a problem sending your invitations. Please try again.', 'bp-invite-anyone' ), 'error' ); | |
} | |
-- | |
2.1.4 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment