[wp-trac] [WordPress Trac] #38181: Add oEmbed support for Amazon Kindle Instant Previews

WordPress Trac noreply at wordpress.org
Thu Sep 29 01:38:34 UTC 2016


#38181: Add oEmbed support for Amazon Kindle Instant Previews
------------------------------------------------------+--------------------
 Reporter:  jsepia                                    |       Owner:
     Type:  enhancement                               |      Status:  new
 Priority:  normal                                    |   Milestone:  4.7
Component:  Embeds                                    |     Version:  trunk
 Severity:  normal                                    |  Resolution:
 Keywords:  has-patch needs-testing needs-unit-tests  |     Focuses:
------------------------------------------------------+--------------------
Changes (by morganestes):

 * keywords:  has-patch => has-patch needs-testing needs-unit-tests
 * type:  defect (bug) => enhancement
 * milestone:  Awaiting Review => 4.7


Comment:

 In [[attachment:38181.2.diff]]:
 - updated to branch off of [38367]
 - moved the main URL RegEx inside the class as a static variable
 - updated formatting for the callback `switch` statement
 - added docs to the filter to add Amazon Kindle
 - changed `@since` version to 4.7.0

 Tested locally with
 https://read.amazon.com/kp/embed?asin=B00RZDEKVA&preview=newtab&linkCode=kpe&ref_=cm_sw_r_kb_dp_YPg7xbGKSPV24,
 but needs unit tests for full range of URL possibilities.

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


More information about the wp-trac mailing list