You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

27 lines
905 B

Index: wp-includes/canonical.php
--- wp-includes/canonical.php.orig 2017-10-24 16:18:48.000000000 +0200
+++ wp-includes/canonical.php 2017-11-16 09:06:41.351374000 +0100
@@ -383,6 +383,12 @@
if ( empty($user_home['path']) )
$user_home['path'] = '/';
+ // SHAMELESS HACK TO MAKE WORDPRESS THINK IT IS RUNNING UNDER PORT 80
+ // TO FIX THE URL TROUBLE WITH THE USUAL FRONTEND APACHE WEBSERVER! --rse
+ $user_home['port'] = 80;
+ $redirect['port'] = 80;
+ $original['port'] = 80;
+
// Handle ports
if ( !empty($user_home['port']) )
$redirect['port'] = $user_home['port'];
Index: wp-mail.php
--- wp-mail.php.orig 2017-01-11 06:13:43.000000000 +0100
+++ wp-mail.php 2017-11-16 09:06:41.351966000 +0100
@@ -152,6 +152,7 @@
// Author not found in DB, set status to pending. Author already set to admin.
$post_status = 'pending';
}
+ $post_status = 'draft';
$subject = trim($subject);