[wp-cvs] wordpress xmlrpc.php,1.27,1.28
Michel Valdrighi
michelvaldrighi at users.sourceforge.net
Mon Oct 11 13:22:35 UTC 2004
Update of /cvsroot/cafelog/wordpress
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv19735
Modified Files:
xmlrpc.php
Log Message:
remove contextual compatiblity, and require functions-compat instead
Index: xmlrpc.php
===================================================================
RCS file: /cvsroot/cafelog/wordpress/xmlrpc.php,v
retrieving revision 1.27
retrieving revision 1.28
diff -C2 -d -r1.27 -r1.28
*** xmlrpc.php 27 Sep 2004 12:42:36 -0000 1.27
--- xmlrpc.php 11 Oct 2004 13:22:22 -0000 1.28
***************
*** 36,51 ****
- function printr($var, $do_not_echo = false) {
- // from php.net/print_r user contributed notes
- ob_start();
- print_r($var);
- $code = htmlentities(ob_get_contents());
- ob_clean();
- if (!$do_not_echo) {
- echo "<pre>$code</pre>";
- }
- return $code;
- }
-
function mkdir_p($target) {
// from php.net/mkdir user contributed notes
--- 36,39 ----
More information about the cvs
mailing list