
內容簡介
這個外掛(工具 -> 磁盤使用)一次顯示 WordPress 安裝中的所有文件。這些文件顯示在所謂的「太陽輪圖」中。圖表的每個弧都是一個目錄或文件。將滑鼠移到弧上,即可查看文件或目錄的大小。弧越大,文件/目錄也越大。
這非常有用,可幫助您確定 WordPress 安裝中的最大文件!
單擊弧可進行縮放,單擊圓圈可再次縮小。
有問題嗎?給我們發電子郵件:wp-dev (at) raidboxes.de
感謝
感謝 Mike Bostock 提供了偉大的「d3js」:http://d3js.org
感謝 Mike Bostock 提供了令人驚嘆的「可縮放太陽輪圖」實現:http://bl.ocks.org/mbostock/4348373
感謝 Jeffrey Sambells 提供了「使用 PHP 進行人性化文件大小格式轉換」:http://jeffreysambells.com/2012/10/25/human-readable-filesize-php
外掛標籤
開發者團隊
📦 歷史版本下載
原文外掛簡介
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 Usage in 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)
Questions? Contact us: support (at) raidboxes.de
Thanks
Thanks to Mike Bostock for his great “d3js”: http://d3js.org
Thanks to Mike Bostock for his awesome “Zoomable Sunburst” implementation: http://bl.ocks.org/mbostock/4348373
Thanks to Jeffrey Sambells for his “Human Readable File Size with PHP”: http://jeffreysambells.com/2012/10/25/human-readable-filesize-php
