m2w
m2w copied to clipboard
关于文章头信息的status值为draft时候的更新失败问题
如果文章头信息的status
是draft
值, 则在后续更新的时候会报错FAILURE to find the post. Please check your User Configuration and the title in your WordPress.
经过排查是get_all_articles
方法在获取文章的时候, 只能获取到已经发布的(publish
)的文章, 于是报错了.