WordPress.org

Make WordPress Core

Opened 6 years ago

Closed 6 years ago

Last modified 6 years ago

#9475 closed defect (bug) (duplicate)

htmlspecialchars_decode on compat.php

Reported by: dfrodriguez143 Owned by:
Milestone: Priority: normal
Severity: normal Version:
Component: General Keywords:
Focuses: Cc:

Description

I believe there is a problem with the compat.php on line 104 and 105, the $string should be $str .

How: I was working on a plugin that needs the htmlspecialchars_decode function when I get an strange error, that sends me to line 105, I change the $string variable to $str and everyworks fine.

Change History (2)

comment:1 @DD326 years ago

  • Milestone Unassigned deleted
  • Resolution set to duplicate
  • Status changed from new to closed

See:

Changed 8 weeks ago by ryan
(In [10544]) Use right variable name. Props stringfold. fixes #9090 for 2.7
(In [10544]) Use right variable name. Props stringfold. fixes #9090 for 2.7

comment:2 @DD326 years ago

(Note, that those commits were after 2.7.1, So it'll be fixed in 2.7.2 or on 2.8 trunk)

Note: See TracTickets for help on using tickets.