Make WordPress Core

Opened 12 years ago

Closed 12 years ago

#7064 closed defect (bug) (fixed)

Validation fix for WP Planet feed dashboard widget

Reported by: Viper007Bond Owned by:
Milestone: 2.6 Priority: lowest
Severity: minor Version: 2.6
Component: Administration Keywords: has-patch
Focuses: Cc:


Characters like & break validation.

Attachments (2)

7064.patch (833 bytes) - added by Viper007Bond 12 years ago.
7064.b.diff (712 bytes) - added by mdawaffe 12 years ago.

Download all attachments as: .zip

Change History (5)

12 years ago

12 years ago

#1 @mdawaffe
12 years ago

It looks like using $item['title'] for $author and $post was a typo since the previously unused $title variable was already wp_specialchars()d. I've attached a patch that uses that one wp_specialchars() call and an explode (which should be good enough) rather than the two regexes.

#2 @Viper007Bond
12 years ago

Mmm, good catch.

#3 @ryan
12 years ago

  • Resolution set to fixed
  • Status changed from new to closed

(In [8016]) Dashboard validation fixes from Viper007Bond and mdawaffe. fixes #7064

Note: See TracTickets for help on using tickets.