Make WordPress Core

Opened 22 years ago

Closed 22 years ago

Last modified 22 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: Focuses:

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 21 years ago.

Download all attachments as: .zip

Change History (5)

#1 @MC_incubus
22 years ago

  • Patch → No

#2 @MC_incubus
22 years ago

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

#3 @ryan
22 years ago

  • Status assigned → closed
Note: See TracTickets for help on using tickets.