Changeset 3781 for branches/2.0/wp-includes/functions-formatting.php
- Timestamp:
- 05/18/2006 01:10:57 AM (20 years ago)
- File:
-
- 1 edited
-
branches/2.0/wp-includes/functions-formatting.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
branches/2.0/wp-includes/functions-formatting.php
r3747 r3781 1016 1016 } 1017 1017 1018 // Escape single quotes, specialchar double quotes, and fix line endings. 1019 function js_escape($text) { 1020 $text = wp_specialchars($text, 'double'); 1021 return preg_replace("/\r?\n/", "\\n", addslashes($text)); 1022 } 1018 1023 ?>
Note:
See TracChangeset
for help on using the changeset viewer.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)