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)
  • yes – that file is there
    here is the code if you need it
    http://wordpress.pastebin.com/3s4i6VbK

    Thread Starter demask

    (@demask)

    Thank you. But where can I manually download the missing files for 3.0.5? In particular: blogger.php, blogware.php, dotclear.php, greymatter.php, livejournal.php, mt.php, opml.php, rss.php, stp.php, textpattern.php, utw.php, wordpress.php, wp-cat2tag.php.

    Regards,
    Dmitriy

    they are all in the download zip
    top right of this very page

    Thread Starter demask

    (@demask)

    The topright download link points to “http://wordpress.pastebin.com/download.php?i=3s4i6VbK”. As result, some PHP code is being opened instead of downloading ZIP archive. I realize this PHP code is somehow related to the files I need, but I don’t understand how to use it to get these files.

    The topright download link points to “http://wordpress.pastebin.com/download.php?i=3s4i6VbK”.

    The you have a browser problem. The download url (which I can access quite easily) is http://wordpress.org/download/

    Thread Starter demask

    (@demask)

    Hi esmi,

    Anyway, the url that you have provided points to WordPress 3.0.5 release which does not have “wordpress/wp-admin/import/” included.

    The question was where can I find the missed files for the use with new release.

    Are you referring to wp-admin/includes/import.php? As far as I can recall, there hasn’t been an import sub-folder within wp-admin.

    Thread Starter demask

    (@demask)

    I’m referring to subfolder, not to php file. It was available in old releases 2.7.x, 2.8.x and 2.9.x (this is for sure) and had the following contents:

    • blogger.php
      blogware.php
      dotclear.php
      greymatter.php
      livejournal.php
      mt.php
      opml.php
      rss.php
      stp.php
      textpattern.php
      utw.php
      wordpress.php
      wp-cat2tag.php

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

    Thread Starter demask

    (@demask)

    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

    Thread Starter demask

    (@demask)

    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.