' . __('Product Transients Cleared', 'woocommerce') . '
' . __('Roles successfully reset', 'woocommerce') . '
version; ?> | |
' . $page_name . ' | '; $error = false; $page_id = get_option($values['option']); // Page ID check if ( ! $page_id ) { echo '' . __('Page not set', 'woocommerce') . ''; $error = true; } else { // Shortcode check if ( $values['shortcode'] ) { $page = get_post( $page_id ); if ( ! strstr( $page->post_content, $values['shortcode'] ) ) { echo '' . sprintf(__('Page does not contain the shortcode: %s', 'woocommerce'), $values['shortcode'] ) . ''; $error = true; } } } if ( ! $error ) echo '#' . $page_id . ' - ' . get_permalink( $page_id ) . ''; echo ' |
' . __('Yes', 'woocommerce') . ''; else echo '' . __('No', 'woocommerce') . ''; ?> | |
plugin_path() . '/logs/paypal.txt', 'a' ) )
echo '' . __('Log directory is writable.', 'woocommerce') . '';
else
echo '' . __('Log directory (woocommerce/logs/ ) is not writable. Logging will not be possible.', 'woocommerce') . '';
?> |
|
' . sprintf( __('%s does not exist - contact your host to resolve the problem.', 'woocommerce'), $save_path ). '';
} elseif ( ! is_writeable( $save_path ) ) {
echo '' . sprintf( __('%s is not writable - contact your host to resolve the problem.', 'woocommerce'), $save_path ). '';
} else {
echo '' . sprintf( __('%s is writable.', 'woocommerce'), $save_path ). '';
}
?> |
|
' . __('Your server has fsockopen or Curl enabled.', 'woocommerce'). ''; else echo '' . __('Your server does not have fsockopen or Curl enabled - PayPal IPN and other scripts which communicate with other servers will not work. Contact your hosting provider.', 'woocommerce'). ''; ?> | |
false, 'timeout' => 30, 'user-agent' => 'WooCommerce/'.$woocommerce->version ); $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 ) echo '' . __('wp_remote_post() was successful - PayPal IPN is working.', 'woocommerce'). ''; else echo '' . __('wp_remote_post() failed. PayPal IPN won\'t work with your server. Contact your hosting provider. Error: ', 'woocommerce') . $response->get_error_message() . ''; ?> | |