wordpress的functions.php中的所需的部分代码分享
//自动改图片名
function custom_upload_filter( $file ){
$info = pathin...
设置IIS7文件上传的最大大小 maxAllowedContentLength,maxRequestLength
当上传一个超过30M的文件时,服务器会重定向至404.13页面,报错如下:
HTTP Err...
wordpress使用require_once(‘wp-load.php’);后时区晚8小时
在WordPress中,当你使用require_once('wp-load.php');来加载WordPress的核心功能...