WordPress.org

Make WordPress Core

Opened 6 years ago

Closed 6 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:

Description

Characters like & break validation.

Attachments (2)

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

Download all attachments as: .zip

Change History (5)

Viper007Bond6 years ago

mdawaffe6 years ago

comment:1 mdawaffe6 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.

comment:2 Viper007Bond6 years ago

Mmm, good catch.

comment:3 ryan6 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.