: [?]'; ?>
: [?]'; ?>
: [?]'; ?>
: [?]'; ?>
: [?]'; ?> let_to_num( WP_MEMORY_LIMIT ); if( function_exists( 'memory_get_usage' ) ) { $server_memory = $this->let_to_num( @ini_get( 'memory_limit' ) ); $memory = max( $memory, $server_memory ); } if ( $memory < 134217728 ) { echo '' . sprintf( __( '%s - We recommend setting memory to at least 128MB. See: Increasing memory allocated to PHP', 'mfn-opts' ), size_format( $memory ), 'http://codex.wordpress.org/Editing_wp-config.php#Increasing_memory_allocated_to_PHP' ) . ''; } else { echo ''. size_format( $memory ) .''; } ?>
: [?]'; ?> ✔'; else echo ''; ?>
: [?]'; ?>
[?]'; if ( function_exists( 'fsockopen' ) || function_exists( 'curl_init' ) ) { $checks['fsockopen_curl']['success'] = true; } else { $checks['fsockopen_curl']['success'] = false; $checks['fsockopen_curl']['note'] = __( 'Your server does not have fsockopen or cURL enabled. Contact your hosting provider.', 'mfn-opts' ). ''; } // DOMDocument $checks['dom_document']['name'] = 'DOMDocument'; $checks['dom_document']['help'] = '[?]'; if ( class_exists( 'DOMDocument' ) ) { $checks['dom_document']['success'] = true; } else { $checks['dom_document']['success'] = false; $checks['dom_document']['note'] = sprintf( __( 'Your server does not have the DOMDocument class enabled. Contact your hosting provider.', 'mfn-opts' ), 'http://php.net/manual/en/class.domdocument.php' ) . ''; } // WP Remote Get Check $checks['wp_remote_get']['name'] = __( 'Remote Get', 'mfn-opts'); $checks['wp_remote_get']['help'] = '[?]'; $response = wp_remote_get( LIBS_URI . '/importer/demo/menu.txt' ); if ( ! is_wp_error( $response ) && $response['response']['code'] >= 200 && $response['response']['code'] < 300 ) { $checks['wp_remote_get']['success'] = true; } else { $checks['wp_remote_get']['note'] = __( 'WordPress function wp_remote_get() test failed. Contact your hosting provider.', 'mfn-opts' ); if ( is_wp_error( $response ) ) { $checks['wp_remote_get']['note'] .= ' ' . sprintf( __( 'Error: %s', 'mfn-opts' ), sanitize_text_field( $response->get_error_message() ) ); } else { $checks['wp_remote_get']['note'] .= ' ' . sprintf( __( 'Status code: %s', 'mfn-opts' ), sanitize_text_field( $response['response']['code'] ) ); } $checks['wp_remote_get']['success'] = false; } foreach ( $checks as $check ) { $mark = ! empty( $check['success'] ) ? 'yes' : 'error'; ?>
: [?]'; ?>
: [?]'; ?>
: [?]'; ?> let_to_num( ini_get('post_max_size') ) ); ?>
: [?]'; ?> 0 && $time_limit < 180 ) { echo '' . sprintf( __( '%s - We recommend setting max execution time to at least 180. See: Increasing max execution to PHP', 'mfn-opts' ), $time_limit, 'http://codex.wordpress.org/Common_WordPress_Errors#Maximum_execution_time_exceeded' ) . ''; } else { echo '' . $time_limit . ''; } ?>
: [?]'; ?> ' . sprintf( __( '%s - Max input vars limitation will truncate POST data such as menus.', 'mfn-opts' ), $max_input_vars ) . ''; } else { echo '' . $max_input_vars . ''; } ?>
: [?]'; ?>
: [?]'; ?> db_version(); ?>
: [?]'; ?>
: [?]'; ?> ✕ ' . sprintf( __( 'Default timezone is %s - it should be UTC', 'mfn-opts' ), $default_timezone ) . ''; } else { echo ''; } ?>
:
: BeTheme
: