[wp-trac] [WordPress Trac] #46527: Gutenberg embed URL block only works in some cases

WordPress Trac noreply at wordpress.org
Fri Mar 15 16:55:11 UTC 2019


#46527: Gutenberg embed URL block only works in some cases
-------------------------------------+------------------------------
 Reporter:  justinahinon             |       Owner:  (none)
     Type:  defect (bug)             |      Status:  new
 Priority:  normal                   |   Milestone:  Awaiting Review
Component:  Embeds                   |     Version:  5.1
 Severity:  normal                   |  Resolution:
 Keywords:  needs-screenshots close  |     Focuses:
-------------------------------------+------------------------------
Changes (by jeremyfelt):

 * keywords:  needs-screenshots => needs-screenshots close


Comment:

 It looks like the `https://info.africarxiv.org/` home page advertises an
 oEmbed URL of `https://info.africarxiv.org/embed/`, which redirects back
 to `https://info.africarxiv.org/` and causes the unstyled/confusing embed
 in the editor.

 Other pages such as `https://info.africarxiv.org/about/` work fine with
 the advertised `https://info.africarxiv.org/about/embed/`.

 I tested another site with a static page set for the home page and it also
 advertises the endpoint incorrectly. I wonder if there could be a bug
 there? Somewhat related: #35067

 (I think this ticket can be closed, though I am wondering about the static
 home page embed now) :)

 Related to the linking of non-oEmbed supporting URLs:
 https://github.com/WordPress/gutenberg/pull/12095 added the "Try again"
 and "Convert to link" options to make the experience a little better when
 using a URL that does not support oEmbed.

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/46527#comment:2>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list