Version Description
Download this release
Release Info
Developer | FameThemes |
Plugin | FameTheme Demo Importer |
Version | 1.0.3 |
Comparing to | |
See all releases |
Code changes from version 1.0.2 to 1.0.3
famethemes-demo-importer.php
CHANGED
@@ -5,7 +5,7 @@ Plugin URI: https://github.com/FameThemes/famethemes-demo-importer
|
|
5 |
Description: Demo data import tool for FameThemes's themes.
|
6 |
Author: famethemes
|
7 |
Author URI: http://www.famethemes.com/
|
8 |
-
Version: 1.0.
|
9 |
Text Domain: ftdi
|
10 |
License: GPL version 2 or later - http://www.gnu.org/licenses/old-licenses/gpl-2.0.html
|
11 |
*/
|
@@ -106,6 +106,8 @@ class FT_Demo_Content_Importer {
|
|
106 |
$recommend_plugins[] = array();
|
107 |
}
|
108 |
|
|
|
|
|
109 |
return $recommend_plugins;
|
110 |
}
|
111 |
|
@@ -432,7 +434,6 @@ class FT_Demo_Content_Importer {
|
|
432 |
foreach ( $files as $k => $ext ) {
|
433 |
$file = $item_name.'-'.$k.'.'.$ext;
|
434 |
$file_path = self::download_file( $this->git_repo.$item_name.'/'.$k.'.'.$ext, $file, false );
|
435 |
-
echo $file_path;
|
436 |
$downloaded_file[ $k ] = $file_path;
|
437 |
}
|
438 |
|
5 |
Description: Demo data import tool for FameThemes's themes.
|
6 |
Author: famethemes
|
7 |
Author URI: http://www.famethemes.com/
|
8 |
+
Version: 1.0.3
|
9 |
Text Domain: ftdi
|
10 |
License: GPL version 2 or later - http://www.gnu.org/licenses/old-licenses/gpl-2.0.html
|
11 |
*/
|
106 |
$recommend_plugins[] = array();
|
107 |
}
|
108 |
|
109 |
+
$recommend_plugins = array_filter( $recommend_plugins );
|
110 |
+
|
111 |
return $recommend_plugins;
|
112 |
}
|
113 |
|
434 |
foreach ( $files as $k => $ext ) {
|
435 |
$file = $item_name.'-'.$k.'.'.$ext;
|
436 |
$file_path = self::download_file( $this->git_repo.$item_name.'/'.$k.'.'.$ext, $file, false );
|
|
|
437 |
$downloaded_file[ $k ] = $file_path;
|
438 |
}
|
439 |
|