-
-
- count ),
- \number_format( ( $result->autoload_size / 1024 ), 1 )
- );
- ?>
-
-
-
-
-
-
+
+
+
+
+
+
+
-
-
+
+
+
+
-
-
-
@@ -375,8 +456,85 @@ public function render_admin_page_ajax() {
+
+
+
+
+ render_settings_tab( $option_optimizer, $result ); ?>
+
+
+
+ $option_optimizer The option optimizer data.
+ * @param object $result The database query result with current stats.
+ *
+ * @return void
+ */
+ private function render_settings_tab( $option_optimizer, $result ): void {
+ $settings = self::get_settings();
+
+ // Check if settings were saved.
+ // phpcs:ignore WordPress.Security.NonceVerification.Recommended -- Nonce check not needed here.
+ if ( isset( $_GET['settings-updated'] ) ) {
+ ?>
+
+ count ),
+ \number_format( ( $result->autoload_size / 1024 ), 1 )
+ );
+ ?>
+
+
+