Duplicate "Pages" Item in Admin Menu

I'm registering the following post type:

register_post_type( 'post', array(
    'hierarchical' = true,
    'public'       = true
) );

Now I have duplicate "Pages" menu items in WordPress Admin Menu. It should be not "Pages" but rather "Posts".

In older versions of WordPress ( 4.4 ) everything was alright. Any suggestions to do the same? Most important is to make my posts hierarchical.

Topic admin-menu custom-post-types Wordpress

Category Web


I can only speculate onto why the labels are "Pages" and not "Posts" but I do know that post is on the list of reserved post types. The fact is that post is already registered by default as your normals Posts so you cannot re-register it. Here's a list of Default Post Types with their respective post type slugs.

What you want to do is actually create your own Custom Post Type. Steps to register Custom Post Type.

About

Geeks Mental is a community that publishes articles and tutorials about Web, Android, Data Science, new techniques and Linux security.