File tree Expand file tree Collapse file tree 1 file changed +2
-3
lines changed Expand file tree Collapse file tree 1 file changed +2
-3
lines changed Original file line number Diff line number Diff line change @@ -123,7 +123,7 @@ public function listen() {
123
123
$ data = array (
124
124
'message ' => $ this ->get_response_message (),
125
125
'success ' => $ this ->success ,
126
- 'redirect_url ' => $ this ->success ? $ this -> options -> get ( 'redirect ' ) : '' ,
126
+ 'redirect_url ' => $ this ->success ? $ options[ 'redirect ' ] : '' ,
127
127
);
128
128
129
129
wp_send_json ( $ data );
@@ -132,7 +132,7 @@ public function listen() {
132
132
133
133
if ( $ this ->success ) {
134
134
// should we redirect
135
- $ redirect_url = $ this -> options -> get ( 'redirect ' ) ;
135
+ $ redirect_url = $ options[ 'redirect ' ] ;
136
136
if ( ! empty ( $ redirect_url ) ) {
137
137
wp_redirect ( $ redirect_url );
138
138
exit ;
@@ -441,7 +441,6 @@ public function output_html() {
441
441
</form>
442
442
<?php echo $ this ->get_response_message_html (); ?>
443
443
</div>
444
-
445
444
<!-- / Mailchimp Top Bar -->
446
445
</div>
447
446
<?php
You can’t perform that action at this time.
0 commit comments