WordPress.org

Make WordPress Core


Ignore:
Timestamp:
10/31/2018 11:34:01 AM (2 years ago)
Author:
danielbachhuber
Message:

Blocks: Include necessary labels for the 'wp_block' post type.

See #45098

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/5.0/src/wp-admin/edit.php

    r43804 r43849  
    291291    'untrashed' => _n( '%s page restored from the Trash.', '%s pages restored from the Trash.', $bulk_counts['untrashed'] ),
    292292);
     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);
    293300
    294301/**
Note: See TracChangeset for help on using the changeset viewer.