=== IV1 WP Tools ===
Contributors: intellivision1
Tags: backup, database cleanup, security, optimization, file monitor
Requires at least: 5.6
Tested up to: 7.0
Requires PHP: 7.4
Stable tag: 1.3.1
License: GPLv2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html

A powerful WordPress toolkit for backups, database optimization, file monitoring, and maintenance.

== Description ==

IV1 WP Tools is a comprehensive WordPress toolkit for maintenance, security, optimization, and backups.

The plugin combines powerful features such as file and database backups, database cleanup, WordPress hardening, file monitoring, and system analysis in one central admin interface.

Ideal for administrators, developers, agencies, and power users who want to keep their WordPress installation secure, clean, and performant.

= Why IV1 WP Tools? =

* Central management of key maintenance and security features
* Automatic backups with cron support
* File monitoring directly in the WordPress admin
* Database optimization and analysis tools
* One-click WordPress hardening
* Modern AJAX-based interface
* Built for small to large WordPress websites

= Backup & Restore =

* Separate backups for files (ZIP) and database (SQL)
* Manual or automatic cron backups
* Custom backup schedules
* FTP / FTPS upload for offsite storage
* Email notifications after successful backups
* Exclude rules for files and directories
* Backup download directly in the admin area
* Automatic deletion of old backups

= Database Optimization =

Clean up unnecessary or orphaned data:

* Post revisions
* Drafts and trashed content
* Spam comments
* Orphaned meta data
* Expired transients

= Table Analysis =

* Overview of all database tables
* Mapping tables to plugins
* Identification of orphaned tables
* Deletion of tables that are no longer needed

= Media Analysis =

* Scan for unused images in the media library
* Detection of potentially orphaned media
* Cleanup option

= File Monitor & Activity Log =

* Monitoring of WordPress core, plugins, and themes
* Baseline scan and file comparison
* WordPress core integrity check via checksums
* Activity log for login, logout, and security events
* Logging of plugin and theme activity

= Access Statistics (Pro) =

* Anonymous, aggregated page views per day
* Selectable evaluation period (7 / 30 / 90 days)
* Bar chart of daily visits
* Top pages list by page views
* Traffic source analysis: Google, Bing, Facebook, Instagram, X, LinkedIn, Pinterest, YouTube, TikTok, Reddit, AI chatbots, and more
* Your own admin visits and bots are excluded from the count

= WordPress Hardening & Performance =

23 security and performance options with one click:

* Disable XML-RPC
* Secure the REST API
* Hide the WordPress version
* Disable emojis
* Enable security headers
* Performance optimizations
* Disable unnecessary WordPress features

= Security =

* Two-factor authentication (TOTP) for administrators

= Developer & Maintenance Tools =

* **Error Log Viewer** – view, filter, and clear the WordPress debug log directly in the admin
* **Cron Job Manager** – view, manually run, or delete WP-Cron events
* **Options Cleanup** – analyze wp_options, detect large autoload entries, and clean up orphaned options
* **Custom CSS/JS Editor** – manage your own CSS and JavaScript directly in the WordPress admin
* **Debug Settings** – enable or disable WP_DEBUG and WP_DEBUG_LOG directly from the admin

= Pro Version =

The optional Pro version extends the plugin with additional features:

* Malware and security scanner
* Signature-based file scan
* Database malware analysis
* Upload directory check
* Severity classification
* Ignore lists for scans
* Restore of database backups
* Advanced backup options
* AJAX-based settings without page reload
* License management for multiple websites
* Extended usage for agencies and developers

== Installation ==

1. ZIP-Datei über **Plugins → Installieren → Plugin hochladen** installieren
2. Plugin aktivieren
3. Im Admin-Menü **IV1 WP Tools** öffnen
4. Gewünschte Funktionen konfigurieren

== Frequently Asked Questions ==

= Unterstützt das Plugin automatische Backups? =

Ja. Für Datei- und Datenbank-Backups können individuelle Zeitpläne eingerichtet werden. Die Ausführung erfolgt automatisch über WP-Cron.

= Kann ich Backups extern speichern? =

Ja. Backups können automatisch per FTP oder FTPS auf externe Server übertragen werden.

= Werden meine Daten bei der Bereinigung gelöscht? =

Die Datenbank-Bereinigung entfernt nur temporäre oder verwaiste Einträge wie Revisionen, Spam-Kommentare oder Transients. Veröffentlichte Beiträge und Seiten bleiben unberührt.

= Gibt es einen Malware-Scanner? =

Ja. Die Pro-Version enthält einen integrierten Sicherheits-Scanner zur Erkennung typischer Malware-Muster, Shell-Backdoors und verdächtiger Dateien.

= Ist das Plugin auch für große Websites geeignet? =

Ja. Durch getrennte Datei- und Datenbank-Backups sowie optimierte Prozesse eignet sich das Plugin auch für größere WordPress-Installationen.

== Third Party Libraries ==

Dieses Plugin enthält folgende externe Bibliothek:

PHPGangsta GoogleAuthenticator
https://github.com/PHPGangsta/GoogleAuthenticator

Diese Bibliothek implementiert eine TOTP-basierte Zwei-Faktor-Authentifizierung.

Lizenz: BSD License

== Changelog ==

= 1.3.2 =

* Bug Fix bei Tabellen Erkennung.

= 1.3.1 =

* Code Bereinigung für WordPress Plugin Directory.

= 1.3.0 =

* Neuer Tab "Access Statistics" (Pro): tägliche Seitenaufrufe, Balkendiagramm und Top-Seiten-Auswertung
* Automatische Bereinigung alter Statistikdaten nach 180 Tagen

