大网数据广告活动
网站运营与故障问答

Wordpress posts/pages stuck in "draft" mode with no "publish" option

· 52CE 我爱测

I've been trying to find the solution for this for a while but I can't seem to find anyone with the same issues. I have a local server running Ubuntu 16.04 with LAMP stack. Wordpress installed on 2 different "domains". One works,…

问题原文

原帖链接 · Gregory Smitherman · CC BY-SA 3.0

I've been trying to find the solution for this for a while but I can't seem to find anyone with the same issues.

I have a local server running Ubuntu 16.04 with LAMP stack. Wordpress installed on 2 different "domains". One works, the other doesn't.

The problem:

I make a post or a page and then "publish" but it stays as draft. Now, there is NO option in the dropdown for the status for "publish". The only options available are "draft" and "pending review".

I thought I was pretty familiar with Wordpress but this one is stumping me. Any ideas? Should I re-install (I hope not)?

已采纳解答

原帖链接 · Simon Hayter · CC BY-SA 4.0

Issues with the publish button normally occur when there is an issue with a plugin or theme you are using.

You will need to:

  • Disable all plugins and see if the publish button appears. If so, reactive one by one until you have found the one causing the issue.
  • Disable any custom theme and choose one that comes with WordPress. If so, you need to find out why the theme is causing you headaches.

More possible solutions:

  • Add a new administrator and login to that account then change ownership of the article and see if the publish button appears. If so then there is a problem with the user profile being damaged within the SQL.
  • Try a different browser and clear the session and cookies.

WordPress Stack:

If the problem is related to theme development, plugin development or anything else to do with WP programming codex then you will need to use the WordPress stack as programming is considered off-topic on Pro Webmasters. For example: Posts stuck as Drafts.

摘自公开归档,保留原文语言,版式经整理,外部媒体与邮箱地址已移除。

资料来源与适用范围

资料来源
Webmasters Stack Exchange
适用范围
以原帖系统、软件版本与发布日期为准(2017-01-08)
内容语言
中文;命令、路径和错误标识保留技术原文
本地收录日期
2026-11-15
授权说明
CC BY-SA 3.0 / CC BY-SA 4.0

正文与所需资源由本站本地存储。查看来源及更新记录 ↗

请按适用版本和实际日志确认原因;本站没有对每一种系统或设备逐项执行文中的操作。