最新消息:雨落星辰是一个专注网站SEO优化、网站SEO诊断、搜索引擎研究、网络营销推广、网站策划运营及站长类的自媒体原创博客

posts - Taxonomy checkboxes not showing current status on edit page

programmeradmin0浏览0评论

Super strange thing happening on post pages, the Categories dropdown and checkboxes when clicked show no change, however after clicking save, or waiting for autosave the checkbox changes it's appearance to reflect.

Wnaything I've done here to make this happen or maybe a bug?

wordpress v5.2 – I renamed the post pages to News in functions.php as follows:

function change_post_menu_label() {
    global $menu;
    global $submenu;
    $menu[5][0] = 'News';
    $submenu['edit.php'][5][0] = 'News Items';
    $submenu['edit.php'][10][0] = 'Add News Item';
}
add_action( 'admin_menu', 'change_post_menu_label' );
发布评论

评论列表(0)

  1. 暂无评论