Temper vs the WordPress Theme File Editor
How Temper compares with the Theme and Plugin File Editors built into WordPress: where edits go, how errors are caught, and how to undo a change.
WordPress ships with two file editors in wp-admin: the Theme File Editor and the Plugin File Editor. They open a file from an installed theme or plugin, let you change it, and save it straight back to the server. They come with every WordPress site, cost nothing and need no setup, so for a quick look at a file or a small fix on a site you can afford to touch, they do the job.
Temper is a plugin that also edits themes and plugins inside wp-admin, but it never writes to the installed files while you work. You edit a private working copy, preview it on the real site, and publish it when it's ready. Each publish keeps the version it replaced, so you can put it back in one click.
At a glance#
| WordPress File Editors | Temper | |
|---|---|---|
| Price | Included with WordPress | Free; Pro is a yearly licence |
| Where a save goes | The installed file, live | A private working copy |
| Error checks | Linting for CSS, JS, HTML and JSON; a fatal-error check on PHP saves | PHP syntax, JSON, theme.json, block.json, block markup and header checks on every save, and again on publish |
| Preview before visitors see it | No | Yes, on the real site, only for you |
| Undo a published change | No backups are kept | The previous version is kept as a snapshot |
| Starters for themes, blocks and patterns | No | Yes |
| AI help | No | AI chat with your own key; Pro adds MCP for Claude Code and Cursor |
| Git | No | Pro: GitHub and GitLab |
Turned off by DISALLOW_FILE_EDIT | Yes | Yes, unless TEMPER_IGNORE_FILE_EDIT is set |
Where your changes go#
When you click Update File in the WordPress editor, the change is written to the theme or plugin on the server. If the theme is active, visitors get it straight away. WordPress's own documentation advises caution with active theme and plugin files, and notes that the editor doesn't make backup copies.
Temper copies the theme or plugin to private storage the first time you open it, and every save goes there. Visitors, other users and wp-admin keep running the installed version. The Changes tab lists every file you've added, modified or deleted, and you can compare each one with live. See Working copies.
Catching errors#
Since WordPress 4.9, the file editors lint CSS, JavaScript, HTML and JSON, and check PHP saves for fatal errors. WordPress writes the change, then loads the site with a loopback request; if that hits a fatal error, it restores the original file and shows the error. If the loopback request can't complete, the edit is reverted too, and you're told to make the change over SFTP instead.
Temper checks a file before it's saved at all: PHP syntax with a full parse, JSON, the shape of theme.json and block.json, block comments in templates, and the Theme Name: or Plugin Name: header. A file with errors isn't saved, and the error points at the line. The same checks run again when you publish, and publishing code the site runs loads the home page before and after, putting the previous version back if the publish broke it. See Save checks and Publishing.
Seeing it before visitors do, and undoing it#
The WordPress editors have no preview: you see a change when the site does. Temper shows the front end with your working copy in place, only to you, in a pane beside the code or in its own tab. You can preview a theme that isn't active, and a plugin's working copy too. See Preview.
After you publish, the version it replaced is kept as a snapshot. Free Temper restores the last one; Pro restores any kept snapshot. See Snapshots and rollback.
Which to choose#
Use the WordPress File Editors when you need to read a file, or make a one-off change on a site where a mistake is cheap, and you don't want to install anything. They're already there.
Use Temper when the site matters and you want to see a change before visitors do, or when you're building a theme or plugin rather than patching one: it adds new files, starters, AI help with your own key, and a way back after every publish. Temper is free on any number of sites; Pro adds Git, MCP and full history (see Pro).
Either way, a change to a theme or plugin from WordPress.org is lost when it updates. Keep your changes in a child theme or your own plugin.