Index: themes/trunk/twentyeleven-child/header.php =================================================================== diff -u -r186 -r223 --- themes/trunk/twentyeleven-child/header.php (.../header.php) (revision 186) +++ themes/trunk/twentyeleven-child/header.php (.../header.php) (revision 223) @@ -52,6 +52,10 @@ if (is_singular() && get_option('thread_comments')) wp_enqueue_script('comment-reply'); + if (is_page('support')) { ?> + + * tag of your theme, or you will break many plugins, which * generally use this hook to add elements to
such Index: themes/trunk/twentyeleven-child/page-support.php =================================================================== diff -u -r205 -r223 --- themes/trunk/twentyeleven-child/page-support.php (.../page-support.php) (revision 205) +++ themes/trunk/twentyeleven-child/page-support.php (.../page-support.php) (revision 223) @@ -1,12 +1,9 @@ is_valid) { + if (isset($_POST["g-recaptcha-response"])) { + $resp = json_decode(file_get_contents("https://www.google.com/recaptcha/api/siteverify?secret=".$privatekey."&response=".sanitize_text_field($_POST["g-recaptcha-response"])."&remoteip=".$_SERVER['REMOTE_ADDR']), true); + if($resp['success'] == false) { + $errorSummary = '