Skip to content
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

change curl to wp_remote_post #142

Merged
merged 3 commits into from
Nov 26, 2019
Merged

Conversation

spirit1431007
Copy link
Collaborator

SM.MS图床上传测试未通过:Invalid file source

@spirit1431007 spirit1431007 added help wanted Extra attention is needed working on labels Nov 25, 2019
@mashirozx
Copy link
Owner

maybe this helps: http://codechutney.com/posting-file-using-wp_remote_post/

about binary file in form-data: https://www.jianshu.com/p/29e38bcc8a1d

@spirit1431007
Copy link
Collaborator Author

done

@spirit1431007 spirit1431007 removed help wanted Extra attention is needed working on labels Nov 26, 2019
@mashirozx
Copy link
Owner

可以顺便把header.php的curl提醒也删了

@spirit1431007
Copy link
Collaborator Author

ok了

@mashirozx mashirozx merged commit 8ffa252 into mashirozx:dev Nov 26, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants