Make WordPress Core


Ignore:
Timestamp:
01/07/2010 01:29:40 AM (15 years ago)
Author:
ryan
Message:

Better POST_BY_EMAIL logic. Props Denis-de-Bernardy. fixes #11752

File:
1 edited

Legend:

Unmodified
Added
Removed
  • TabularUnified trunk/wp-includes/ms-functions.php

    r12622 r12623  
    24022402
    24032403function maybe_cancel_post_by_email() {
    2404     if ( false == defined( 'POST_BY_EMAIL' ) ) {
     2404    if ( !defined( 'POST_BY_EMAIL' ) || !POST_BY_EMAIL ) {
    24052405        die( __( 'This action has been disabled by the administrator' ) );
    24062406    }
Note: See TracChangeset for help on using the changeset viewer.