[wp-trac] [WordPress Trac] #31502: Replace embed URL with error message if oEmbed provider returns an error

WordPress Trac noreply at wordpress.org
Sun Sep 6 17:37:49 UTC 2015


#31502: Replace embed URL with error message if oEmbed provider returns an error
----------------------------------------+------------------------------
 Reporter:  mbootsman                   |       Owner:
     Type:  enhancement                 |      Status:  new
 Priority:  normal                      |   Milestone:  Awaiting Review
Component:  Embeds                      |     Version:  2.9
 Severity:  normal                      |  Resolution:
 Keywords:  needs-patch good-first-bug  |     Focuses:
----------------------------------------+------------------------------

Comment (by GaVrA):

 I'm not sure if this is enough, maybe input should be cleared?

 `$('#embed-url-field' ).val('');`?

 Also if embed fails, you can still press `Insert into page` button. I'm
 not sure how would you go about disabling that since I'm not all that
 familiar with backbone.

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


More information about the wp-trac mailing list