Skip to content

Pinterest URLs not embedding when not .com (.es, .it...) #59400

@alvarotrigo

Description

@alvarotrigo

Description

Pinterest URLs that don't come from the .com domain won't be embedded.
Pinterest uses a different domain for different countries and people in those countries might find it difficult to use this block.

Step-by-step reproduction instructions

For example, these URLs won't get embedded:
https://www.pinterest.es/pin/320670435980314659/
https://www.pinterest.it/pin/308004062030905959/

But changing the .es and .it for .comwill make it work:
https://www.pinterest.com/pin/320670435980314659/
https://www.pinterest.com/pin/308004062030905959/

Expected behaviour

Any URL coming from the existing interest domains in each country should work.
Having a list of them should be enough to deal with this.

Actual behaviour

URLs won't embed if not coming from the .com domain.

Screenshots or screen recording (optional)

image

WordPress information

  • WordPress version: 6.4.3
  • Gutenberg version:
  • Are all plugins except Gutenberg deactivated? Yes
  • Are you using a default theme. Yes

Metadata

Metadata

Assignees

No one assigned

    Labels

    [Block] EmbedAffects the Embed Block[Type] BugAn existing feature does not function as intended

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions