Opened 8 years ago

Closed 8 years ago

Last modified 8 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
Priority: normal Milestone:
Component: Administration Version: 1.5.1
Severity: minor Keywords:
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 8 years ago.

Download all attachments as: .zip

Change History (5)

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

comment:3   ryan8 years ago

  • Status changed from assigned to closed

comment:4   ryan8 years ago

  • fixed_in_version set to 1.5.1
Note: See TracTickets for help on using tickets.