Opened 16 years ago
Closed 16 years ago
#9468 closed defect (bug) (fixed)
Patch to avoid stripping images when using LiveJournal importer
Reported by: |
|
Owned by: | |
---|---|---|---|
Milestone: | 2.8 | Priority: | normal |
Severity: | normal | Version: | 2.7.1 |
Component: | General | Keywords: | has-patch |
Focuses: | Cc: |
Description
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.
Attachments (1)
Change History (4)
Note: See
TracTickets for help on using
tickets.
+1 it is always up to the user to have "good" html, WordPress did never properly sanitze for "good" html. I so no problem here.