Ticket #3490: term-blogspot-retired.diff
| File term-blogspot-retired.diff, 2.9 KB (added by foolswisdom, 6 years ago) |
|---|
-
trunk/wp-admin/import/blogger.php
7 7 8 8 // Shows the welcome screen and the magic iframe. 9 9 function greet() { 10 $title = __('Import Blogger or Blogspot');10 $title = __('Import Blogger'); 11 11 $welcome = __('Howdy! This importer allows you to import posts and comments from your Blogger account into your WordPress blog.'); 12 12 $noiframes = __('This feature requires iframe support.'); 13 13 $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?')); … … 15 15 $incompat = __('Your web server is not properly configured to use this importer. Please enable the CURL extension for PHP and then reload this page.'); 16 16 17 17 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>"; 18 19 if ( function_exists('curl_init') ) 19 20 echo "<iframe src='admin.php?import=blogger&noheader=true' height='350px' width = '99%'>$noiframes</iframe><p><a href='admin.php?import=blogger&restart=true&noheader=true' onclick='return confirm(\"$warning\")'>$reset</a></p>"; 20 21 else … … 662 663 663 664 $blogger_import = new Blogger_Import(); 664 665 665 register_importer('blogger', __('Blogger or Blog*Spot'), __('Import posts, comments, and users from a Blogger or Blog*Spotblog'), array ($blogger_import, 'start'));666 register_importer('blogger', __('Blogger'), __('Import posts, comments, and users from a Blogger blog'), array ($blogger_import, 'start')); 666 667 667 668 ?> -
2.0/wp-admin/import/blogger.php
15 15 $incompat = __('Your web server is not properly configured to use this importer. Please enable the CURL extension for PHP and then reload this page.'); 16 16 17 17 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>"; 18 19 if ( function_exists('curl_init') ) 19 20 echo "<iframe src='admin.php?import=blogger&noheader=true' height='350px' width = '99%'>$noiframes</iframe><p><a href='admin.php?import=blogger&restart=true&noheader=true' onclick='return confirm(\"$warning\")'>$reset</a></p>"; 20 21 else … … 662 663 663 664 $blogger_import = new Blogger_Import(); 664 665 665 register_importer('blogger', __('Blogger and Blogspot'), __('Import <strong>posts and comments</strong> from your Blogger account'), array ($blogger_import, 'start'));666 register_importer('blogger', __('Blogger'), __('Import <strong>posts and comments</strong> from your Blogger account'), array ($blogger_import, 'start')); 666 667 667 668 ?>