admin管理员组文章数量:1026925
wp_publish_post()
function not work correct, because need to generate url and define author. Post added via User Frontend Pro plugin. Posting via admin panel works correct.
wp_publish_post()
function not work correct, because need to generate url and define author. Post added via User Frontend Pro plugin. Posting via admin panel works correct.
1 Answer
Reset to default 0When WordPress gives you errors such as that the post needs an author and permalink, it is best to figure out a way to provide these. Otherwise you are asking for trouble further down the line. You might find a way to force it, but it would be an uphill battle. WordPress is like a spiderweb of connections, and you would be severing several strands.
Your question sounds like it might be better directed at the creators of User Frontend Pro, as they are the ones who will be familiar with how the posts are being created and how that result is intended to fit into a workflow.
wp_publish_post()
function not work correct, because need to generate url and define author. Post added via User Frontend Pro plugin. Posting via admin panel works correct.
wp_publish_post()
function not work correct, because need to generate url and define author. Post added via User Frontend Pro plugin. Posting via admin panel works correct.
1 Answer
Reset to default 0When WordPress gives you errors such as that the post needs an author and permalink, it is best to figure out a way to provide these. Otherwise you are asking for trouble further down the line. You might find a way to force it, but it would be an uphill battle. WordPress is like a spiderweb of connections, and you would be severing several strands.
Your question sounds like it might be better directed at the creators of User Frontend Pro, as they are the ones who will be familiar with how the posts are being created and how that result is intended to fit into a workflow.
本文标签: How publish post from pending status
版权声明:本文标题:How publish post from pending status 内容由热心网友自发贡献,该文观点仅代表作者本人, 转载请联系作者并注明出处:http://it.en369.cn/questions/1745652177a2161383.html, 本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容,一经查实,本站将立刻删除。
发表评论