golderweb
Forum Replies Created
Viewing 3 replies - 1 through 3 (of 3 total)
-
Forum: Plugins
In reply to: [WordPress Importer] Does this work with versionI didn’t have any problems importing theme-unit-test-data.xml with WordPress 4.0.
Forum: Plugins
In reply to: [WordPress Importer] PHP warnings with WordPress 4.0For the first Error I suppose that swapping the order of the PHP5 and the old constructor in class WXR_Parser_Regex will help. (Maybe the old one could be removed if PHP4.x isn’t supported anymore with this plugin.)
parsers.php – Line 396 and following would beclass WXR_Parser_Regex { var $authors = array(); var $posts = array(); var $categories = array(); var $tags = array(); var $terms = array(); var $base_url = ''; function __construct() { $this->has_gzip = is_callable( 'gzopen' ); } function WXR_Parser_Regex() { $this->__construct(); }For the second Error see my reply this topic.
Forum: Plugins
In reply to: [WordPress Importer] Got PHP warning of type "Strict Standards"I also remarked this problem. A possible fix would be to add an (unused) parameter $val to this method.
File wordpress-importer.php – Line 1106 and following
/** * Added to http_request_timeout filter to force timeout at 60 seconds during import * @param void $val Not used, only for compatibility with parent class WP_Importer * @return int 60 */ function bump_request_timeout( $val ) { return 60; }
Viewing 3 replies - 1 through 3 (of 3 total)