Make WordPress Core


Ignore:
Timestamp:
05/30/2014 07:34:53 PM (12 years ago)
Author:
wonderboymusic
Message:

Restore $val in WP_Importer::bump_request_timeout() - even though the parent class and WP_Import ignore the parameter, it creates an incompatible interface notice in the plugin.

See [28629].

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-admin/includes/class-wp-importer.php

    r28629 r28637  
    197197     * Bump up the request timeout for http requests
    198198     *
     199     * @param int $val
    199200     * @return int
    200201     */
    201     public function bump_request_timeout() {
     202    public function bump_request_timeout( $val ) {
    202203        return 60;
    203204    }
Note: See TracChangeset for help on using the changeset viewer.