We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
mailserver_url
1 parent 03e5c03 commit 061e878Copy full SHA for 061e878
wp-includes/version.php
@@ -4,7 +4,7 @@
4
*
5
* @global string $wp_version
6
*/
7
-$wp_version = '4.8-alpha-39760';
+$wp_version = '4.8-alpha-39772';
8
9
/**
10
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.
wp-mail.php
@@ -14,6 +14,12 @@
14
if ( ! apply_filters( 'enable_post_by_email_configuration', true ) )
15
wp_die( __( 'This action has been disabled by the administrator.' ), 403 );
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
+}
22
23
24
* Fires to allow a plugin to do a complete takeover of Post by Email.
25
0 commit comments