Browse Source

upgrading package: wordpress 5.3.2 -> 5.4

master
parent
commit
170d390d40
  1. 26
      wordpress/wordpress.patch
  2. 4
      wordpress/wordpress.spec

26
wordpress/wordpress.patch

@ -1,9 +1,9 @@
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']) )
--- wp-includes/canonical.php.orig 2020-04-01 23:33:40.806846000 +0200
+++ wp-includes/canonical.php 2020-04-01 23:36:34.882852000 +0200
@@ -437,6 +437,12 @@
$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
@ -11,17 +11,17 @@ Index: wp-includes/canonical.php
+ $redirect['port'] = 80;
+ $original['port'] = 80;
+
// Handle ports
if ( !empty($user_home['port']) )
// 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';
--- wp-mail.php.orig 2020-02-06 07:33:11.000000000 +0100
+++ wp-mail.php 2020-04-01 23:33:40.807331000 +0200
@@ -151,6 +151,7 @@
}
}
}
+ $post_status = 'draft';
$subject = trim($subject);
// Set $post_status based on $author_found and on author's publish_posts capability.
if ( $author_found ) {

4
wordpress/wordpress.spec

@ -31,8 +31,8 @@ Distribution: OpenPKG Community
Class: PLUS
Group: CMS
License: GPL
Version: 5.3.2
Release: 20191219
Version: 5.4
Release: 20200401
# list of sources
Source0: http://wordpress.org/wordpress-%{version}.tar.gz

Loading…
Cancel
Save