', '' ); $posting['soap_client']['success'] = false; } // WP Remote Post Check $posting['wp_remote_post']['name'] = __( 'WP Remote Post','ninja-forms'); $request['cmd'] = '_notify-validate'; $params = array( 'sslverify' => false, 'timeout' => 60, 'user-agent' => 'Ninja Forms/' . NF_PLUGIN_VERSION, 'body' => $request ); $response = wp_remote_post( 'https://www.paypal.com/cgi-bin/webscr', $params ); if ( ! is_wp_error( $response ) && $response['response']['code'] >= 200 && $response['response']['code'] < 300 ) { $posting['wp_remote_post']['note'] = __('wp_remote_post() was successful - PayPal IPN is working.', 'ninja-forms' ); $posting['wp_remote_post']['success'] = true; } elseif ( is_wp_error( $response ) ) { $posting['wp_remote_post']['note'] = __( 'wp_remote_post() failed. PayPal IPN won\'t work with your server. Contact your hosting provider. Error:', 'ninja-forms' ) . ' ' . $response->get_error_message(); $posting['wp_remote_post']['success'] = false; } else { $posting['wp_remote_post']['note'] = __( 'wp_remote_post() failed. PayPal IPN may not work with your server.', 'ninja-forms' ); $posting['wp_remote_post']['success'] = false; } ?>
:
:
:
:
:
:
:
: db_version(); ?>
: $val ) if ( is_string( $val ) ) echo $key . ': ' . $val . '
'; ?>
:
:
:
:
:
:
:
:
:
:
smtp_port:
:
: ' . $plugin_name . ''; } $all_plugins[] = $plugin_name . ' ' . __( 'by', 'ninja-forms' ) . ' ' . $plugin_data['Author'] . ' ' . __( 'version', 'ninja-forms' ) . ' ' . $plugin_data['Version'] . $version_string; } } if ( sizeof( $all_plugins ) == 0 ) echo '-'; else echo implode( ',
', $all_plugins ); ?>