Fixes for some PHP warnings
-
This plugin throws errors in debug mode. The following changes don’t fix any of the other issues folks report here:
File: wordpress-importer
Line: 1110Change:
function bump_request_timeout() { return 60; }
to:
function bump_request_timeout( $val = 60 ) { return $val; }
File: parsers.php
Line: 404Comment out the ‘WRX_Parser_Regex` function:
/*function WXR_Parser_Regex() { $this->__construct(); }*/
These changes will make PHP happy in strict mode, in any case.
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘Fixes for some PHP warnings’ is closed to new replies.