WordPress.org

Make WordPress Core

Ticket #37780: 37780.patch

File 37780.patch, 821 bytes (added by ramiy, 4 years ago)
  • wp-includes/post.php

     
    2020function create_initial_post_types() {
    2121        register_post_type( 'post', array(
    2222                'labels' => array(
    23                         'name_admin_bar' => _x( 'Post', 'add new on admin bar' ),
     23                        'name_admin_bar' => _x( 'Post', 'add new from admin bar' ),
    2424                ),
    2525                'public'  => true,
    2626                '_builtin' => true, /* internal use only. don't use this when registering your own post type. */
     
    3737
    3838        register_post_type( 'page', array(
    3939                'labels' => array(
    40                         'name_admin_bar' => _x( 'Page', 'add new on admin bar' ),
     40                        'name_admin_bar' => _x( 'Page', 'add new from admin bar' ),
    4141                ),
    4242                'public' => true,
    4343                'publicly_queryable' => false,