Menu Adam R Brown

WP hooks navigation: Home/browseActions indexFilters index

Source View: import_done

To save our bandwidth, we show only a snippet of code around each occurence of the hook. View complete file in SVN (without highlighting).

Understanding Source Code

The best way to understand what a hook does is to look at where it occurs in the source code.

Remember, this hook may occur in more than one file. Moreover, the hook's context may change from version to version.

Source View

Line Code
579           delete_option('dccat2wpcat');
580           delete_option('dcposts2wpposts');
581           delete_option('dccm2wpcm');
582           delete_option('dclinks2wplinks');
583           delete_option('dcuser');
584           delete_option('dcpass');
585           delete_option('dcname');
586           delete_option('dchost');
587           delete_option('dccharset');
588           do_action('import_done', 'dotclear');
589           $this->tips();
590      }
591
592      function tips()
593      {
594           echo '<p>'.__('Welcome to WordPress.  We hope (and expect!) that you will find this platform incredibly rewarding!  As a new WordPress user coming from DotClear, there are some things that we would like to point out.  Hopefully, they will help your transition go as smoothly as possible.').'</p>';
595           echo '<h3>'.__('Users').'</h3>';
596           echo '<p>'.sprintf(__('You have already setup WordPress and have been assigned an administrative login and password.  Forget it.  You didn&#8217;t have that login in DotClear, why should you have it here?  Instead we have taken care to import all of your users into our system.  Unfortunately there is one downside.  Because both WordPress and DotClear uses a strong encryption hash with passwords, it is impossible to decrypt it and we are forced to assign temporary passwords to all your users.  <strong>Every user has the same username, but their passwords are reset to password123.</strong>  So <a href="%1$s">Log in</a> and change it.'), '/wp-login.php').'</p>';
597           echo '<h3>'.__('Preserving Authors').'</h3>';