Make WordPress Core

Changeset 1777 for trunk/xmlrpc.php


Ignore:
Timestamp:
10/11/2004 01:22:33 PM (20 years ago)
Author:
michelvaldrighi
Message:

remove contextual compatiblity, and require functions-compat instead

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/xmlrpc.php

    r1718 r1777  
    3535logIO("I", $HTTP_RAW_POST_DATA);
    3636
    37 
    38 function printr($var, $do_not_echo = false) {
    39     // from php.net/print_r user contributed notes
    40     ob_start();
    41     print_r($var);
    42     $code =  htmlentities(ob_get_contents());
    43     ob_clean();
    44     if (!$do_not_echo) {
    45       echo "<pre>$code</pre>";
    46     }
    47     return $code;
    48 }
    4937
    5038function mkdir_p($target) {
Note: See TracChangeset for help on using the changeset viewer.