Method: Wpxf::Auxiliary::AllInOneMigrationExport#initialize

Defined in:
lib/wpxf/modules/auxiliary/file_download/all_in_one_migration_export.rb

#initializeAllInOneMigrationExport

Returns a new instance of AllInOneMigrationExport.



6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
# File 'lib/wpxf/modules/auxiliary/file_download/all_in_one_migration_export.rb', line 6

def initialize
  super

  update_info(
    name: 'All-in-One Migration Export',
    desc: %(
      This module allows you to export WordPress data (such as the
      database, plugins, themes, uploaded files, etc) via the
      All-in-One Migration plugin in versions < 2.0.5.
    ),
    author: [
      'James Golovich', # Disclosure
      'rastating'       # WPXF module
    ],
    references: [
      ['WPVDB', '7857'],
      ['URL', 'http://www.pritect.net/blog/all-in-one-wp-migration-2-0-4-security-vulnerability']
    ],
    date: 'Mar 19 2015'
  )

  register_option(
    IntegerOption.new(
      name: 'http_client_timeout',
      desc: 'Max wait time in seconds for HTTP responses',
      default: 300,
      required: true
    )
  )
end