Beschreibung
Disk Usage Sunburst 2.0 is a completely modernized WordPress plugin that visualizes your site’s disk usage through an interactive sunburst chart. Quickly identify large files and directories that may be consuming valuable storage space on your WordPress installation.
✨ New in Version 2.0
- Modern Architecture: Complete rewrite with object-oriented PHP and PSR-4 autoloading
- Enhanced Security: Proper nonce validation, capability checks, and input sanitization
- Performance Optimized: Timeout protection, memory management, and intelligent caching
- D3.js v7: Upgraded to the latest D3.js version with smooth animations and mobile support
- REST API: Full REST API endpoints for developers and external integrations
- Better UX: Responsive design, progress indicators, and detailed error reporting
- Export Options: Export charts as PNG, SVG, or raw JSON data
- WordPress 6.9+ Ready: Tested with the latest WordPress versions
🎯 Key Features
- Interactive Sunburst Chart: Click to zoom in/out through your directory structure
- Real-time Tooltips: Hover for detailed file/directory information
- Performance Settings: Configurable limits for large installations
- Cache Management: Smart caching with manual cache clearing options
- Multisite Compatible: Works seamlessly on WordPress multisite networks
- Developer Friendly: Action hooks, filters, and REST API endpoints
- Accessibility: Keyboard navigation and screen reader support
🔧 Technical Requirements
- WordPress 5.0 or higher
- PHP 7.4 or higher
- Modern browser with SVG support
🎨 How to Use
- Navigate to
Tools->Disk Usagein your WordPress admin - Click „Start Scan“ to analyze your installation
- Interact with the sunburst chart:
- Click on any arc to zoom into that directory
- Click the center circle to zoom back out
- Hover over arcs to see detailed information
- Use keyboard: ESC to zoom out, Home to return to root
🔌 Developer Features
- REST API endpoints at
/wp-json/disk-usage/v1/ - Action hooks:
rbdusb_scan_completed,rbdusb_scan_error - Filter hooks:
rbdusb_exclude_paths,rbdusb_scan_results - WP-CLI support (coming soon)
Fragen? Schreibe mir gerne an marcel (at) raidboxes.de
Danke
Dank an Mike Bostock für sein großartiges d3js“: http://d3js.org
Dank an Mike Bostock für seine tolle „Zoomable Sunburst“-Implementierung: http://bl.ocks.org/mbostock/4348373
Danke an Jeffrey Sambells für sein „Human Readable File Size with PHP“: http://jeffreysambells.com/2012/10/25/human-readable-filesize-php
Installation
- Lade
disk-usage-sunburst.zipin das Plugin-Verzeichnis/wp-content/plugins/hoch. - Aktiviere das Plugin in WordPress über das Menü ‚Plugins‘
- Sehe es in Aktion unter
Werkzeuge->Disk Usage!
FAQ
-
Wo ist es?
-
Nach der Aktivierung findest du das Plugin unter
Werkzeuge->Disk Usage -
Funktioniert dieses Plugin in einer WordPress-Multisite?
-
Ja, seit 1.1 ist dies der Fall. Hinweis: Aus Datenschutzgründen musst du ein Super-Administrator sein, um dies in einer Multisite zu benutzen.
-
Ladebalken verschwindet nicht
-
Im unwahrscheinlichen Fall, dass dieses Plugin die Größe aller WordPress-Dateien nicht erkennt, überprüfe bitte, ob es eine PHP max execution time in deinem WordPress gibt und erhöhe diese.
Rezensionen
Mitwirkende und Entwickler
„Disk Usage Sunburst“ ist Open-Source-Software. Folgende Menschen haben an diesem Plugin mitgewirkt:
MitwirkendeÜbersetze „Disk Usage Sunburst“ in deine Sprache.
Interessiert an der Entwicklung?
Durchstöbere den Code, sieh dir das SVN-Repository an oder abonniere das Entwicklungsprotokoll per RSS.
Änderungsprotokoll
2.0.0
- MAJOR UPDATE: Complete plugin rewrite with modern architecture
- New: Object-oriented PHP with PSR-4 autoloading and namespacing
- New: Enhanced security with proper nonces, capability checks, and input sanitization
- New: Performance optimizations – timeout protection, memory management, intelligent caching
- New: Upgraded to D3.js v7 with smooth animations and mobile responsiveness
- New: REST API endpoints for developers (
/wp-json/disk-usage/v1/) - New: Export functionality (PNG, SVG, JSON)
- New: Progress indicators and detailed error reporting
- New: Responsive design with accessibility improvements
- New: Developer hooks and filters for extensibility
- New: Comprehensive test suite with PHPUnit
- Improved: Better multisite compatibility with network admin integration
- Improved: Modern WordPress compatibility (tested up to 6.5)
- Improved: Enhanced user interface with better controls and statistics
- Fixed: All security vulnerabilities and performance issues from v1.x
- Requires: WordPress 5.0+, PHP 7.4+
1.1.8
- Fix: added missing readme.txt changes
1.1.7
- Fix: removing trunk/ folder from plugin source code
1.1.6
- Update: Successfully tested up to WordPress 6.1.1
1.1.5
- Aktualisierung: RAIDBOXES zu raidboxes umbenannt
1.1.3
- Aktualisierung: Falsche svn trunk commits korrigiert
1.1.1
- Aktualisieren: Ungenutzte Ressourcen entfernt
1.1
- Code-Überarbeitung, um es effizienter zu machen und nur Ressourcen auf der Plugin-Seite zu laden
- Das Plugin multisite-fähig gemacht (Dank an @shawfactor für seine Idee)
- Erfolgreich getestet bis zu WordPress 5.7
1.0.9
- Aktualisierung: Erfolgreich getestet bis zu WordPress 5.3
1.0.8
- Aktualisierung: Erfolgreich getestet bis zu WordPress 5.1.1
1.0.7
- Update: erfolgreich bis WordPress 4.8.2 getestet
1.0.6
- Aktualisierung: erfolgreich getestet bis WordPress 4.7.1
1.0.5
- Tip: falls nichts angezeigt wird, erhöhe dein PHP Time Limit … Das Plugin wird weiter gepflegt!
1.0.4
- Bug behoben: Browser ohne SVG-Unterstützung zeigten nichts an. Jetzt gibt es eine schöne rote Fehlermeldung 😉
1.0.3
- Bug behoben: Anzeige einer Fehlermeldung, falls das Berechnen der Dateigröße fehlschlägt
1.0.2
- Bug behoben: short array syntax umgewandelt in long array syntax um PHP-Versionen < 5.4.0 zu unterstützen (Dank an websupporter, https://wordpress.org/support/topic/parse-error-syntax-error-unexpected-146)
1.0.1
- Code verbessert: der Aufruf von add_submenu_page erfordert nun die Berechtigungsstufe „administrator“ anstatt des Codes „10“ (thanks to doume, https://wordpress.org/support/topic/v100-deprecated-argument-in-function-call)
- User-Interface-Verbesserung: Tooltip folgt dem Mauscursor, wenn die Maus bewegt wird.
- Bug behoben: Die Distanz zwischen tooltip und Maus Kursor war abhängig von der Scroll-Position.
1.0.0
- Erste Version

