Make WordPress Core

Changeset 12855 for trunk/wp-mail.php


Ignore:
Timestamp:
01/26/2010 08:53:59 PM (14 years ago)
Author:
ryan
Message:

Integrate maybe_cancel_post_by_email() into wp-mail.php. see #11644

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-mail.php

    r11949 r12855  
    1010/** Make sure that the WordPress bootstrap has run before continuing. */
    1111require(dirname(__FILE__) . '/wp-load.php');
     12
     13if ( is_multisite() && ( !defined( 'POST_BY_EMAIL' ) || !POST_BY_EMAIL ) )
     14    die( __( 'This action has been disabled by the administrator' ) );
    1215
    1316/** Allow a plugin to do a complete takeover of Post by Email **/
Note: See TracChangeset for help on using the changeset viewer.