Make WordPress Core

Opened 15 years ago

Closed 15 years ago

Last modified 15 years ago

#9115 closed defect (bug) (duplicate)

htmlspecialchars_decode for php uses wrong variable

Reported by: shrikee's profile SHRIKEE Owned by:
Milestone: Priority: low
Severity: normal Version: 2.7
Component: General Keywords: decode, compat.php, null, error
Focuses: 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)

#1 @DD32
15 years ago

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

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

#2 @DD32
15 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.