Make WordPress Core

Ticket #58887: 58887.diff

File 58887.diff, 556 bytes (added by khokansardar, 3 years ago)

Patch added. Thanks.

  • src/wp-includes/post.php

    diff --git src/wp-includes/post.php src/wp-includes/post.php
    index 22a37683ea..32ef33cb0b 100644
    function create_initial_post_types() { 
    307307                        '_builtin'              => true, /* internal use only. don't use this when registering your own post type. */
    308308                        'show_ui'               => true,
    309309                        'show_in_menu'          => false,
     310                        'show_in_admin_bar'     => true,
    310311                        'rewrite'               => false,
    311312                        'show_in_rest'          => true,
    312313                        'rest_base'             => 'blocks',