WordPress.org

Make WordPress Core

Changeset 13418


Ignore:
Timestamp:
02/25/10 22:06:10 (4 years ago)
Author:
westi
Message:

Switch from POST_BY_EMAIL constant to enable post-by-email when multisite to a filter. See #12381.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-mail.php

    r12855 r13418  
    1111require(dirname(__FILE__) . '/wp-load.php'); 
    1212 
    13 if ( is_multisite() && ( !defined( 'POST_BY_EMAIL' ) || !POST_BY_EMAIL ) ) 
    14     die( __( 'This action has been disabled by the administrator' ) ); 
     13if ( ! apply_filters( 'enable_post_by_email_configuration', true ) ) 
     14    wp_die( __( 'This action has been disabled by the administrator' ) ); 
    1515 
    1616/** Allow a plugin to do a complete takeover of Post by Email **/ 
Note: See TracChangeset for help on using the changeset viewer.