:
:
: version ); ?>
: ' . WC_LOG_DIR . ' '; } else { printf( ' ' . __( 'To allow logging, make %s writable or define a custom WC_LOG_DIR.', 'woocommerce' ) . '', WC_LOG_DIR ); } ?>
:
: '; else echo '–'; ?>
: ' . sprintf( __( '%s - We recommend setting memory to at least 64MB. See: %s', 'woocommerce' ), size_format( $memory ), '' . __( 'Increasing memory allocated to PHP', 'woocommerce' ) . '' ) . ''; } else { echo '' . size_format( $memory ) . ''; } ?>
:
:
:
SoapClient' ); } // DOMDocument. $posting['dom_document']['name'] = 'DOMDocument'; $posting['dom_document']['help'] = wc_help_tip( __( 'HTML/Multipart emails use DOMDocument to generate inline CSS in templates.', 'woocommerce' ) ); if ( class_exists( 'DOMDocument' ) ) { $posting['dom_document']['success'] = true; } else { $posting['dom_document']['success'] = false; $posting['dom_document']['note'] = sprintf( __( 'Your server does not have the %s class enabled - HTML/Multipart emails, and also some extensions, will not work without DOMDocument.', 'woocommerce' ), 'DOMDocument' ); } // GZIP. $posting['gzip']['name'] = 'GZip'; $posting['gzip']['help'] = wc_help_tip( __( 'GZip (gzopen) is used to open the GEOIP database from MaxMind.', 'woocommerce' ) ); if ( is_callable( 'gzopen' ) ) { $posting['gzip']['success'] = true; } else { $posting['gzip']['success'] = false; $posting['gzip']['note'] = sprintf( __( 'Your server does not support the %s function - this is required to use the GeoIP database from MaxMind.', 'woocommerce' ), 'gzopen' ); } // Multibyte String. $posting['mbstring']['name'] = 'Multibyte String'; $posting['mbstring']['help'] = wc_help_tip( __( 'Multibyte String (mbstring) is used to convert character encoding, like for emails or converting characters to lowercase.', 'woocommerce' ) ); if ( extension_loaded( 'mbstring' ) ) { $posting['mbstring']['success'] = true; } else { $posting['mbstring']['success'] = false; $posting['mbstring']['note'] = sprintf( __( 'Your server does not support the %s functions - this is required for better character encoding. Some fallbacks will be used instead for it.', 'woocommerce' ), 'mbstring' ); } // WP Remote Post Check. $posting['wp_remote_post']['name'] = __( 'Remote Post', 'woocommerce'); $posting['wp_remote_post']['help'] = wc_help_tip( __( 'PayPal uses this method of communicating when sending back transaction information.', 'woocommerce' ) ); $response = wp_safe_remote_post( 'https://www.paypal.com/cgi-bin/webscr', array( 'timeout' => 60, 'user-agent' => 'WooCommerce/' . WC()->version, 'httpversion' => '1.1', 'body' => array( 'cmd' => '_notify-validate' ) ) ); if ( ! is_wp_error( $response ) && $response['response']['code'] >= 200 && $response['response']['code'] < 300 ) { $posting['wp_remote_post']['success'] = true; } else { $posting['wp_remote_post']['note'] = __( 'wp_remote_post() failed. PayPal IPN won\'t work with your server. Contact your hosting provider.', 'woocommerce' ); if ( is_wp_error( $response ) ) { $posting['wp_remote_post']['note'] .= ' ' . sprintf( __( 'Error: %s', 'woocommerce' ), wc_clean( $response->get_error_message() ) ); } else { $posting['wp_remote_post']['note'] .= ' ' . sprintf( __( 'Status code: %s', 'woocommerce' ), wc_clean( $response['response']['code'] ) ); } $posting['wp_remote_post']['success'] = false; } // WP Remote Get Check. $posting['wp_remote_get']['name'] = __( 'Remote Get', 'woocommerce'); $posting['wp_remote_get']['help'] = wc_help_tip( __( 'WooCommerce plugins may use this method of communication when checking for plugin updates.', 'woocommerce' ) ); $response = wp_safe_remote_get( 'http://www.woothemes.com/wc-api/product-key-api?request=ping&network=' . ( is_multisite() ? '1' : '0' ) ); if ( ! is_wp_error( $response ) && $response['response']['code'] >= 200 && $response['response']['code'] < 300 ) { $posting['wp_remote_get']['success'] = true; } else { $posting['wp_remote_get']['note'] = __( 'wp_remote_get() failed. The WooCommerce plugin updater won\'t work with your server. Contact your hosting provider.', 'woocommerce' ); if ( is_wp_error( $response ) ) { $posting['wp_remote_get']['note'] .= ' ' . sprintf( __( 'Error: %s', 'woocommerce' ), wc_clean( $response->get_error_message() ) ); } else { $posting['wp_remote_get']['note'] .= ' ' . sprintf( __( 'Status code: %s', 'woocommerce' ), wc_clean( $response['response']['code'] ) ); } $posting['wp_remote_get']['success'] = false; } $posting = apply_filters( 'woocommerce_debug_posting', $posting ); foreach ( $posting as $post ) { $mark = ! empty( $post['success'] ) ? 'yes' : 'error'; ?>

