get_environment_info(); $database = $system_status->get_database_info(); $post_type_counts = $system_status->get_post_type_counts(); $active_plugins = $system_status->get_active_plugins(); $theme = $system_status->get_theme_info(); $security = $system_status->get_security_info(); $settings = $system_status->get_settings(); $pages = $system_status->get_pages(); $plugin_updates = new WC_Plugin_Updates; $untested_plugins = $plugin_updates->get_untested_plugins( WC()->version, 'minor' ); ?>
: | ||
: | ||
: | ||
: | ' . esc_html( $environment['log_directory'] ) . ' ';
} else {
echo ' ' . sprintf( __( 'To allow logging, make %1$s writable or define a custom %2$s.', 'woocommerce' ), '' . $environment['log_directory'] . ' ', 'WC_LOG_DIR ' ) . '';
}
?> |
|
: | ||
: | ' : '–'; ?> | |
: | ' . sprintf( __( '%1$s - We recommend setting memory to at least 64MB. See: %2$s', 'woocommerce' ), size_format( $environment['wp_memory_limit'] ), '' . __( 'Increasing memory allocated to PHP', 'woocommerce' ) . '' ) . ''; } else { echo '' . size_format( $environment['wp_memory_limit'] ) . ''; } ?> | |
: | – | |
: | – | |
: |
: | ||
: | ' . sprintf( __( '%1$s - We recommend a minimum PHP version of 5.6. See: %2$s', 'woocommerce' ), esc_html( $environment['php_version'] ), '' . __( 'How to update your PHP version', 'woocommerce' ) . '' ) . ''; } else { echo '' . esc_html( $environment['php_version'] ) . ''; } ?> | |
: | ||
: | ||
: | ||
: | ||
: | ' : '–'; ?> | |
: | ' . sprintf( __( '%1$s - We recommend a minimum MySQL version of 5.6. See: %2$s', 'woocommerce' ), esc_html( $environment['mysql_version'] ), '' . __( 'WordPress requirements', 'woocommerce' ) . '' ) . ''; } else { echo '' . esc_html( $environment['mysql_version'] ) . ''; } ?> | |
: | ||
: | ' . sprintf( __( 'Default timezone is %s - it should be UTC', 'woocommerce' ), $environment['default_timezone'] ) . ''; } else { echo ''; } ?> | |
: | '; } 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' ) . ''; } ?> | |
: | '; } else { echo ' ' . sprintf( __( 'Your server does not have the %s class enabled - some gateway plugins which use SOAP may not work as expected.', 'woocommerce' ), 'SoapClient' ) . ''; } ?> | |
: | '; } else { echo ' ' . sprintf( __( 'Your server does not have the %s class enabled - HTML/Multipart emails, and also some extensions, will not work without DOMDocument.', 'woocommerce' ), 'DOMDocument' ) . ''; } ?> | |
: | '; } else { echo ' ' . sprintf( __( 'Your server does not support the %s function - this is required to use the GeoIP database from MaxMind.', 'woocommerce' ), 'gzopen' ) . ''; } ?> | |
: | '; } else { echo ' ' . 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' ) . ''; } ?> | |
: | '; } else { echo ' ' . sprintf( __( '%s failed. Contact your hosting provider.', 'woocommerce' ), 'wp_remote_post()' ) . ' ' . esc_html( $environment['remote_post_response'] ) . ''; } ?> | |
: | '; } else { echo ' ' . sprintf( __( '%s failed. Contact your hosting provider.', 'woocommerce' ), 'wp_remote_get()' ) . ' ' . esc_html( $environment['remote_get_response'] ) . ''; } ?> | |
: |
: | ||
20 ) { echo ' ' . sprintf( __( '%1$s - We recommend using a prefix with less than 20 characters. See: %2$s', 'woocommerce' ), esc_html( $database['database_prefix'] ), '' . __( 'How to update your database table prefix', 'woocommerce' ) . '' ) . ''; } else { echo '' . esc_html( $database['database_prefix'] ) . ''; } ?> | ||
: | ' . esc_html( $database['maxmind_geoip_database'] ) . ' ';
} else {
printf( ' ' . sprintf( __( 'The MaxMind GeoIP Database does not exist - Geolocation will not function. You can download and install it manually from %1$s to the path: %2$s. Scroll down to "Downloads" and download the "Binary / gzip" file next to "GeoLite Country". Please remember to uncompress GeoIP.dat.gz and upload the GeoIP.dat file only.', 'woocommerce' ), make_clickable( 'http://dev.maxmind.com/geoip/legacy/geolite/' ), '' . $database['maxmind_geoip_database'] . ' ' ) . '', WC_LOG_DIR );
}
?> |
|
' . __( 'Table does not exist', 'woocommerce' ) . ''; } else { printf( __( 'Data: %.2fMB + Index: %.2fMB', 'woocommerce' ), wc_format_decimal( $table_data['data'], 2 ), wc_format_decimal( $table_data['index'], 2 ) ); } ?> | ||
type ); ?> | count ); ?> |
: | Learn more about HTTPS and SSL Certificates.', 'woocommerce' ), 'https://docs.woocommerce.com/document/ssl-and-https/' ); ?> | |
() |
||
---|---|---|
: | ' : '–'; ?> | |
: | ' : '–'; ?> | |
() | ||
$name ) { $display_terms[] = strtolower( $name ) . ' (' . $slug . ')'; } echo implode( ', ', array_map( 'esc_html', $display_terms ) ); ?> | ||
$name ) { $display_terms[] = strtolower( $name ) . ' (' . $slug . ')'; } echo implode( ', ', array_map( 'esc_html', $display_terms ) ); ?> |
' . $page_name . ': | '; echo '' . wc_help_tip( sprintf( __( 'The URL of your %s page (along with the Page ID).', 'woocommerce' ), $page_name ) ) . ' | '; // Page ID check. if ( ! $page['page_set'] ) { echo ' ' . __( 'Page not set', 'woocommerce' ) . ''; $error = true; } elseif ( ! $page['page_exists'] ) { echo ' ' . __( 'Page ID is set, but the page does not exist', 'woocommerce' ) . ''; $error = true; } elseif ( ! $page['page_visible'] ) { echo ' ' . sprintf( __( 'Page visibility should be public', 'woocommerce' ), 'https://codex.wordpress.org/Content_Visibility' ) . ''; $error = true; } else { // Shortcode check if ( $page['shortcode_required'] ) { if ( ! $page['shortcode_present'] ) { echo ' ' . sprintf( __( 'Page does not contain the shortcode.', 'woocommerce' ), $page['shortcode'] ) . ''; $error = true; } } } if ( ! $error ) { echo '#' . absint( $page['page_id'] ) . ' - ' . str_replace( home_url(), '', get_permalink( $page['page_id'] ) ) . ''; } echo ' |
: | ||
: | ' . sprintf( __( '%s is available', 'woocommerce' ), esc_html( $theme['version_latest'] ) ) . ''; } ?> | |
: | ||
: | ' : ' – ' . sprintf( __( 'If you are modifying WooCommerce on a parent theme that you did not build personally we recommend using a child theme. See: How to create a child theme', 'woocommerce' ), 'https://codex.wordpress.org/Child_Themes' ); ?> | |
: | ||
: | ' . sprintf( __( '%s is available', 'woocommerce' ), esc_html( $theme['parent_version_latest'] ) ) . ''; } ?> | |
: | ||
: | ' . __( 'Not declared', 'woocommerce' ) . ''; } else { echo ''; } ?> |