Make WordPress Core

Ticket #37572: 37572.diff

File 37572.diff, 534 bytes (added by Presskopp, 10 years ago)
  • wp-mail.php

     
    1212
    1313/** This filter is documented in wp-admin/options.php */
    1414if ( ! apply_filters( 'enable_post_by_email_configuration', true ) )
    15         wp_die( __( 'This action has been disabled by the administrator.' ) );
     15        wp_die( __( 'This action has been disabled by the administrator.' ), 403 );
    1616
    1717/**
    1818 * Fires to allow a plugin to do a complete takeover of Post by Email.