Make WordPress Core

Ticket #31982: 31982.5.diff

File 31982.5.diff, 1.1 KB (added by johnbillion, 10 years ago)
  • tests/phpunit/includes/wp-profiler.php

     
    2929                $this->profile = array();
    3030        }
    3131
    32         /**
    33          * PHP4 constructor.
    34          */
    35         public function WPProfiler() {
    36                 self::__construct();
    37         }
    38 
    3932        function start($name) {
    4033                $time = $this->microtime();
    4134
  • tests/phpunit/includes/utils.php

     
    3333                $this->debug = $debug;
    3434        }
    3535
    36         /**
    37          * PHP4 constructor.
    38          */
    39         public function MockAction( $debug = 0 ) {
    40                 self::__construct( $debug );
    41         }
    42 
    4336        function reset() {
    4437                $this->events = array();
    4538        }
     
    151144                $this->parse($in);
    152145        }
    153146
    154         /**
    155          * PHP4 constructor.
    156          */
    157         public function testXMLParser( $in ) {
    158                 self::__construct( $in );
    159         }
    160 
    161147        function parse($in) {
    162148                $parse = xml_parse($this->xml, $in, sizeof($in));
    163149                if (!$parse) {