:
: ' . sprintf( __( '%s - We recommend a minimum PHP version of 5.6. See: %s', 'woocommerce' ), esc_html( $php_version ), '' . __( 'How to update your PHP version', 'woocommerce' ) . '' ) . ''; } else { echo '' . esc_html( $php_version ) . ''; } } else { _e( "Couldn't determine PHP version because phpversion() doesn't exist.", 'woocommerce' ); } ?>
:
:
:
:
: ' : '–'; ?>
: db_version(); if ( version_compare( $mysql_version, '5.6', '<' ) ) { echo ' ' . sprintf( __( '%s - We recommend a minimum MySQL version of 5.6. See: %s', 'woocommerce' ), esc_html( $mysql_version ), '' . __( 'WordPress Requirements', 'woocommerce' ) . '' ) . ''; } else { echo '' . esc_html( $mysql_version ) . ''; } ?>
:
: ' . sprintf( __( 'Default timezone is %s - it should be UTC', 'woocommerce' ), $default_timezone ) . ''; } else { echo ''; } ?>
: ' : ''; ?>

:
  get_var( $wpdb->prepare( "SHOW TABLES LIKE %s;", $wpdb->prefix . $table ) ) !== $wpdb->prefix . $table ? ' ' . __( 'Table does not exist', 'woocommerce' ) . '' : ''; ?>
: ' . esc_html( WC_Geolocation::get_local_database_path() ) . ' '; } else { printf( ' ' . sprintf( __( 'The MaxMind GeoIP Database does not exist - Geolocation will not function. You can download and install it manually from %s to the path: %s', 'woocommerce' ), make_clickable( 'http://dev.maxmind.com/geoip/legacy/geolite/' ), '' . WC_Geolocation::get_local_database_path() . '' ) . '', WC_LOG_DIR ); } ?>
' . $plugin_name . ''; } if ( strstr( $dirname, 'woocommerce-' ) && strstr( $plugin_data['PluginURI'], 'woothemes.com' ) ) { if ( false === ( $version_data = get_transient( md5( $plugin ) . '_version_data' ) ) ) { $changelog = wp_safe_remote_get( 'http://dzv365zjfbd8v.cloudfront.net/changelogs/' . $dirname . '/changelog.txt' ); $cl_lines = explode( "\n", wp_remote_retrieve_body( $changelog ) ); if ( ! empty( $cl_lines ) ) { foreach ( $cl_lines as $line_num => $cl_line ) { if ( preg_match( '/^[0-9]/', $cl_line ) ) { $date = str_replace( '.' , '-' , trim( substr( $cl_line , 0 , strpos( $cl_line , '-' ) ) ) ); $version = preg_replace( '~[^0-9,.]~' , '' ,stristr( $cl_line , "version" ) ); $update = trim( str_replace( "*" , "" , $cl_lines[ $line_num + 1 ] ) ); $version_data = array( 'date' => $date , 'version' => $version , 'update' => $update , 'changelog' => $changelog ); set_transient( md5( $plugin ) . '_version_data', $version_data, DAY_IN_SECONDS ); break; } } } } if ( ! empty( $version_data['version'] ) && version_compare( $version_data['version'], $plugin_data['Version'], '>' ) ) { $version_string = ' – ' . esc_html( sprintf( _x( '%s is available', 'Version info', 'woocommerce' ), $version_data['version'] ) ) . ''; } if ( $plugin_data['Network'] != false ) { $network_string = ' – ' . __( 'Network enabled', 'woocommerce' ) . ''; } } ?>

()

 

: ' : ''; ?>
()

: ' : ''; ?>
:
array( 'option' => 'woocommerce_shop_page_id', 'shortcode' => '', 'help' => __( 'The URL of your WooCommerce shop\'s homepage (along with the Page ID).', 'woocommerce' ), ), _x( 'Cart', 'Page setting', 'woocommerce' ) => array( 'option' => 'woocommerce_cart_page_id', 'shortcode' => '[' . apply_filters( 'woocommerce_cart_shortcode_tag', 'woocommerce_cart' ) . ']', 'help' => __( 'The URL of your WooCommerce shop\'s cart (along with the page ID).', 'woocommerce' ), ), _x( 'Checkout', 'Page setting', 'woocommerce' ) => array( 'option' => 'woocommerce_checkout_page_id', 'shortcode' => '[' . apply_filters( 'woocommerce_checkout_shortcode_tag', 'woocommerce_checkout' ) . ']', 'help' => __( 'The URL of your WooCommerce shop\'s checkout (along with the page ID).', 'woocommerce' ), ), _x( 'My Account', 'Page setting', 'woocommerce' ) => array( 'option' => 'woocommerce_myaccount_page_id', 'shortcode' => '[' . apply_filters( 'woocommerce_my_account_shortcode_tag', 'woocommerce_my_account' ) . ']', 'help' => __( 'The URL of your WooCommerce shop\'s “My Account” Page (along with the page ID).', 'woocommerce' ), ) ); $alt = 1; foreach ( $check_pages as $page_name => $values ) { $error = false; $page_id = get_option( $values['option'] ); if ( $page_id ) { $page_name = '' . esc_html( $page_name ) . ''; } else { $page_name = esc_html( $page_name ); } echo ''; echo ''; } ?>

