[wp-hackers] "The Matrix Has You" easter egg

Peter Westwood peter.westwood at ftwr.co.uk
Fri Oct 22 15:17:13 UTC 2010


On 22 Oct 2010, at 15:56, Eric Mann wrote:

> +1 For a setting in wp-config.
> 
> define( 'EASTEREGGS', 'off' );
> 
> Then maybe an "eastereggs.php" file we can drop in that defined which ones
> we turn off.  That way it's not a wholesale all-off or all-on, but sites
> could pick and choose which ones they want to enable (for example, on some
> sites I'd definitely want the capital P feature but not the post revision
> comparison message ... on others I might want to remove both ... on others I
> might want to keep both and remove something else).
> 
> 

Extra wp-config.php defines are lame.

Much better to have a filter unless it can't be done that way (not true in this scenario)

Cheers
-- 
Peter Westwood
http://blog.ftwr.co.uk | http://westi.wordpress.com
C53C F8FC 8796 8508 88D6 C950 54F4 5DCD A834 01C5



More information about the wp-hackers mailing list