前言介紹
- 這款 WordPress 外掛「Features」是 2013-06-26 上架。
- 目前有 60 個安裝啟用數。
- 上一次更新是 2014-04-08,距離現在已有 4044 天。超過一年沒更新,安裝要確認版本是否可用。以及後續維護問題!
- 外掛最低要求 WordPress 3.3 以上版本才可以安裝。
- 有 1 人給過評分。
- 還沒有人在論壇上發問,可能目前使用數不多,還沒有什麼大問題。
外掛協作開發者
klicher |
外掛標籤
vcs | backup | migrate | database | versioning |
內容簡介
一個受 Drupal 模組(Features 和 Strongarm)啟發的外掛,使 WordPress 中的選項版本控制成為可能。
一般的概念是將資料庫的大部分設置和結構內容匯出成檔案,以便通過 VCS(像 SVN、GIT、Mercurial)部署它們。
目前,唯一可匯出的設置是「wp-options」表的條目。
你需要這個外掛嗎?
如果你是唯一在進行網站開發的開發人員,只有一個開發環境 (產品伺服器)且不使用 VCS: 不需要,你只需要閉上眼睛,交叉雙手希望一切順利即可。
如何使用?
在管理員頁面中,在「工具」功能表下會有一個名為「Features」的新頁面。此頁面列出了 features_options_data.php 檔案中包含的所有設置。如果資料庫中的某個設置與檔案中的設置值不同,「還原」按鈕將可點擊,並且一個文本框會顯示來自資料庫的值。
如果您要用檔案中的值替換資料庫中的設置,請點擊「還原」按鈕。
如果要將檔案中的值替換成來自資料庫的值 (用於版本控制),請將文本框的內容複製到檔案中。
添加新的篩選選項
要從 wp_options 表添加新的選項,請使用 features_options 篩選器更改選項陣列:以列值作為鍵,以 option_value 列值作為值。
下一步是什麼?
這個外掛正在開發中。如果您知道自己在做什麼,可以使用它,而且至少會有升級路徑或手冊。
與 Features 一樣,目標是創建功能的外掛而不是手動編輯 plugin 中 features_options_data.php 檔案。
原文外掛簡介
A plugin inspired by Drupal’s modules (Features and Strongarm) that enable the versioning of options in WordPress.
The general idea is to export a maximum amount of settings and structural content of the database to files to be able to deploy them through VCS (like SVN, GIT, Mercurial).
For now, the only exportable settings are the entries of the “wp-options” table.
Do you need this?
If you’re the only developer working on you’re website, you’re having only one development environment (production server) and you do not use VCS: no, the only things you need is to close your eyes, cross your fingers and hope that everything go fine.
How to use it?
In the admin, a new page called Features is accessible under the Tools menu. This page list all the settings contain in your features_options_data.php file. If one of the setting in your database has not the same value of the one in the file, the Revert button will be accessible to click and a text field will show you the value from the database.
If you want to replace what is in the database with the value from the file, click the Revert button.
If you want to replace what is in the file with the value from the database (for versioning), copy the content of the text field to the file.
Add a new option to the filter
To add a new option from the wp_options table, use the features_options filter to alter the options array: column value as the key and the option_value column value as the value.
What’s next?
This plugin is under development. If you know what your doing, you can use it and there will be an upgrade path, at least, a manuel one.
Like Features, the goal would be to have plugins generation for features instead of manually edit the features_options_data.php file of the plugin.
各版本下載點
- 方法一:點下方版本號的連結下載 ZIP 檔案後,登入網站後台左側選單「外掛」的「安裝外掛」,然後選擇上方的「上傳外掛」,把下載回去的 ZIP 外掛打包檔案上傳上去安裝與啟用。
- 方法二:透過「安裝外掛」的畫面右方搜尋功能,搜尋外掛名稱「Features」來進行安裝。
(建議使用方法二,確保安裝的版本符合當前運作的 WordPress 環境。
延伸相關外掛(你可能也想知道)
Search Regex 》Search Regex 提供了強大的搜尋和替換函數,可用於 WordPress 文章、頁面、自定義文章類型等數據源的搜尋與替換,這些功能超越了標準搜尋功能,讓你可以搜尋...。
Optimize Database after Deleting Revisions 》這個外掛是一個「一鍵式」WordPress資料庫清理/優化器。, 主要功能, , 刪除文章、頁面和/或自訂文章類型的修訂版本(您可以選擇保留最近的「X」個修訂版本,...。
BackUpWordPress 》BackupWordPress 最初由 Human Made 團隊開發,現在已經有新的負責人。我們會一直支持開源與 WordPress,並且為 BackupWordPress 的粉絲們提供免費的支援。, ...。
Advanced Database Cleaner 》>, 透過刪除孤立的項目,例如「舊版本」、「垃圾註解」等進行數據庫清理、優化數據庫等操作,以及其他更多功能。, 如果您已經使用 WordPress 一段時間,那麼...。
Database Backup for WordPress 》立即備份您的資料庫、透過電子郵件發送備份,或設定備份自動執行。, Database Backup for WordPress 可以讓您快速備份 WordPress 核心資料庫表格,並將備份下...。
Go Live Update Urls 》一鍵更改網站網址, 這個外掛可以透過搜尋整個網站,把所有舊的網址取代成新的網址。這個功能通常用來更改網站網址。, 要獲得更多功能,如支援外掛建立的資料...。
Advanced Contact form 7 DB 》p>這是一個簡單易用的外掛程式,可儲存透過 Contact Form 7 表單收到的所有查詢詳細資料。只需安裝並啟用此外掛程式,就可以在 wp-admin 中存儲所有詢問。, ...。
WP-DBManager 》允許您優化資料庫、修復資料庫、備份資料庫、還原資料庫、刪除備份資料庫、刪除/清空資料表和運行選定查詢。支援自動備份、優化和修復資料庫的排程。, 一般使...。
WP phpMyAdmin 》[ ✅ 由 Puvox 提供的安全插件 ] :, , • 漏洞研究已驗證。, • 對網站不造成額外負載和減慢速度。, • 不會收集和分享私人資料。, , 外掛描述, 這是著名的...。
Better Find and Replace 》p>這個外掛提供了一個簡單的方式,可以搜尋目標字詞並且以你想要的字詞替換它。搜尋與替換的過程發生在網站在瀏覽器中呈現之前,不會影響到任何其他檔案或資...。
WPS Cleaner 》繁體中文, WPS Cleaner 外掛可完全清理您的 WordPress 網站,提供兩種方法:一鍵清理或逐項清理。, WPS Cleaner 可清理文章、評論、術語、選項、擴展、佈景主...。
Docket Cache – Object Cache Accelerator 》Docket Cache 是一個持久性的 WordPress 物件快取,以純 PHP 代碼的形式儲存。旨在為那些無法使用 Redis 或 Memcached 伺服器的人提供替代選擇。, 此外採用將...。
Advanced WordPress Reset – Debug, Recover & Reset WP 》注意:如果您要清除數據庫中的孤立的內容,請使用我們的插件:Advanced Database Cleaner。, 'Advanced WordPress Reset' 插件可重置和還原您的 WordPress 數...。
Search & Replace Everything by WPCode – Find and Replace Media, Text, Links, and More 》```html,
- ,
- WPCode 的 Search & Replace Everything 讓您可以直接從 WordPress 管理員有效管理網站的內容。這個工具對於網站遷移、...。
Plugins Garbage Collector (Database Cleanup) 》Database Cleanup 插件掃描數據庫並顯示超出核心 WordPress 安裝的表格。某些 WordPress 外掛會創建並使用自己的數據庫表格。, 這些表格通常在外掛停用和刪除...。