內容簡介
**總結:**
Fullworks Support Diagnostics 透過自動收集診斷資訊和提供強大的除錯工具,使外掛開發人員更容易排解問題。它能發現已安裝的外掛並提供外掛特定診斷資料收集的框架。請留意,僅在外掛支援人員指示下才啟用此外掛用於診斷目的。
**問題與答案:**
1. Fullworks Support Diagnostics 主要提供哪些功能?
- 自動發現外掛
- 收集 WordPress 環境資訊
- 安全修改 debug 常數和自動備份
- 掃描網站中使用的 shortcode
- 整合 Freemius,獲取授權狀態和 Freemius 狀態
- 提供 REST API 進入端點,使用臨時訪問連結進行安全遠程診斷
- 保護敏感數據,掩碼 API 金鑰和其他機密信息
- 監控並顯示最近的日誌條目
2. 如何安全管理 debug 常數?
- 點擊一下即可啟用/停用 WordPress 偵錯
- 在進行任何修改之前自動備份 wp-config.php
- 使用註釋區塊清晰標記所有更改以便易辨識
- 在停用功能時安全移除所有修改
- 監視最近的日誌條目
3. 關於安全性方面的注意事項有哪些?
- 所有 wp-config.php 修改都需要明確的管理員確認
- 可隨時重新生成訪問金鑰
- 臨時訪問連結在24小時後到期
- API 金鑰和敏感數據在診斷報告中被掩碼
- 如果不需要,可以停用 REST API 進入端點
4. 站點擁有人應如何使用 Fullworks Support Diagnostics?
- 只有在支援人員指示下安裝
- 到 WordPress 管理員中的「工具」→「外掛支援診斷」
- 如果有指示,啟用 debug 管理並選取適當的 debug 常數
- 點擊「生成診斷資料」
- 使用以下其中一種方法將診斷資訊分享給支援人員:
- 複製到剪貼簿
- 下載為 JSON
- 使用臨時直接訪問連結(有效期為24小時)
- 當排解問題完成後,請停用任何 debug 選項並考慮停用外掛
5. 外掛開發人員應如何讓他們的外掛與 Support Diagnostics 兼容?
- 在外掛的根目錄中創建一個 support-config.json 文件
- 可參考外掛中包含的 example-support-config.json 文件。
外掛標籤
開發者團隊
② 後台搜尋「Fullworks Support Diagnostics」→ 直接安裝(推薦)
原文外掛簡介
Fullworks Support Diagnostics makes it easier for plugin developers to troubleshoot issues by automatically collecting diagnostic information and providing powerful debugging tools. It discovers installed plugins and provides a framework for plugin-specific diagnostic data collection.
This plugin should only be activated when instructed by plugin support personnel for diagnostic purposes.
Key Features
Automatic plugin discovery – Detects compatible plugins with support-config.json files
System information collection – Gathers essential WordPress environment data
wp-config.php debug management – Safely modify debug constants with automatic backups
Shortcode scanning – Identifies shortcodes used across your site
Freemius integration – Collects license status and Freemius state for premium plugins
REST API endpoints – Allows secure remote diagnostics with temporary access links
Sensitive data protection – Masks API keys and other confidential information
Debug log monitoring – Checks and displays the most recent log entries
Debug Management
The plugin can safely manage debug constants in wp-config.php:
Enable/disable WordPress debugging with a single click
Automatically creates backups of wp-config.php before any modifications
Clearly marks all changes with comment blocks for easy identification
Safely removes all modifications when the feature is disabled
Monitors debug log files for recent entries
Security Considerations
All wp-config.php modifications require explicit admin confirmation
Access keys can be regenerated at any time
Temporary access links expire after 24 hours
API keys and sensitive data are masked in diagnostic reports
REST API endpoint can be disabled if not needed
Usage Instructions
For Site Owners
Only install when directed by support personnel
Go to Tools → Plugin Support Diagnostics in your WordPress admin
If instructed, enable debug management and select appropriate debug constants
Click “Generate Diagnostic Data”
Share the diagnostic information with support using one of these methods:
Copy to clipboard
Download as JSON
Use the temporary direct access link (valid for 24 hours)
When troubleshooting is complete, disable any debug options and consider deactivating the plugin
For Plugin Developers
To make your plugin compatible with Support Diagnostics, create a support-config.json file in your plugin’s root directory. See the example-support-config.json file included in the plugin for reference.
