內容簡介
網站管理者可以透過 WordPress 外掛「Update History Panel」的更新面板,來追蹤 WordPress 核心、主題和外掛的更新記錄。更新歷程面板以適合審計的方式存儲更新的詳細資訊。此外,可以在儀表板的「更新」頁面上看到更新記錄,也可透過 REST API 檢索更新歷程紀錄。
HTML格式的問題與答案如下:
<ul>
<li>
<strong>外掛名稱:</strong> Update History Panel
</li>
<li>
<strong>更新內容:</strong> 這個外掛可記錄哪些項目的更新動作?
<br />
<strong>答案:</strong> WordPress 核心、主題和外掛
</li>
<li>
<strong>如何查看更新歷程面板的更新記錄?</strong>
<br />
<strong>答案:</strong> 在儀表板的「更新」頁面上
</li>
<li>
<strong>可以透過哪個 REST API 來檢索更新歷程紀錄?</strong>
<br />
<strong>答案:</strong> GET /wp-json/update-history-panel/v1/logs
</li>
<li>
<strong>為了安全原因,誰可以存取這個 REST API 端點?</strong>
<br />
<strong>答案:</strong> 預設需要有具有 update_core 能力的驗證使用者
</li>
</ul>
外掛標籤
開發者團隊
原文外掛簡介
Update History Panel keeps an audit-friendly log of updates performed via the WordPress admin update workflows:
WordPress Core
Themes
Plugins
The log is shown as a panel on the Dashboard → Updates screen and can also be retrieved via the REST API:
GET /wp-json/update-history-panel/v1/logs
For security reasons, the endpoint requires an authenticated user with the update_core capability by default.