= 1.2.1 =

* WP-Settings erweitert: neue Optionen für E-Mail-Login, Login-Fehler-Redirect, Enfold AJAX-Suche, font-display: swap und optionales Blockieren von wp_mail().

= 1.2.0 =

* UI/UX-Optimierungen
* Neue Übersetzungen
* Verbesserte Admin-Navigation
* Optimierte Performance

= 1.1.7 =

* Neuer Sicherheits-Scanner (Pro)
* Datei-Scan auf Malware-Signaturen
* Upload-Verzeichnis-Prüfung
* Datenbank-Malware-Scan
* Ignoreliste für Scans

= 1.1.6 =

* UI/UX-Optimierungen
* Neue Übersetzungen

= 1.1.5 =

* Neuer File Monitor
* WordPress-Core-Integritätsprüfung
* Neues Activity Log System
* AJAX-basierte Log-Anzeige

= 1.1.4 =

* Neuer Custom CSS/JS Editor
* CodeMirror-Integration mit Syntax-Highlighting
* CSS- und JS-Verwaltung direkt im Admin

= 1.1.3 =

* Neuer Debug Settings Bereich
* WP_DEBUG und WP_DEBUG_LOG direkt verwalten
* Verbesserte Optionsbereinigung

= 1.1.2 =

* Neuer Error Log Viewer
* Neuer Cron Job Manager
* Neues Options Cleanup Tool
* Optimierte Backup-Einstellungen
* Vollständige Übersetzungen

= 1.1.1 =

* Verbesserte Benutzeroberfläche
* Optimierte Statusmeldungen
* Vorbereitung für Pro-Funktionen

= 1.1.0 =

* Datenbank-Wiederherstellung
* Verbesserte AJAX-Speicherung
* Erweiterte Übersetzungen

= 1.0.2 =

* AJAX-basierte Speicherung der Einstellungen
* Schnellere Bedienung
* Diverse Bugfixes

= 1.0.1 =

* Zwei-Faktor-Authentifizierung (TOTP) hinzugefügt

= 1.0.0 =

* Erstveröffentlichung von IV1 WP Tools

== Upgrade Notice ==

= 1.3.11 =

Access Statistics trackt jetzt dauerhaft per JS-Beacon – sicher bei aktivem Cache-Plugin (WP Rocket, LiteSpeed Cache u.a.) oder CDN.

= 1.3.10 =

Kleiner CSS-Fix: unnötiger vertikaler Scrollbalken im Access-Statistics-Diagramm entfernt.

= 1.3.9 =

Access Statistics: Tracking läuft wieder ohne JavaScript-Umweg direkt über PHP.

= 1.3.8 =

Wichtiger Bugfix: Access Statistics speicherte auf WordPress-Versionen älter als 6.2 keine Zugriffe (Tabellenname-Platzhalter-Problem in $wpdb->prepare()).

= 1.3.7 =

Wichtiger Bugfix: Access-Statistics-Tabellen werden jetzt auch bei reinen Datei-Updates (ohne Deaktivieren/Aktivieren) zuverlässig angelegt.

= 1.3.6 =

Wichtiger Bugfix: Access Statistics zeigte durch einen Zeitzonen-Fehler in der Datumsberechnung teils keine Daten an, obwohl diese erfasst wurden.

= 1.3.5 =

Access Statistics Beacon liefert jetzt eine Debug-Antwort mit Abbruchgrund statt stillem Fehlschlag.

= 1.3.4 =

Access Statistics: Beacon-Request nutzt jetzt fetch() als primäre Methode (leichter zu debuggen als sendBeacon).

= 1.3.3 =

Access Statistics: Tracking läuft jetzt cache-sicher über einen Footer-Beacon statt über PHP-Hook. Wichtig bei aktivem Full-Page-Cache.

= 1.3.2 =

Access Statistics zeigt nun jeden Referrer-Host einzeln statt nur zusammengefasste Netzwerke.

= 1.3.1 =

Access Statistics erkennt jetzt auch die Traffic-Quelle (Google, Facebook, Instagram, X, LinkedIn u.a.) je Seitenaufruf.

= 1.3.0 =

Neuer Access-Statistics-Tab (Pro): tägliche Seitenaufrufe als Diagramm und Top-Seiten-Auswertung.

= 1.2.1 =

WP-Settings erweitert: neue Optionen für E-Mail-Login, Login-Fehler-Redirect, Enfold AJAX-Suche, font-display: swap und optionales Blockieren von wp_mail().

= 1.2.0 =

UI/UX-Optimierungen, neue Übersetzungen und verbesserte Performance.

= 1.1.7 =

Neue Sicherheits-Scanner-Funktionen in der Pro-Version.

= 1.1.5 =

Neuer File Monitor und Activity Log zur Überwachung von Dateien und Sicherheitsereignissen.

= 1.1.4 =

Neuer CSS/JS Editor zur Verwaltung von benutzerdefiniertem Code direkt im Adminbereich.

= 1.1.3 =

WP_DEBUG und WP_DEBUG_LOG direkt im Admin verwalten.

= 1.1.2 =

Neue Wartungs-Tools: Error Log Viewer, Cron Job Manager und Options Cleanup.

= 1.1.0 =

Neue Restore-Funktion für SQL-Backups und verbesserte AJAX-Verarbeitung.

= 1.0.1 =

Neue Sicherheitsfunktion: Zwei-Faktor-Authentifizierung (TOTP).