Opened 4 years ago

Closed 4 years ago

Last modified 4 years ago

#9115 closed defect (bug) (duplicate)

htmlspecialchars_decode for php uses wrong variable

Reported by: SHRIKEE Owned by: anonymous
Priority: low Milestone:
Component: General Version: 2.7
Severity: normal Keywords: decode, compat.php, null, error
Cc:

Description

Affected file: wp-include/compat.php
Lines: 104 and 105

Variables $string should be $str.

Functions results in NULL error in it's current state. changing the vars to $str solves the issue.
PHP5 users not affected, PHP4 users are.

Change History (2)

comment:1   DD324 years ago

  • Resolution set to duplicate
  • Status changed from new to closed

See: [10543] Use right variable name. Props stringfold. fixes #9090 for trunk

comment:2   DD324 years ago

  • Milestone 2.7.2 deleted

also, See: [10544] Use right variable name. Props stringfold. fixes #9090 for 2.7

Note: See TracTickets for help on using tickets.