[wp-trac] [WordPress Trac] #41206: Add embed handler for GitHub gists

WordPress Trac noreply at wordpress.org
Sun Jul 2 17:32:58 UTC 2017


#41206: Add embed handler for GitHub gists
-------------------------+------------------------------
 Reporter:  swissspidy   |       Owner:
     Type:  enhancement  |      Status:  new
 Priority:  normal       |   Milestone:  Awaiting Review
Component:  Embeds       |     Version:
 Severity:  normal       |  Resolution:
 Keywords:  has-patch    |     Focuses:
-------------------------+------------------------------

Comment (by tfrommen):

 I'm +1 for this, and actually wondered just yesterday why it isn't
 supported by Core so far and when it might be. :)

 However, I don't understand the `.json`—`.js` thing. Why create URLs for
 JSON files and then replace the ending anyway? Is there some edge case
 that I just don't see, or why can't we create URLs for `.js` files in the
 first place?

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


More information about the wp-trac mailing list