-
Notifications
You must be signed in to change notification settings - Fork 612
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
custom_upload_filter未注册wp_handle_sideload_prefilter导致文件名重命名功能无法与通过url上传图片类插件兼容 #345
Comments
Merged
seatonjiang
pushed a commit
that referenced
this issue
Nov 21, 2022
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
问题描述
rt
建议在https:/vtrois/kratos/blob/d6a4ecf5b70e8073d0b6a19312bb5a00d407cc1a/inc/theme-core.php#L212-L215
添加
add_filter('wp_handle_sideload_prefilter', 'custom_upload_perfilter');
环境信息
Kratos 版本:3.2.7
WordPress 版本:5.7
User Agent 信息:Mozilla/5.0 (Windows NT 6.3; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/91.0.4441.3 Safari/537.36
复现步奏
The text was updated successfully, but these errors were encountered: