WordPress.org

Make WordPress Core

Opened 7 years ago

Closed 7 years ago

Last modified 7 years ago

#9115 closed defect (bug) (duplicate)

htmlspecialchars_decode for php uses wrong variable

Reported by: 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)

comment:1 @DD327 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 @DD327 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.