【介绍】
WordPress是最为著名的CMS系统。
【加盐】
https://api.wordpress.org/secret-key/1.1/salt/
【排错】
当系统升级到 PHP7.3 ,日志中出现多个报错。
报错:PHP Warning: Use of undefined constant REQUEST_URI – assumed ‘REQUEST_URI’ (this will throw an Error in a future version of PHP) in /portal/functions.php on line 73
参考:https://theme-fusion.com/forums/topic/php-7-2-warning-request_uri-in-functions-php/
搜索:
$path = $_SERVER['HTTP_HOST'] . $_SERVER[REQUEST_URI];
替换为:
$path = $_SERVER['HTTP_HOST'] . $_SERVER['REQUEST_URI'];