Widget Importer & Exporter - Version 1.2.2

Version Description

Download this release

Release Info

Developer stevengliebe
Plugin Icon 128x128 Widget Importer & Exporter
Version 1.2.2
Comparing to
See all releases

Code changes from version 1.2 to 1.2.2

includes/import.php CHANGED
@@ -255,6 +255,19 @@ function wie_import_data( $data ) {
255
  $sidebars_widgets[$use_sidebar_id][] = $new_instance_id; // add new instance to sidebar
256
  update_option( 'sidebars_widgets', $sidebars_widgets ); // save the amended data
257
 
 
 
 
 
 
 
 
 
 
 
 
 
 
258
  // Success message
259
  if ( $sidebar_available ) {
260
  $widget_message_type = 'success';
255
  $sidebars_widgets[$use_sidebar_id][] = $new_instance_id; // add new instance to sidebar
256
  update_option( 'sidebars_widgets', $sidebars_widgets ); // save the amended data
257
 
258
+ // After widget import action
259
+ $after_widget_import = array(
260
+ 'sidebar' => $use_sidebar_id,
261
+ 'sidebar_old' => $sidebar_id,
262
+ 'widget' => $widget,
263
+ 'widget_type' => $id_base,
264
+ 'widget_id' => $new_instance_id,
265
+ 'widget_id_old' => $widget_instance_id,
266
+ 'widget_id_num' => $new_instance_id_number,
267
+ 'widget_id_num_old' => $instance_id_number
268
+ );
269
+ do_action( 'wie_after_widget_import', $after_widget_import );
270
+
271
  // Success message
272
  if ( $sidebar_available ) {
273
  $widget_message_type = 'success';
languages/widget-importer-exporter-de_DE.mo ADDED
Binary file
readme.txt CHANGED
@@ -2,7 +2,7 @@
2
  Contributors: stevengliebe, churchthemes
3
  Tags: widgets, widget, importer, exporter, import, export, backup
4
  Requires at least: 3.5
5
- Tested up to: 4.1
6
  Stable tag: trunk
7
  License: http://www.gnu.org/licenses/old-licenses/gpl-2.0.html
8
 
@@ -29,6 +29,7 @@ The following translations are included.
29
  * English (default)
30
  * Spanish (es_ES) by [Eduardo Larequi](http://www.labitacoradeltigre.com/)
31
  * French (fr_FR) by [Jose Kost](http://josekost.fr/)
 
32
  * Serbo-Croatian (sr_RS) by Borisa Djuraskovic of [Web Hosting Hub](http://www.webhostinghub.com)
33
 
34
  = Developers =
2
  Contributors: stevengliebe, churchthemes
3
  Tags: widgets, widget, importer, exporter, import, export, backup
4
  Requires at least: 3.5
5
+ Tested up to: 4.4
6
  Stable tag: trunk
7
  License: http://www.gnu.org/licenses/old-licenses/gpl-2.0.html
8
 
29
  * English (default)
30
  * Spanish (es_ES) by [Eduardo Larequi](http://www.labitacoradeltigre.com/)
31
  * French (fr_FR) by [Jose Kost](http://josekost.fr/)
32
+ * German (de_DE) by [Alexander Kesting](http://alex-dune.de)
33
  * Serbo-Croatian (sr_RS) by Borisa Djuraskovic of [Web Hosting Hub](http://www.webhostinghub.com)
34
 
35
  = Developers =
widget-importer-exporter.php CHANGED
@@ -3,7 +3,7 @@
3
  * Plugin Name: Widget Importer & Exporter
4
  * Plugin URI: https://github.com/stevengliebe/widget-importer-exporter
5
  * Description: Imports and exports widgets.
6
- * Version: 1.2
7
  * Author: Steven Gliebe
8
  * Author URI: http://stevengliebe.com
9
  * License: http://www.gnu.org/licenses/old-licenses/gpl-2.0.html
3
  * Plugin Name: Widget Importer & Exporter
4
  * Plugin URI: https://github.com/stevengliebe/widget-importer-exporter
5
  * Description: Imports and exports widgets.
6
+ * Version: 1.2.2
7
  * Author: Steven Gliebe
8
  * Author URI: http://stevengliebe.com
9
  * License: http://www.gnu.org/licenses/old-licenses/gpl-2.0.html