WordPress.org

Plugin Directory

Changeset 718670 for wordpress-importer


Ignore:
Timestamp:
05/27/13 02:31:03 (11 months ago)
Author:
nacin
Message:

WordPress Importer: Fix strict notices. props iandunn, fixes #WP24373.

Location:
wordpress-importer/trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • wordpress-importer/trunk/parsers.php

    r632055 r718670  
    402402    var $base_url = ''; 
    403403 
     404    function __construct() { 
     405        $this->has_gzip = is_callable( 'gzopen' ); 
     406    } 
     407 
    404408    function WXR_Parser_Regex() { 
    405409        $this->__construct(); 
    406     } 
    407  
    408     function __construct() { 
    409         $this->has_gzip = is_callable( 'gzopen' ); 
    410410    } 
    411411 
  • wordpress-importer/trunk/wordpress-importer.php

    r688920 r718670  
    11081108     * @return int 60 
    11091109     */ 
    1110     function bump_request_timeout() { 
     1110    function bump_request_timeout( $val ) { 
    11111111        return 60; 
    11121112    } 
Note: See TracChangeset for help on using the changeset viewer.