diff options
author | Dries Buytaert <dries@buytaert.net> | 2010-01-04 12:27:33 +0000 |
---|---|---|
committer | Dries Buytaert <dries@buytaert.net> | 2010-01-04 12:27:33 +0000 |
commit | f8fd99b33481337b4daa37fbc641e8b019070f2b (patch) | |
tree | 7c37155396d09877a731732481ca3f290c45e0fb | |
parent | e5ac2f9c8c45cb5091dbf68c4a8d0a4f7bfe25a7 (diff) | |
download | brdo-f8fd99b33481337b4daa37fbc641e8b019070f2b.tar.gz brdo-f8fd99b33481337b4daa37fbc641e8b019070f2b.tar.bz2 |
- Patch #673644 by mr.baileys: mark drupal_json_encode()/decode as PHP wrappers.
-rw-r--r-- | includes/common.inc | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/includes/common.inc b/includes/common.inc index e9de4a11f..70c2f9024 100644 --- a/includes/common.inc +++ b/includes/common.inc @@ -4370,6 +4370,7 @@ function drupal_clear_js_cache() { * We use HTML-safe strings, i.e. with <, > and & escaped. * * @see drupal_json_decode() + * @ingroup php_wrappers */ function drupal_json_encode($var) { // json_encode() does not escape <, > and &, so we do it with str_replace(). @@ -4380,6 +4381,7 @@ function drupal_json_encode($var) { * Converts an HTML-safe JSON string into its PHP equivalent. * * @see drupal_json_encode() + * @ingroup php_wrappers */ function drupal_json_decode($var) { // json_decode() does not unescape <, > and &, so we do it with str_replace(). |