Skip to content

Commit

Permalink
Social Link: Rename mail to email
Browse files Browse the repository at this point in the history
This makes the mail icon show if the user searches for mail or email.
The property value does not change, it stays as 'mail' so is still
compatibility with any existing social links.

The title change only allows it show up in search for both.

Fixes #21733
  • Loading branch information
mkaz committed Oct 8, 2020
1 parent 7703fa5 commit da21ffe
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/block-library/src/social-link/variations.js
Original file line number Diff line number Diff line change
Expand Up @@ -175,7 +175,7 @@ const variations = [
{
name: 'mail',
attributes: { service: 'mail' },
title: 'Mail',
title: 'Email',
icon: MailIcon,
},
{
Expand Down

0 comments on commit da21ffe

Please sign in to comment.