Support » Installing WordPress » Where is wp-admin/import in new distributive?

  • Hi all!

    I have downloaded the latest wordpress ZIP package 3.0.5 and noticed that it doesn’t have folder wp-admin/import any more. I was wondering where can I get the appropriate versions of PHP files from wp-admin/import?

    Many thanks.

    Regards,
    Dmitriy

Viewing 12 replies - 1 through 12 (of 12 total)

Ah! I think you’ll find they’ve been replaced by the WordPress Importer plugin from 3.0 onwards.

Ok, now I see. 🙂

But then another question arises. Why does WordPress 3.0.5 code still refer to folder wp-admin/import and it’s contents? In particular, the code of the following modules:

\wordpress\wp-admin\admin.php
\wordpress\wp-admin\admin-ajax.php
\wordpress\wp-admin\includes\update-core.php

it’s pointing to /wp-admin/import.php

1) \wordpress\wp-admin\admin.php:

if (! file_exists(ABSPATH . "wp-admin/import/$importer.php"))
 wp_redirect( admin_url( 'import.php?invalid=' . $importer ) );
include(ABSPATH . "wp-admin/import/$importer.php");

2) \wordpress\wp-admin\admin-ajax.php:

include( ABSPATH . 'wp-admin/import/livejournal.php' );

3) \wordpress\wp-admin\includes\update-core.php:

$_old_files = array(
...
'wp-admin/import/b2.php',
'wp-admin/import/btt.php',
'wp-admin/import/jkw.php',
...
);
Viewing 12 replies - 1 through 12 (of 12 total)
  • The topic ‘Where is wp-admin/import in new distributive?’ is closed to new replies.