[wp-trac] [WordPress Trac] #9468: Patch to avoid stripping images when using LiveJournal importer

WordPress Trac wp-trac at lists.automattic.com
Sun Apr 5 21:46:52 GMT 2009


#9468: Patch to avoid stripping images when using LiveJournal importer
--------------------------+-------------------------------------------------
 Reporter:  beaulebens    |       Owner:  anonymous
     Type:  defect (bug)  |      Status:  new      
 Priority:  normal        |   Milestone:  2.8      
Component:  General       |     Version:  2.7.1    
 Severity:  normal        |    Keywords:  has-patch
--------------------------+-------------------------------------------------
 Some users have reported problems with the new LiveJournal importer
 stripping images out of their posts while importing.

 Turns out that this is actually because of the force_balance_tags()
 function, which was being used to clean up imported content a bit.
 Removing that function means there is no code-level cleanup during import,
 so it's up to the user to have good HTML.

 Applying this patch removes the function and means that the importer works
 more reliably with WPMU installations in particular.

 I'm commenting it out rather than removing it completely as a reminder to
 people who might want to un-comment it when they import. Alternatively
 feel free to delete.

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/9468>
WordPress Trac <http://trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list