関数 wp_iso_descrambler()
2014/12/10
関数 wp_iso_descrambler()
定義ファイル :/blog/wp-includes/formatting.php 9
1 2 3 4 5 6 7 8 9 10 | function wp_iso_descrambler($string) { /* this may only work with iso-8859-1, I'm afraid */ if (!preg_match('#\=\?(.+)\?Q\?(.+)\?\=#i', $string, $matches)) { return $string; } else { $subject = str_replace('_', ' ', $matches[2]); $subject = preg_replace_callback('#\=([0-9a-f]{2})#i', '_wp_iso_convert', $subject); return $subject; } } |