Changeset 39784 for branches/3.7/src/wp-mail.php
- Timestamp:
- 01/11/2017 05:20:28 AM (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/3.7/src/wp-mail.php
r25868 r39784 14 14 if ( ! apply_filters( 'enable_post_by_email_configuration', true ) ) 15 15 wp_die( __( 'This action has been disabled by the administrator.' ) ); 16 17 $mailserver_url = get_option( 'mailserver_url' ); 18 19 if ( 'mail.example.com' === $mailserver_url || empty( $mailserver_url ) ) { 20 wp_die( __( 'This action has been disabled by the administrator.' ), 403 ); 21 } 16 22 17 23 /** Allow a plugin to do a complete takeover of Post by Email **/
Note: See TracChangeset
for help on using the changeset viewer.