' . $page_name . ':' . wc_help_tip( $values['help'] ) . ''; // Page ID check. if ( ! $page_id ) { echo ' ' . __( 'Page not set', 'woocommerce' ) . ''; $error = true; } else if ( get_post_status( $page_id ) !== 'publish' ) { echo ' ' . sprintf( __( 'Page visibility should be %spublic%s', 'woocommerce' ), '', '' ) . ''; $error = true; } else { // Shortcode check if ( $values['shortcode'] ) { $page = get_post( $page_id ); if ( empty( $page ) ) { echo ' ' . sprintf( __( 'Page does not exist', 'woocommerce' ) ) . ''; $error = true; } else if ( ! strstr( $page->post_content, $values['shortcode'] ) ) { echo ' ' . sprintf( __( 'Page does not contain the shortcode: %s', 'woocommerce' ), $values['shortcode'] ) . ''; $error = true; } } } if ( ! $error ) echo '#' . absint( $page_id ) . ' - ' . str_replace( home_url(), '', get_permalink( $page_id ) ) . ''; echo '

:   0 ) ); foreach ( $terms as $term ) { $display_terms[] = strtolower( $term->name ) . ' (' . $term->slug . ')'; } echo implode( ', ', array_map( 'esc_html', $display_terms ) ); ?>
Version; $update_theme_version = WC_Admin_Status::get_latest_theme_version( $active_theme ); ?> Template ); $update_theme_version = WC_Admin_Status::get_latest_theme_version( $parent_theme ); ?>

: Name ); ?>
: ' . sprintf( __( '%s is available', 'woocommerce' ), esc_html( $update_theme_version ) ) . ''; } ?>
: {'Author URI'}; ?>
: ' : ' – ' . sprintf( __( 'If you\'re modifying WooCommerce on a parent theme you didn\'t build personally, then we recommend using a child theme. See: How to create a child theme', 'woocommerce' ), 'http://codex.wordpress.org/Child_Themes' ); ?>
: Name ); ?>
: Version ); if ( version_compare( $parent_theme->Version, $update_theme_version, '<' ) ) { echo ' – ' . sprintf( __( '%s is available', 'woocommerce' ), esc_html( $update_theme_version ) ) . ''; } ?>
: {'Author URI'}; ?>
: template, wc_get_core_supported_themes() ) ) { echo ' ' . __( 'Not Declared', 'woocommerce' ) . ''; } else { echo ''; } ?>
WC()->plugin_path() . '/templates/' ) ); $scanned_files = array(); $found_files = array(); $outdated_templates = false; foreach ( $template_paths as $plugin_name => $template_path ) { $scanned_files = WC_Admin_Status::scan_template_files( $template_path ); foreach ( $scanned_files as $file ) { if ( file_exists( get_stylesheet_directory() . '/' . $file ) ) { $theme_file = get_stylesheet_directory() . '/' . $file; } elseif ( file_exists( get_stylesheet_directory() . '/woocommerce/' . $file ) ) { $theme_file = get_stylesheet_directory() . '/woocommerce/' . $file; } elseif ( file_exists( get_template_directory() . '/' . $file ) ) { $theme_file = get_template_directory() . '/' . $file; } elseif( file_exists( get_template_directory() . '/woocommerce/' . $file ) ) { $theme_file = get_template_directory() . '/woocommerce/' . $file; } else { $theme_file = false; } if ( ! empty( $theme_file ) ) { $core_version = WC_Admin_Status::get_file_version( $template_path . $file ); $theme_version = WC_Admin_Status::get_file_version( $theme_file ); if ( $core_version && ( empty( $theme_version ) || version_compare( $theme_version, $core_version, '<' ) ) ) { if ( ! $outdated_templates ) { $outdated_templates = true; } $found_files[ $plugin_name ][] = sprintf( __( '%s version %s is out of date. The core version is %s', 'woocommerce' ), str_replace( WP_CONTENT_DIR . '/themes/', '', $theme_file ), $theme_version ? $theme_version : '-', $core_version ); } else { $found_files[ $plugin_name ][] = sprintf( '%s', str_replace( WP_CONTENT_DIR . '/themes/', '', $theme_file ) ); } } } } if ( $found_files ) { foreach ( $found_files as $plugin_name => $found_plugin_files ) { ?>

:  
():   ', $found_plugin_files ); ?>
: