[wp-trac] [WordPress Trac] #40673: WP Oembed in Multisite fails when embedded post comes from a different site of a network.

WordPress Trac noreply at wordpress.org
Fri May 5 02:27:03 UTC 2017


#40673: WP Oembed in Multisite fails when embedded post comes from a different site
of a network.
--------------------------+-----------------------------
 Reporter:  imath         |      Owner:
     Type:  defect (bug)  |     Status:  new
 Priority:  normal        |  Milestone:  Awaiting Review
Component:  Embeds        |    Version:  trunk
 Severity:  normal        |   Keywords:
  Focuses:  multisite     |
--------------------------+-----------------------------
 Steps to reproduce:

 1/ Create a post in main site.
 2/ Create a new site
 3/ Go the dashboard of this site
 4/ Create a new post and paste in it the permalink of the post created at
 step 1.

 This happens when the post we're trying to embed comes from a different
 site. I've added some unit tests to illustrate the issue. Without the
 patch, these two unit tests are failing:
 - test_wp_filter_pre_oembed_result_multisite_sub_othersub
 - test_wp_filter_pre_oembed_result_multisite_sub_main

--
Ticket URL: <https://core.trac.wordpress.org/ticket/40673>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list