:
:
:
: ' . sprintf( esc_html__( '%1$s - There is a newer version of WordPress available (%2$s)', 'amp-wp' ), 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', 'amp-wp' ), esc_html( size_format( $environment['wp_memory_limit'] ) ), '' . esc_html__( 'Increasing memory allocated to PHP', 'amp-wp' ) . '' ) . ''; } else { echo '' . esc_html( size_format( $environment['wp_memory_limit'] ) ) . ''; } ?>
:
:
:
:
'0', ); foreach ( $registered_navs as $handle => $registered_nav ) { $menu = wp_get_nav_menu_object( $registered_nav ); // phpcs:ignore WordPress.WP.GlobalVariablesOverride.OverrideProhibited if ( $menu ) { $menu_items_count[] = $menu->count; } } $max_items = max( $menu_items_count ); $required_input_vars = $max_items * 12; ?> '0', ); foreach ( $registered_navs as $handle => $registered_nav ) { $menu = wp_get_nav_menu_object( $registered_nav ); // phpcs:ignore WordPress.WP.GlobalVariablesOverride.OverrideProhibited if ( $menu ) { $menu_items_count[] = $menu->count; } } $max_items = max( $menu_items_count ); $required_input_vars = $max_items * 12; ?> '0', ); foreach ( $registered_navs as $handle => $registered_nav ) { $menu = wp_get_nav_menu_object( $registered_nav ); // phpcs:ignore WordPress.WP.GlobalVariablesOverride.OverrideProhibited if ( $menu ) { $menu_items_count[] = $menu->count; } } $max_items = max( $menu_items_count ); $required_input_vars = ini_get( 'suhosin.request.max_vars' ); ?>
=' ) ) { echo '' . esc_html( $environment['php_version'] ) . ''; } else { $update_link = ' ' . esc_html__( 'WordPress Requirements', 'amp-wp' ) . ''; $class = 'error'; if ( version_compare( $environment['php_version'], '5.6', '<' ) ) { $notice = ' ' . __( 'AMP WP will run under this version of PHP, however, it has reached end of life. We recommend using PHP version 7.2 or above for greater performance and security.', 'amp-wp' ) . $update_link; } elseif ( version_compare( $environment['php_version'], '7.2', '<' ) ) { $notice = __( 'WordPress recommend PHP version 7.2 or above for greater performance and security.', 'amp-wp' ) . $update_link; $class = 'recommendation'; } echo '' . esc_html( $environment['php_version'] ) . ' - ' . wp_kses_post( $notice ) . ''; } ?>
$time_limit && 0 != $time_limit ) { /* translators: %1$s: Current value. %2$s: URL. */ echo '' . sprintf( __( '%1$s - We recommend setting max execution time to at least 180.
See: Increasing max execution to PHP', 'amp-wp' ), $time_limit, 'http://codex.wordpress.org/Common_WordPress_Errors#Maximum_execution_time_exceeded' ) . '
'; // WPCS: XSS ok. } else { echo '' . esc_html( $time_limit ) . ''; } ?>
' . sprintf( __( '%1$s - Recommended Value: %2$s.
Max input vars limitation will truncate POST data such as menus. See: Increasing max input vars limit.', 'amp-wp' ), $max_input_vars, '' . $required_input_vars . '', 'http://sevenspark.com/docs/ubermenu-3/faqs/menu-item-limit' ) . ''; // WPCS: XSS ok. } else { echo '' . esc_attr( $max_input_vars ) . ''; } ?>
:
: ' . sprintf( __( '%1$s - Recommended Value: %2$s.
Max input vars limitation will truncate POST data such as menus. See: Increasing max input vars limit.', 'amp-wp' ), $max_input_vars, '' . ( $required_input_vars ) . '', 'http://sevenspark.com/docs/ubermenu-3/faqs/menu-item-limit' ) . ''; // WPCS: XSS ok. } else { echo '' . esc_attr( $max_input_vars ) . ''; } ?>
' . sprintf( __( '%1$s - Recommended Value: %2$s.
Max input vars limitation will truncate POST data such as menus. See: Increasing max input vars limit.', 'amp-wp' ), $max_input_vars, '' . ( $required_input_vars + ( 500 + 1000 ) ) . '', 'http://sevenspark.com/docs/ubermenu-3/faqs/menu-item-limit' ) . ''; // WPCS: XSS ok. } else { echo '' . esc_attr( $max_input_vars ) . ''; } ?>
' . sprintf( __( '%1$s - Recommended Value: %2$s.
Post Max Value Length limitation may prohibit the Theme Options data from being saved to your database. See: Suhosin Configuration Info.', 'amp-wp' ), $suhosin_max_value_length, '' . $recommended_max_value_length . '', 'http://suhosin.org/stories/configuration.html' ) . ''; // WPCS: XSS ok. } else { echo '' . esc_attr( $suhosin_max_value_length ) . ''; } ?>
✔' : 'ZipArchive is not installed on your server, but is required if you need to import demo content.'; ?>
' . sprintf( esc_html__( '%1$s - We recommend a minimum MySQL version of 5.6. See: %2$s', 'amp-wp' ), esc_html( $environment['mysql_version_string'] ), '' . esc_html__( 'WordPress requirements', 'amp-wp' ) . '' ) . ''; } else { echo '' . esc_html( $environment['mysql_version_string'] ) . ''; } ?>
: ' . sprintf( esc_html__( 'Default timezone is %s - it should be UTC', 'amp-wp' ), esc_html( $environment['default_timezone'] ) ) . ''; } else { echo ''; } ?>
'; ?> ✔'; } else { /* Translators: %s: classname and link. */ echo ' ' . sprintf( esc_html__( 'Your server does not have the %s class enabled - HTML/Multipart emails, and also some extensions, will not work without DOMDocument.', 'amp-wp' ), 'DOMDocument' ) . ''; } ?>
: ✔'; } else { /* Translators: %s: classname and link. */ echo ' ' . sprintf( esc_html__( 'Your server does not support the %s function - this is required to make your site load faster.', 'amp-wp' ), 'gzopen' ) . ''; } ?>
✔'; } else { /* Translators: %s: function name. */ echo ' ' . sprintf( esc_html__( '%s failed. Contact your hosting provider.', 'amp-wp' ), 'wp_remote_get()' ) . ' ' . esc_html( $environment['remote_get_response'] ) . ''; } ?>
✔'; } else { /* Translators: %s: function name. */ echo ' ' . sprintf( esc_html__( '%s failed. Contact your hosting provider.', 'amp-wp' ), 'wp_remote_post()' ) . ' ' . esc_html( $environment['remote_post_response'] ) . ''; } ?>
:
: ' . sprintf( esc_html__( '%s is available', 'amp-wp' ), esc_html( $theme['version_latest'] ) ) . ''; } ?>
:
: ✔'; } else { /* Translators: %s docs link. */ echo ' – ' . wp_kses_post( sprintf( __( 'If you are modifying AMP WP on a parent theme that you did not build personally we recommend using a child theme. See: How to create a child theme', 'amp-wp' ), 'https://codex.wordpress.org/Child_Themes' ) ); } ?>
:
: ' . sprintf( esc_html__( '%s is available', 'amp-wp' ), esc_html( $theme['parent_version_latest'] ) ) . ''; } ?>
:
' . esc_html( $plugin_data['Name'] ) . ''; } else { $plugin_name = esc_html( $plugin_data['Name'] ); } ?>
()
  ' . esc_html( $plugin_data['AuthorName'] ) . '' ) . ' – ' . esc_html( $plugin_data['Version'] ) . $version_string . $network_string; // WPCS: XSS ok. ?>