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

Andrew Nacin wp at andrewnacin.com
Fri Dec 10 07:45:00 UTC 2010


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.


More information about the wp-testers mailing list