Ticket #45098: 45098.6.diff
| File 45098.6.diff, 3.0 KB (added by , 7 years ago) |
|---|
-
src/wp-admin/edit.php
diff --git a/src/wp-admin/edit.php b/src/wp-admin/edit.php index d55c71c0e9..be61db1502 100644
a b $bulk_messages['page'] = array( 290 290 'trashed' => _n( '%s page moved to the Trash.', '%s pages moved to the Trash.', $bulk_counts['trashed'] ), 291 291 'untrashed' => _n( '%s page restored from the Trash.', '%s pages restored from the Trash.', $bulk_counts['untrashed'] ), 292 292 ); 293 $bulk_messages['wp_block'] = array( 294 'updated' => _n( '%s block updated.', '%s blocks updated.', $bulk_counts['updated'] ), 295 'locked' => ( 1 == $bulk_counts['locked'] ) ? __( '1 block not updated, somebody is editing it.' ) : _n( '%s block not updated, somebody is editing it.', '%s blocks not updated, somebody is editing them.', $bulk_counts['locked'] ), 296 'deleted' => _n( '%s block permanently deleted.', '%s blocks permanently deleted.', $bulk_counts['deleted'] ), 297 'trashed' => _n( '%s block moved to the Trash.', '%s blocks moved to the Trash.', $bulk_counts['trashed'] ), 298 'untrashed' => _n( '%s block restored from the Trash.', '%s blocks restored from the Trash.', $bulk_counts['untrashed'] ), 299 ); 293 300 294 301 /** 295 302 * Filters the bulk action updated messages. -
src/wp-includes/post.php
diff --git a/src/wp-includes/post.php b/src/wp-includes/post.php index 9f2a404b30..c9d1edbe67 100644
a b function create_initial_post_types() { 229 229 'wp_block', 230 230 array( 231 231 'labels' => array( 232 'name' => __( 'Blocks' ), 233 'singular_name' => __( 'Block' ), 234 'search_items' => __( 'Search Blocks' ), 232 'name' => _x( 'Blocks', 'post type general name' ), 233 'singular_name' => _x( 'Block', 'post type singular name' ), 234 'menu_name' => _x( 'Blocks', 'admin menu' ), 235 'name_admin_bar' => _x( 'Block', 'add new on admin bar' ), 236 'add_new' => _x( 'Add New', 'Block' ), 237 'add_new_item' => __( 'Add New Block' ), 238 'new_item' => __( 'New Block' ), 239 'edit_item' => __( 'Edit Block' ), 240 'view_item' => __( 'View Block' ), 241 'all_items' => __( 'All Blocks' ), 242 'search_items' => __( 'Search Blocks' ), 243 'not_found' => __( 'No blocks found.' ), 244 'not_found_in_trash' => __( 'No blocks found in Trash.' ), 245 'filter_items_list' => __( 'Filter blocks list' ), 246 'items_list_navigation' => __( 'Blocks list navigation' ), 247 'items_list' => __( 'Blocks list' ), 248 'item_published' => __( 'Block published.' ), 249 'item_published_privately' => __( 'Block published privately.' ), 250 'item_reverted_to_draft' => __( 'Block reverted to draft.' ), 251 'item_scheduled' => __( 'Block scheduled.' ), 252 'item_updated' => __( 'Block updated.' ), 235 253 ), 236 254 'public' => false, 237 255 '_builtin' => true, /* internal use only. don't use this when registering your own post type. */