Browse files

Fixed WP Importer activation

git-svn-id: http://plugins.svn.wordpress.org/canalblog-importer/trunk@386931 b8457f37-d9ea-0310-8a92-e5e31aec5664
  • Loading branch information...
1 parent 2522749 commit 02e44f1f9cf4abfc7628f36d4857b202c0e274f5 oncletom committed May 20, 2011
Showing with 8 additions and 3 deletions.
  1. +1 −1 bootstrap.php
  2. +1 −1 lib/Configuration.class.php
  3. +1 −0 lib/Plugin.class.php
  4. +5 −1 readme.txt
View
2 bootstrap.php
@@ -3,7 +3,7 @@
Plugin Name: Canalblog Importer
Description: Enables content importing from a blog hosted on Canalblog platform.
Author: Oncle Tom
-Version: 1.2.2
+Version: 1.2.3
Text Domain: canalblog-importer
Domain Path: /i18n
Author URI: http://case.oncle-tom.net/
View
2 lib/Configuration.class.php
@@ -10,7 +10,7 @@ class CanalblogImporterConfiguration extends WPPluginToolkitConfiguration
/**
* Refers to the version of the plugin
*/
- const VERSION = '1.2.2';
+ const VERSION = '1.2.3';
protected $wordpress_importer_locations = array();
View
1 lib/Plugin.class.php
@@ -66,6 +66,7 @@ public function filterPluginRowMeta($plugin_meta, $plugin_file, $plugin_data)
*/
public function importPage()
{
+ deactivate_plugins('wordpress-importer/wordpress-importer.php', true);
$importer = new CanalblogImporterImporter($this);
$operation = $importer->dispatch();
View
6 readme.txt
@@ -4,7 +4,7 @@ Donate link: https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_i
Tags: canalblog, wordpress, migration, import, admin, importer
Requires at least: 3.0
Tested up to: 3.2
-Stable tag: 1.2.2
+Stable tag: 1.2.3
Fatigué(e) d'avoir à gérer un blog sur Canalblog ? Cette extension va vous permettre de TOUT récupérer en quelques clics.
@@ -57,6 +57,10 @@ Encore quelques clics et ça sera terminé !
== Changelog ==
+= Version 1.2.3 =
+
+* désactivation automatique du plugin WordPress Importer si nécessaire
+
= Version 1.2.2 =
* correction liée à la manière dont WordPress 3.1 gère les imports

0 comments on commit 02e44f1

Please sign in to comment.