Enables the previous "classic" editor and the old-style Edit Post screen with TinyMCE, Meta Boxes, etc. Supports all…
About Export Themes
This plugin allows you to export your WordPress themes as a .zip file, which can then be used to install the same theme on other servers using the WordPress "upload" feature. After installing the plugin, simply go to the "Export" section in the "Appearance" menu, select the theme you want to export, and click the "Export" button. You can then download the .zip file and install it on another server by going to Appearance/Themes/Install Themes/Upload in your WordPress admin panel.Screenshots



Changelog
3.0.1
- Update the plugin URI to point at the plugin landing page.
3.0
- Compatible with WordPress 7.0 and PHP 8.
- Fixed: the plugin could not be activated at all on PHP 8. The activation hook pointed at
install_wpct, but the function is calledwpct_install_wpct; an invalid callback is a
fatal TypeError since PHP 8. - Fixed: exporting died with “Path cannot be empty”. The bundled PclZip library still used a
PHP 4 style constructor, which PHP 8 no longer treats as a constructor, so the archive name
was never set. Exports now use ZipArchive, and fall back to the maintained copy of PclZip
that ships with WordPress. - Fixed: removed the third argument of
define(), dropped in PHP 8. - Security: the export form had no nonce and no capability check on submit, so any logged-in
visitor could be made to trigger an export through a crafted request. Both are enforced now. - Security: the requested theme name was pasted straight into a filesystem path. It is now
validated against the list of installed themes. - Security: archives were written into the plugin’s own folder and served by redirect, which
left every export downloadable by anyone who guessed the URL. They are now built outside the
web root, streamed to the browser and deleted immediately. Activating this version also
deletes any archive left behind by an older one. - Removed:
session_start()andob_start()on every request, which broke page caching and
emitted notices. - Removed: the bundled 5,700 line copy of PclZip.
- Fixed: the theme list no longer comes from a hand-rolled
readdir()on a path guessed with
substr($_SERVER[‘SCRIPT_FILENAME’], 0, -19). It useswp_get_themes(), so themes in a
custom theme root are listed too, with their real names. - Fixed: all output is escaped, and the form no longer relies on PHP short open tags.
- Added: proper internationalisation with the
wp-clone-templatetext domain. - Added:
wpct_capabilityandwpct_should_skip_filefilters.
2.12
- Typo fixed
2.1
- Warning fixed
- Language functions added
2.0
- Security bug fixed
- Old zip files are automatically deleted
- Better session management
- 100% WP 4.0 Compatible
1.5
- Permisson problems fixed.
- Warnings added.
- Directory structure changed.
