Skip to content

Commit b82aaa4

Browse files
committed
Removed non-functional SSL waring message
1 parent 0ce0513 commit b82aaa4

File tree

1 file changed

+0
-18
lines changed

1 file changed

+0
-18
lines changed

modules/pdf-ninja.php

Lines changed: 0 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -1110,22 +1110,4 @@ public function admin_notices()
11101110
'message' => esc_html__( "Failed to get the Pdf.Ninja API key on last attempt. Please retry manually.", 'pdf-forms-for-contact-form-7' ),
11111111
) );
11121112
}
1113-
1114-
/*
1115-
* Returns thickbox messages that need to be displayed
1116-
*/
1117-
public function thickbox_messages()
1118-
{
1119-
$messages = '';
1120-
try
1121-
{
1122-
$url = $this->get_api_url();
1123-
$verify_ssl = $this->get_verify_ssl();
1124-
if( substr($url,0,5) == 'http:' || !$verify_ssl)
1125-
$messages .= "<div class='notice notice-warning'><p>" . esc_html__( 'Warning: Your Contact Form 7 integration settings indicate that you are using an insecure connection to the Pdf.Ninja API server.', 'pdf-forms-for-contact-form-7' ) . "</p></div>";
1126-
}
1127-
catch(Exception $e) { };
1128-
1129-
return $messages;
1130-
}
11311113
}

0 commit comments

Comments
 (0)