Ticket #44244: 44244.diff
File 44244.diff, 1.9 KB (added by , 7 years ago) |
---|
-
src/wp-includes/class-json.php
252 252 * 253 253 * @param mixed $var any number, boolean, string, array, or object to be encoded. 254 254 * see argument 1 to Services_JSON() above for array-parsing behavior. 255 * if var is a str ng, note that encode() always expects it255 * if var is a string, note that encode() always expects it 256 256 * to be in ASCII or UTF-8 format! 257 257 * 258 258 * @return mixed JSON string representation of input var or an error if a problem occurs … … 268 268 * 269 269 * @param mixed $var any number, boolean, string, array, or object to be encoded. 270 270 * see argument 1 to Services_JSON() above for array-parsing behavior. 271 * if var is a str ng, note that encode() always expects it271 * if var is a string, note that encode() always expects it 272 272 * to be in ASCII or UTF-8 format! 273 273 * 274 274 * @return mixed JSON string representation of input var or an error if a problem occurs … … 289 289 * 290 290 * @param mixed $var any number, boolean, string, array, or object to be encoded. 291 291 * see argument 1 to Services_JSON() above for array-parsing behavior. 292 * if var is a str ng, note that encode() always expects it292 * if var is a string, note that encode() always expects it 293 293 * to be in ASCII or UTF-8 format! 294 294 * 295 295 * @return mixed JSON string representation of input var or an error if a problem occurs