Changeset 43806 for branches/5.0/src/wp-includes/post.php
- Timestamp:
- 10/23/2018 10:58:35 AM (7 years ago)
- File:
-
- 1 edited
-
branches/5.0/src/wp-includes/post.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
branches/5.0/src/wp-includes/post.php
r43805 r43806 230 230 array( 231 231 'labels' => array( 232 'name' => __( 'Blocks' ),232 'name' => __( 'Blocks' ), 233 233 'singular_name' => __( 'Block' ), 234 234 'search_items' => __( 'Search Blocks' ), … … 243 243 'rest_controller_class' => 'WP_REST_Blocks_Controller', 244 244 'capability_type' => 'block', 245 'capabilities' => array(245 'capabilities' => array( 246 246 // You need to be able to edit posts, in order to read blocks in their raw form. 247 247 'read' => 'edit_posts',
Note: See TracChangeset
for help on using the changeset viewer.