WordPress.org

Ready to get started?Download WordPress

Codex

Attention Interested in functions, hooks, classes, or methods? Check out the new WordPress Code Reference!

Function Reference/funky javascript fix

THIS FUNCTION IS DEPRECATED SINCE 3.0

Description

Fixes javascript bugs in browsers.

Converts unicode characters to HTML numbered entities.

Usage

<?php funky_javascript_fix$text ?>

Parameters

$text
(string) (required) Text to be made safe.
Default: None

Return Values

(string) 
Fixed text.

Examples

Notes

  • Uses: $is_macIE
  • Uses: $is_winIE

Change Log

Since: 1.5.0

Source File

funky_javascript_fix() is located in wp-includes/formatting.php.

Related

See also index of Function Reference and index of Template Tags.