WordPress.org

Make WordPress Core

Ticket #3490: term-blogspot-retired.diff

File term-blogspot-retired.diff, 2.9 KB (added by foolswisdom, 7 years ago)
  • trunk/wp-admin/import/blogger.php

     
    77 
    88        // Shows the welcome screen and the magic iframe. 
    99        function greet() { 
    10                 $title = __('Import Blogger or Blogspot'); 
     10                $title = __('Import Blogger'); 
    1111                $welcome = __('Howdy! This importer allows you to import posts and comments from your Blogger account into your WordPress blog.'); 
    1212                $noiframes = __('This feature requires iframe support.'); 
    1313                $warning = js_escape(__('This will delete everything saved by the Blogger importer except your posts and comments. Are you sure you want to do this?')); 
     
    1515                $incompat = __('Your web server is not properly configured to use this importer. Please enable the CURL extension for PHP and then reload this page.'); 
    1616 
    1717                echo "<div class='wrap'><h2>$title</h2><p>$welcome</p>"; 
     18                echo "<p>" . __('Please note that this importer <em>does not work with Blogger Beta</em>.') . "</p>"; 
    1819                if ( function_exists('curl_init') ) 
    1920                        echo "<iframe src='admin.php?import=blogger&amp;noheader=true' height='350px' width = '99%'>$noiframes</iframe><p><a href='admin.php?import=blogger&amp;restart=true&amp;noheader=true' onclick='return confirm(\"$warning\")'>$reset</a></p>"; 
    2021                else 
     
    662663 
    663664$blogger_import = new Blogger_Import(); 
    664665 
    665 register_importer('blogger', __('Blogger or Blog*Spot'), __('Import posts, comments, and users from a Blogger or Blog*Spot blog'), array ($blogger_import, 'start')); 
     666register_importer('blogger', __('Blogger'), __('Import posts, comments, and users from a Blogger blog'), array ($blogger_import, 'start')); 
    666667 
    667668?> 
  • 2.0/wp-admin/import/blogger.php

     
    1515                $incompat = __('Your web server is not properly configured to use this importer. Please enable the CURL extension for PHP and then reload this page.'); 
    1616 
    1717                echo "<div class='wrap'><h2>$title</h2><p>$welcome</p>"; 
     18                echo "<p>" . __('Please note that this importer <em>does not work with Blogger Beta</em>.') . "</p>"; 
    1819                if ( function_exists('curl_init') ) 
    1920                        echo "<iframe src='admin.php?import=blogger&amp;noheader=true' height='350px' width = '99%'>$noiframes</iframe><p><a href='admin.php?import=blogger&amp;restart=true&amp;noheader=true' onclick='return confirm(\"$warning\")'>$reset</a></p>"; 
    2021                else 
     
    662663 
    663664$blogger_import = new Blogger_Import(); 
    664665 
    665 register_importer('blogger', __('Blogger and Blogspot'), __('Import <strong>posts and comments</strong> from your Blogger account'), array ($blogger_import, 'start')); 
     666register_importer('blogger', __('Blogger'), __('Import <strong>posts and comments</strong> from your Blogger account'), array ($blogger_import, 'start')); 
    666667 
    667668?>