Skip to content

Commit

Permalink
Remove title attributes from the Classic Editor warning. (#8324)
Browse files Browse the repository at this point in the history
  • Loading branch information
afercia authored Aug 1, 2018
1 parent 69de8bf commit 819a1f0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/compat.php
Original file line number Diff line number Diff line change
Expand Up @@ -247,8 +247,8 @@ function gutenberg_warn_classic_about_blocks() {
?>
</div>
<p>
<a class="button button-primary blocks-in-post-gutenberg-button" title="<?php esc_attr_e( 'Open this post in the Gutenberg block editor', 'gutenberg' ); ?>" href="<?php echo esc_url( $gutenberg_edit_link ); ?>"><?php _e( 'Edit in Gutenberg', 'gutenberg' ); ?></a>
<button class="button blocks-in-post-classic-button" title="<?php esc_attr_e( 'Close this dialog, and edit the post in the classic editor', 'gutenberg' ); ?>"><?php _e( 'Continue to Classic Editor', 'gutenberg' ); ?></button>
<a class="button button-primary blocks-in-post-gutenberg-button" href="<?php echo esc_url( $gutenberg_edit_link ); ?>"><?php _e( 'Edit in Gutenberg', 'gutenberg' ); ?></a>
<button type="button" class="button blocks-in-post-classic-button"><?php _e( 'Continue to Classic Editor', 'gutenberg' ); ?></button>
</p>
</div>
</div>
Expand Down

0 comments on commit 819a1f0

Please sign in to comment.