WordPress5.3.2 manually upgrade

WordPress 5.3.1 released soon after, I received some relatively serious problem feedback, so in a relatively short period of time on the official WordPress released WordPress 5.3.2, fixes the following five main issues:

  1. Date / Time: Ensure get_feed_build_date () to correctly handle the revised version of the article has an invalid target date.
  2. Upload: Fixed wp_unique_filename () when it is not case-sensitive file system, upload a file extension of capital, issue the file name conflicts.
  3. Media: Repair wp_unique_filename () PHP warning when the target directory unreadable.
  4. Management background: All the color scheme to repair .active class button's color.
  5. Article, the article type: in wp_insert_post () function, to set the check date of the article or publish future state, using the appropriate diff.

Domestic auto-update will update fails due to various problems:

  1. 429 Too Many Requests
  2. Download curl timeout upgrade WordPress
Warning: 发生了预料之外的错误。WordPress.org或是此服务器的配置可能出了一些问题。如果您持续遇到困难,请试试支持论坛。 (WordPress无法建立到WordPress.org的安全连接,请联系您的服务器管理员。) in /var/www/html/wp-admin/includes/update.php on line 139
正在从https://downloads.wordpress.org/release/zh_CN/wordpress-5.3.2.zip下载更新…

下载失败。: cURL error 28: Operation timed out after 300000 milliseconds with 1425003 out of 13427353 bytes received

安装失败

Here manually updating step

  • Backup
  • download
  • Update
  • an examination

The original site data backup can be rolled back when the update fails

[root@wordpross webdata]# cp -a www/ www20191224
[root@wordpross webdata]# ls
db  www  www20191224

Download decompress set permissions

[root@wordpross ~]# wget  https://downloads.wordpress.org/release/zh_CN/wordpress-5.3.2.zip
[root@wordpross ~]# unzip wordpress-5.3.2.zip
[root@wordpross ~]# chown 33:tape wordpress -R

wp-admin and wp-includes directories under another directory files intact delete the original site

[root@wordpross www]# pwd
/webdata/www
[root@wordpross www]# ls
index.php          wp-blog-header.php     wp-cron.php        wp-settings.php
license.txt        wp-comments-post.php   wp-includes        wp-signup.php
readme.html        wp-config.php          wp-links-opml.php  wp-trackback.php
wordfence-waf.php  wp-config.php20181119  wp-load.php        xmlrpc.php
wp-activate.php    wp-config-sample.php   wp-login.php
wp-admin           wp-content             wp-mail.php
[root@wordpross www]# rm -rf wp-admin/ 
[root@wordpross www]# rm -rf wp-includes/
[root@wordpross www]# ls
index.php          wp-blog-header.php     wp-content         wp-mail.php
license.txt        wp-comments-post.php   wp-cron.php        wp-settings.php
readme.html        wp-config.php          wp-links-opml.php  wp-signup.php
wordfence-waf.php  wp-config.php20181119  wp-load.php        wp-trackback.php
wp-activate.php    wp-config-sample.php   wp-login.php       xmlrpc.php

Under the new version into the directory wordpress wp-content directory and delete the files and other directories covering the original site

[root@wordpross www]# cd /root/wordpress/
[root@wordpross wordpress]# rm -rf wp-content/ 
[root@wordpross wordpress]# ls
index.php        wp-admin              wp-cron.php        wp-login.php     wp-trackback.php
license.txt      wp-blog-header.php    wp-includes        wp-mail.php      xmlrpc.php
readme.html      wp-comments-post.php  wp-links-opml.php  wp-settings.php
wp-activate.php  wp-config-sample.php  wp-load.php        wp-signup.php
[root@wordpross wordpress]# mv * /webdata/www/
mv: overwrite ‘/webdata/www/index.php’? y
mv: overwrite ‘/webdata/www/license.txt’? y
mv: overwrite ‘/webdata/www/readme.html’? y
mv: overwrite ‘/webdata/www/wp-activate.php’? y
mv: overwrite ‘/webdata/www/wp-blog-header.php’? y
mv: overwrite ‘/webdata/www/wp-comments-post.php’? y
mv: overwrite ‘/webdata/www/wp-config-sample.php’? y
mv: overwrite ‘/webdata/www/wp-cron.php’? y
mv: overwrite ‘/webdata/www/wp-links-opml.php’? y
mv: overwrite ‘/webdata/www/wp-load.php’? y
mv: overwrite ‘/webdata/www/wp-login.php’? y
mv: overwrite ‘/webdata/www/wp-mail.php’? y
mv: overwrite ‘/webdata/www/wp-settings.php’? y
mv: overwrite ‘/webdata/www/wp-signup.php’? y
mv: overwrite ‘/webdata/www/wp-trackback.php’? y
mv: overwrite ‘/webdata/www/xmlrpc.php’? y

Check the site

https://minminmsn.com/wp-admin/upgrade.php

No need to upgrade
your WordPress database is already up to date!

carry on

Guess you like

Origin blog.51cto.com/jerrymin/2461250