| 开发者 |
galpeaceman
bashari |
|---|---|
| 更新时间 | 2026年11月11日 04:24 |
| PHP版本: | 7.4 及以上 |
| WordPress版本: | 7.1.4 |
| 版权: | GPLv2 or later |
| 版权网址: | 版权信息 |
No. Dev Theme copies theme files only. Content, plugins, users and the database remain shared. Theme settings stored in the database are not synchronized between theme directory names.
An account with development preview enabled, or any browser with dev_theme=enabled. The cookie works without login and is not an access-control mechanism. Clear it and disable the profile setting to return to the main theme.
The default is 10 per destination; choose 1–50 in the dashboard. Older versions are removed only after a successful replacement of that destination. Existing legacy -bk folders are preserved but are not imported into the new history.
The copy is prepared and verified before replacement. A failed swap attempts to restore the previous directory. A recovery journal helps the next authorized operation recover an interrupted swap. If files no longer match the recorded versions, recovery stops and preserves them for inspection.
Yes. Dev Theme copies the active child theme and keeps using its original parent. Changes to the parent itself remain shared.
By default, in a dedicated randomized directory under wp-content. Prefer a directory outside the public web root using the dev_theme_backup_directory filter. On Nginx, explicitly deny HTTP access to backup and working directories. Configure exclusions in any cache that serves pages before WordPress loads.
Users need manage_options and edit_theme_options, and WordPress must allow file modifications. Multisite requires a Super Admin because theme files are shared across the network. Symbolic links and Windows junctions are not supported in theme copies.