diff --git a/src/wp-admin/edit-form-advanced.php b/src/wp-admin/edit-form-advanced.php index b825284bdf..3dbbb6bd85 100644 --- a/src/wp-admin/edit-form-advanced.php +++ b/src/wp-admin/edit-form-advanced.php @@ -315,7 +315,7 @@ require_once('./admin-header.php');

cap->create_posts ) ) - echo ' ' . esc_html( $post_type_object->labels->add_new ) . ''; + echo ' ' . esc_html( $post_type_object->labels->add_new ) . ''; ?>

diff --git a/src/wp-admin/edit.php b/src/wp-admin/edit.php index 65fd03426a..3c5c125644 100644 --- a/src/wp-admin/edit.php +++ b/src/wp-admin/edit.php @@ -231,7 +231,7 @@ require_once('./admin-header.php');

labels->name ); if ( current_user_can( $post_type_object->cap->create_posts ) ) - echo ' ' . esc_html( $post_type_object->labels->add_new ) . ''; + echo ' ' . esc_html( $post_type_object->labels->add_new ) . ''; if ( ! empty( $_REQUEST['s'] ) ) printf( ' ' . __('Search results for “%s”') . '', get_search_query() ); ?>