exists( Logger::get_log_file_path() ) ) { $rocket_stats = Logger::get_log_file_stats(); if ( ! is_wp_error( $rocket_stats ) ) { // translators: %1$s = formatted file size, %2$s = formatted number of entries (don't use %2$d). $rocket_log_description .= sprintf( esc_html__( 'Files size: %1$s. Number of entries: %2$s.', 'rocket' ), '' . esc_html( $rocket_stats['bytes'] ) . '', '' . esc_html( $rocket_stats['entries'] ) . '' ); // translators: %1$s = opening tag, %2$s = closing tag. $rocket_log_description .= '
' . sprintf( esc_html__( '%1$sDownload the file%2$s.', 'rocket' ), '', '' ); // translators: %1$s = opening tag, %2$s = closing tag. $rocket_log_description .= ' - ' . sprintf( esc_html__( '%1$sDelete the file%2$s.', 'rocket' ), '', '' ); } } ?>

render_action_button( 'link', 'rocket_export', [ 'label' => __( 'Download settings', 'rocket' ), 'attributes' => [ 'class' => 'wpr-button wpr-button--icon wpr-button--small wpr-button--purple wpr-icon-chevron-down', ], ] ); ?>
render_import_form(); ?>


. printf( esc_html__( 'You can rollback to the previous major version here.%sThen send us a support request.', 'rocket' ), '
' ); ?>
render_action_button( 'link', 'rocket_rollback', [ // translators: %s = WP Rocket previous version. 'label' => sprintf( __( 'Reinstall version %s', 'rocket' ), WP_ROCKET_LASTVERSION ), 'attributes' => [ 'class' => 'wpr-button wpr-button--icon wpr-button--small wpr-button--red wpr-icon-refresh', ], ] ); ?>