[wp-testers] [WP 3.1 beta] Post-by-mail settings?

Peter Westwood peter.westwood at ftwr.co.uk
Fri Dec 10 12:08:14 UTC 2010


On 10 Dec 2010, at 07:45, Andrew Nacin wrote:

> On Fri, Dec 10, 2010 at 2:43 AM, Frank Bueltge <frank at bueltge.de> wrote:
> 
>> T thnk its enough you define the constant in wp-config.php
>> define( 'POST_BY_EMAIL', TRUE );
>> 
>> from source:
>> if ( ! defined('POST_BY_EMAIL') || ! POST_BY_EMAIL ) // back compat
>> constant.
>>   add_filter( 'enable_post_by_email_configuration', '__return_false' );
>> 
> 
> Um, the source is pretty clear. It says back compat constant for a reason.
> Don't use it. Use the filter.
> 

Indeed. Define bad. Filter good :-)

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-testers mailing list