WordPress.org

Make WordPress Core

Ticket #42898: 42898.patch

File 42898.patch, 430 bytes (added by josephscott, 4 years ago)
  • src/wp-admin/includes/class-wp-importer.php

     
    281281 */
    282282function get_cli_args( $param, $required = false ) {
    283283        $args = $_SERVER['argv'];
     284        if ( !is_array( $args ) ) {
     285                $args = array();
     286        }
    284287
    285288        $out = array();
    286289