Skip to content

Commit

Permalink
Reusable Blocks: Enable post listing edit
Browse files Browse the repository at this point in the history
  • Loading branch information
aduth committed Oct 19, 2018
1 parent e3b1279 commit c8ad73a
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion gutenberg.php
Original file line number Diff line number Diff line change
Expand Up @@ -264,7 +264,6 @@ function gutenberg_add_edit_link( $actions, $post ) {
$title = _draft_or_post_title( $post->ID );

if ( 'wp_block' === $post->post_type ) {
unset( $actions['edit'] );
unset( $actions['inline hide-if-no-js'] );
$actions['export'] = sprintf(
'<button type="button" class="wp-list-reusable-blocks__export button-link" data-id="%s" aria-label="%s">%s</button>',
Expand Down

0 comments on commit c8ad73a

Please sign in to comment.