Make WordPress Core

Opened 18 years ago

Closed 18 years ago

#8679 closed defect (bug) (fixed)

Press This introduced a PHP 5.1 function

Reported by: DD32 Owned by: noel
Priority: normal Milestone: 2.8
Component: Press This Version: 2.2.1
Severity: normal Keywords:
Cc: Focuses:

Description

htmlspecialchars_decode() is only available in PHP 5.1+: http://trac.wordpress.org/browser/trunk/wp-admin/press-this.php#L554 appears to have been added in [9787] which means WP 2.7 is affected

A similar case where this would've been useful is #6992 perhaps a compat function should be added?

Attachments (1)

8679.diff (497 bytes ) - added by sivel 18 years ago.
compat function

Download all attachments as: .zip

Change History (2)

@sivel
18 years ago

compat function

#1 @azaozz
18 years ago

  • Resolutionfixed
  • Status newclosed

(In [10236]) htmlspecialchars_decode() for php versions less than 5.1, props sivel, fixes #8679

Note: See TracTickets for help on using tickets.