|
@@ -413,8 +413,9 @@ discard block |
|
|
block discarded – undo |
|
413
|
413
|
$create_ticket_response = wp_remote_retrieve_body( $response ); |
|
414
|
414
|
|
|
415
|
415
|
// display it |
|
416
|
|
- if( $create_ticket_response ) |
|
417
|
|
- echo $create_ticket_response; |
|
|
416
|
+ if( $create_ticket_response ) { |
|
|
417
|
+ echo $create_ticket_response; |
|
|
418
|
+ } |
|
418
|
419
|
|
|
419
|
420
|
} |
|
420
|
421
|
|
|
@@ -1160,7 +1161,7 @@ discard block |
|
|
block discarded – undo |
|
1160
|
1161
|
if( isset( $body['msg'] ) && $body['msg'] == "Everything's Chimpy!" ) { |
|
1161
|
1162
|
update_option( 'yikes-mc-api-validation' , 'valid_api_key' ); |
|
1162
|
1163
|
} |
|
1163
|
|
- } else { |
|
|
1164
|
+ } else { |
|
1164
|
1165
|
require_once YIKES_MC_PATH . 'includes/error_log/class-yikes-inc-easy-mailchimp-error-logging.php'; |
|
1165
|
1166
|
$error_logging = new Yikes_Inc_Easy_Mailchimp_Error_Logging(); |
|
1166
|
1167
|
$error_logging->yikes_easy_mailchimp_write_to_error_log( $api_key_response->get_error_message() , __( "Connecting to MailChimp" , 'yikes-inc-easy-mailchimp-extender' ) , __( "Settings Page/General Settings" , 'yikes-inc-easy-mailchimp-extender' ) ); |
|
@@ -2009,7 +2010,8 @@ discard block |
|
|
block discarded – undo |
|
2009
|
2010
|
|
|
2010
|
2011
|
|
|
2011
|
2012
|
|
|
2012
|
|
- } else { // THIS IS AN INTEREST GROUP! |
|
|
2013
|
+ } else { |
|
|
2014
|
+// THIS IS AN INTEREST GROUP! |
|
2013
|
2015
|
|
|
2014
|
2016
|
?> |
|
2015
|
2017
|
<section class="draggable" id="<?php echo $field['group_id']; ?>"> |
Please login to merge, or discard this patch.