version, '3.6', '>=')) { // This screen requires classes from the REST API. if ( ! did_action( 'rest_api_init' ) ) { WC()->api->rest_api_includes(); } }else{ if ( ! class_exists( 'WC_REST_System_Status_Controller', false ) ) { wp_die( 'Cannot load the REST API to access WC_REST_System_Status_Controller.' ); } } $system_status = new WC_REST_System_Status_Controller(); $environment = $system_status->get_environment_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 { /* Translators: %1$s: Log directory, %2$s: Log directory constant */ echo ' ' . sprintf( esc_html__( 'To allow logging, make %1$s writable or define a custom %2$s.', XC_WOO_CLOUD ), '' . esc_html( $environment['log_directory'] ) . '', 'WC_LOG_DIR' ) . ''; } ?>
: ' . sprintf( esc_html__( '%1$s - There is a newer version of WordPress available (%2$s)', XC_WOO_CLOUD ), esc_html( $environment['wp_version'] ), esc_html( $latest_version ) ) . ''; } else { echo '' . esc_html( $environment['wp_version'] ) . ''; } ?>
: ' : '–'; ?>
: ' . sprintf( esc_html__( '%1$s - We recommend setting memory to at least 64MB. See: %2$s', XC_WOO_CLOUD ), esc_html( size_format( $environment['wp_memory_limit'] ) ), '' . esc_html__( 'Increasing memory allocated to PHP', XC_WOO_CLOUD ) . '' ) . ''; } else { echo '' . esc_html( size_format( $environment['wp_memory_limit'] ) ) . ''; } ?>
:
:
:
:

:
: =' ) ) { echo '' . esc_html( $environment['php_version'] ) . ''; } else { $update_link = ' ' . esc_html__( 'How to update your PHP version', XC_WOO_CLOUD ) . ''; $class = 'error'; if ( version_compare( $environment['php_version'], '5.5', '<' ) ) { $notice = ' ' . __( 'We recommend using PHP version 5.6 or above for greater performance.', XC_WOO_CLOUD ) . $update_link; } echo '' . esc_html( $environment['php_version'] ) . ' - ' . wp_kses_post( $notice ) . ''; } ?>
: '; } else { echo ' ' . sprintf( esc_html__( 'Your server does not have the DOM extension enabled - Google cloud print will not work without DOM extension.', XC_WOO_CLOUD )) . ''; } ?>
: '; } else { echo ' ' . sprintf( esc_html__( 'Your server does not have the GD extension enabled - Google cloud print will not work without GD extension.', XC_WOO_CLOUD )) . ''; } ?>
: '; } else { /* Translators: %s: classname and link. */ echo ' ' . sprintf( esc_html__( 'Your server does not support the %s functions - this is required for better character encoding. Some fallbacks will be used instead for it.', XC_WOO_CLOUD ), 'mbstring' ) . ''; } ?>
' . $plugin_name . ''; } $version_string = ''; $network_string = ''; if ( strstr( $plugin['url'], 'woothemes.com' ) || strstr( $plugin['url'], 'woocommerce.com' ) ) { if ( ! empty( $plugin['version_latest'] ) && version_compare( $plugin['version_latest'], $plugin['version'], '>' ) ) { /* translators: %s: plugin latest version */ $version_string = ' – ' . sprintf( esc_html__( '%s is available', XC_WOO_CLOUD ), $plugin['version_latest'] ) . ''; } if ( false !== $plugin['network_activated'] ) { $network_string = ' – ' . esc_html__( 'Network enabled', XC_WOO_CLOUD ) . ''; } } $untested_string = ''; if ( array_key_exists( $plugin['plugin'], $untested_plugins ) ) { $untested_string = ' – ' . esc_html__( 'Not tested with the active version of WooCommerce', XC_WOO_CLOUD ) . ''; } ?>

()

 

:
: ' . sprintf( esc_html__( '%s is available', XC_WOO_CLOUD ), esc_html( $theme['version_latest'] ) ) . ''; } ?>
:
: '; } else { /* Translators: %s docs link. */ echo ' – ' . wp_kses_post( 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', XC_WOO_CLOUD ), 'https://codex.wordpress.org/Child_Themes' ) ); } ?>
:
: ' . sprintf( esc_html__( '%s is available', XC_WOO_CLOUD ), esc_html( $theme['parent_version_latest'] ) ) . ''; } ?>
:
: ' . esc_html__( 'Not declared', XC_WOO_CLOUD ) . ''; } else { echo ''; } ?>