[wp-trac] [WordPress Trac] #34115: oEmbed not working on author page without posts

WordPress Trac noreply at wordpress.org
Thu Mar 3 15:40:56 UTC 2016


#34115: oEmbed not working on author page without posts
--------------------------------------+-----------------------------
 Reporter:  dannydehaan               |       Owner:
     Type:  enhancement               |      Status:  new
 Priority:  normal                    |   Milestone:  Future Release
Component:  Embeds                    |     Version:  2.9
 Severity:  normal                    |  Resolution:
 Keywords:  has-patch has-unit-tests  |     Focuses:  template
--------------------------------------+-----------------------------
Changes (by swissspidy):

 * keywords:  needs-patch => has-patch has-unit-tests
 * milestone:  Awaiting Review => Future Release


Comment:

 I spent the afternoon writing tests for `WP_Embed` and implement a
 transient fallback afterwards. The result is [attachment:34115.diff].

 Nothing spectacular there, except that I added a `pre_oembed_result`
 filter to test `wp_oembed_get()` without doing any HTTP requests.

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


More information about the wp-trac mailing list