WordPress.org

Make WordPress Core

Opened 16 years ago

Closed 16 years ago

Last modified 16 years ago

#1151 closed defect (bug) (fixed)

options.php double-encodes entities, messing up the data on save

Reported by: MC_incubus Owned by: ryan
Milestone: Priority: normal
Severity: minor Version: 1.5.1
Component: Administration Keywords:
Focuses: Cc:

Description

When using the "secret" options.php method to access all options, entities are double-encoded, so for links_recently_updated_append et al, they are messed up on save.

They are already being run through wp_specialchars() but then are run through htmlentities(). My patch removes the run through htmlentities() and it appears to fix it!

Attachments (1)

options.php.diff (607 bytes) - added by MC_incubus 15 years ago.

Download all attachments as: .zip

Change History (5)

#1 @MC_incubus
16 years ago

  • Patch set to No

#2 @MC_incubus
16 years ago

  • Owner changed from anonymous to rboren
  • Patch changed from No to Yes
  • Resolution changed from 10 to 20
  • Status changed from new to assigned

#3 @ryan
16 years ago

  • Status changed from assigned to closed
Note: See TracTickets for help on using tickets.