• 每次访问这个页面时/wp-admin/index.php,数据库都会产生一个“自动草稿”,如果数据库里本身已经有一个“自动草稿”则不会再产生,这无形中会占用一些帖子ID资源,我觉得这是一个不好的现象。

Viewing 3 replies - 1 through 3 (of 3 total)
  • Moderator James Huff

    (@macmanx)

    This problem may be a plugin or theme conflict. Please attempt to deactivate all plugins and switch to the default Twenty Twenty-Four theme. If the problem goes away, re-activate them one by one to identify the source of the problem.

    If you can install plugins, install Health Check. On the troubleshooting tab, you can click the button to deactivate all plugins and change the theme for you while you’re still logged in without affecting normal visitors to your site.

    Thread Starter Cardno

    (@yurentt)

    我再次使用“ Twenty Twenty-Four”主题,进行了测试,并关闭了所有插件,问题依然存在。我在测试中发现,问题是由快速草稿功能引起的,在-后台-仪表盘-里,就算不勾选快速草稿功能,数据库里也会生成一个自动草稿,必须要用代码完全禁用才不会生成“自动草稿”

    function remove_quickdraft() {
    remove_meta_box('dashboard_quick_press', 'dashboard', 'side');
    }
    add_action('admin_init', 'remove_quickdraft');
    • This reply was modified 2 weeks, 4 days ago by Cardno.
    Moderator James Huff

    (@macmanx)

    Ok, please report this following the steps at https://make.www.ads-software.com/core/handbook/testing/reporting-bugs/

Viewing 3 replies - 1 through 3 (of 3 total)
  • You must be logged in to reply to this topic.