equal
deleted
inserted
replaced
1 <?php |
1 <?php |
2 if ( !in_array('Snoopy', get_declared_classes() ) ) : |
2 |
|
3 /** |
|
4 * Deprecated. Use WP_HTTP (http.php, class-http.php) instead. |
|
5 */ |
|
6 _deprecated_file( basename( __FILE__ ), '3.0', WPINC . '/http.php' ); |
|
7 |
|
8 if ( !class_exists( 'Snoopy' ) ) : |
3 /************************************************* |
9 /************************************************* |
4 |
10 |
5 Snoopy - the PHP net client |
11 Snoopy - the PHP net client |
6 Author: Monte Ohrt <monte@ispi.net> |
12 Author: Monte Ohrt <monte@ispi.net> |
7 Copyright (c): 1999-2008 New Digital Group, all rights reserved |
13 Copyright (c): 1999-2008 New Digital Group, all rights reserved |
711 chr(169), |
717 chr(169), |
712 chr(174), |
718 chr(174), |
713 chr(176), |
719 chr(176), |
714 chr(39), |
720 chr(39), |
715 chr(128), |
721 chr(128), |
716 "ä", |
722 chr(0xE4), // ANSI ä |
717 "ö", |
723 chr(0xF6), // ANSI ö |
718 "ü", |
724 chr(0xFC), // ANSI ü |
719 "Ä", |
725 chr(0xC4), // ANSI Ä |
720 "Ö", |
726 chr(0xD6), // ANSI Ö |
721 "Ü", |
727 chr(0xDC), // ANSI Ü |
722 "ß", |
728 chr(0xDF), // ANSI ß |
723 ); |
729 ); |
724 |
730 |
725 $text = preg_replace($search,$replace,$document); |
731 $text = preg_replace($search,$replace,$document); |
726 |
732 |
727 return $text; |
733 return $text; |