Make WordPress Core

Opened 22 years ago

Closed 20 years ago

Last modified 20 years ago

#879 closed defect (bug) (fixed)

rss2 import leaves CDATA in $title

Reported by: pgarrett Owned by: mdawaffe
Priority: normal Milestone:
Component: General Version: 1.5
Severity: minor Keywords: has-patch 2nd-opinion rss import
Cc: Focuses:

Description

Some feed generators (in this case GeekLog) place the CDATA tag in the title. import-rss.php does not remove it.

changed line 58 to:
$title = str_replace( array('<![CDATA,]>'), , addslashes( trim($title[1]) ) );

Attachments (1)

879.diff (547 bytes ) - added by mdawaffe 20 years ago.

Download all attachments as: .zip

Change History (8)

#1 @pgarrett
22 years ago

  • PatchNo

#2 @ryan
22 years ago

  • Patch NoYes

@mdawaffe
20 years ago

#3 @mdawaffe
20 years ago

  • Keywords has-patch 2nd-opinion rss import added
  • Milestone2.1
  • Owner changed from anonymous to mdawaffe
  • Status newassigned

Patch from pgarrett updated and attached.

#4 @ryan
20 years ago

  • Resolutionfixed
  • Status assignedclosed

(In [4150]) strip CDATA from title. Props pgarrett and mdawaffe. fixes #879

#5 @ryan
20 years ago

(In [4237]) strip CDATA from title. Props pgarrett and mdawaffe. fixes #879

#6 @foolswisdom
20 years ago

  • Milestone 2.12.0.5

#7 @(none)
20 years ago

  • Milestone 2.0.5

Milestone 2.0.5 deleted

Note: See TracTickets for help on using tickets.