fix typo which introduced in #345

pull/550/head
n0099 2022-11-16 02:26:06 +08:00 committed by GitHub
parent 5ac0234c68
commit 561f4006e9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -248,7 +248,7 @@ if (kratos_option('g_removeimgsize', false)) {
add_filter('big_image_size_threshold', '__return_false');
// 媒体文件使用 md5 值重命名,指定文件前缀
add_filter('wp_handle_sideload_prefilter', 'custom_upload_perfilter');
add_filter('wp_handle_sideload_prefilter', 'custom_upload_filter');
add_filter('wp_handle_upload_prefilter', 'custom_upload_filter');
function custom_upload_filter($file)