Quantcast
Viewing latest article 3
Browse Latest Browse All 8

Quick Tip: Disallow File Editing on Client Dev Sites

If you’ve ever dealt with clients, you’ve probably also set up development sites to demonstrate plugins and/or themes.

One danger before receiving final payment is the person ripping off your code through the plugin/theme editor. While this is tedious to do, it is still a real and scary possibility.

To deactivate the plugin/theme editor, just add the following line into your dev site’s wp-config file:

define( 'DISALLOW_FILE_EDIT' , true );

That’s it. Simple and sweet. Hat tip to Brad Williams for the suggestion (here’s also the Trac discussion).

The post Quick Tip: Disallow File Editing on Client Dev Sites appeared first on WordPress and Ajax.


Viewing latest article 3
Browse Latest Browse All 8

Trending Articles