get_current_tab(); $daau_admin_tabs = $this->get_admin_tabs(); // phpcs:ignore WordPress.Security.NonceVerification.Recommended -- Read-only status from an authenticated admin redirect. $daau_rebuild_status = isset( $_GET['daau_rebuild'] ) ? sanitize_key( wp_unslash( $_GET['daau_rebuild'] ) ) : ''; // phpcs:ignore WordPress.Security.NonceVerification.Recommended -- Read-only status from an authenticated admin redirect. $daau_rebuild_file = isset( $_GET['daau_file'] ) ? sanitize_file_name( wp_unslash( $_GET['daau_file'] ) ) : ''; // phpcs:ignore WordPress.Security.NonceVerification.Recommended -- Read-only status from an authenticated admin redirect. $daau_rebuild_prev_file = isset( $_GET['daau_prev_file'] ) ? sanitize_file_name( wp_unslash( $_GET['daau_prev_file'] ) ) : ''; // phpcs:ignore WordPress.Security.NonceVerification.Recommended -- Read-only status from an authenticated admin redirect. $daau_rebuild_reason = isset( $_GET['daau_rebuild_reason'] ) ? sanitize_key( wp_unslash( $_GET['daau_rebuild_reason'] ) ) : ''; $daau_plugin_options = get_option( $this->plugin_name . '-options', array() ); $daau_current_file_name = ''; if ( is_array( $daau_plugin_options ) && isset( $daau_plugin_options[ $this->plugin_name . '-file-name' ] ) ) { $daau_current_file_name = sanitize_file_name( (string) $daau_plugin_options[ $this->plugin_name . '-file-name' ] ); } // Keep displayed key in sync with immediate rebuild feedback. if ( $daau_rebuild_status === 'success' && $daau_rebuild_file !== '' ) { $daau_current_file_name = $daau_rebuild_file; } ?>

'; esc_html_e( 'The Pro recovery interface could not be loaded. Reinstall or update the Pro add-on.', 'adunblocker' ); echo '

'; } ?>

plugin_name . '-general-settings-group' ); do_settings_sections( $this->plugin_name . '-general-settings-page' ); submit_button( 'Save Settings', 'primary' ); ?>

plugin_name . '-rebuild-assets', $this->plugin_name . '-rebuild-assets-nonce' ); ?>