[wp-trac] [WordPress Trac] #22422: Fix the Tumblr Importer

WordPress Trac noreply at wordpress.org
Thu Nov 22 12:55:47 UTC 2012


#22422: Fix the Tumblr Importer
---------------------------------+-----------------------
 Reporter:  westi                |       Owner:  Otto42
     Type:  defect (bug)         |      Status:  assigned
 Priority:  normal               |   Milestone:  3.5
Component:  Import               |     Version:  3.4.2
 Severity:  normal               |  Resolution:
 Keywords:  audit needs-testing  |
---------------------------------+-----------------------

Comment (by Otto42):

 Replying to [comment:34 dllh]:
 > Adding iframe to the whitelisted tags for kses gets around the video
 issue, but I'm not sure what the appropriate way to do this is or whether
 it's advisable at all. I guess I could check for (youtube|vimeo) and add
 to the whitelist per post, then remove from kses after each post, but I
 can't help thinking there's a better way. Feedback welcome.

 The original importer code I wrote handled this correctly for the specific
 case of YouTube, by turning it into an oEmbed. Looks like that code got
 lost somewhere along the way...

 http://plugins.trac.wordpress.org/browser/tumblr-importer/trunk/tumblr-
 importer.php#L786

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/22422#comment:39>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list