Changeset 1920326
- Timestamp:
- 08/06/2018 10:42:28 AM (8 years ago)
- Location:
- vela-companion/trunk
- Files:
-
- 3 edited
-
inc/templates-importer/templates-importer.php (modified) (2 diffs)
-
readme.txt (modified) (1 diff)
-
vela-companion.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
vela-companion/trunk/inc/templates-importer/templates-importer.php
r1919706 r1920326 259 259 } 260 260 261 $template = download_url( esc_url( $template_url ) );262 $_FILES['file']['tmp_name'] = $template ;261 $template_file = download_url( esc_url( $template_url ) ); 262 $_FILES['file']['tmp_name'] = $template_file; 263 263 264 264 $pathinfo = pathinfo($template_url); … … 266 266 $elementor = new \Elementor\TemplateLibrary\Source_Local; 267 267 268 $result = $elementor->import_template($pathinfo['basename'], $template );269 unlink( $template );268 $result = $elementor->import_template($pathinfo['basename'], $template_file); 269 unlink( $template_file ); 270 270 271 271 if(isset($result->template_id)){ -
vela-companion/trunk/readme.txt
r1919706 r1920326 33 33 == Changelog == 34 34 35 = 1.0.9 = 36 * Fixed templates importer issue. 37 35 38 = 1.0.8 = 36 39 * Fixed undefined method for old elementor versions. -
vela-companion/trunk/vela-companion.php
r1919706 r1920326 5 5 Author: VelaThemes 6 6 Author URI: https://velathemes.com/ 7 Version: 1.0. 87 Version: 1.0.9 8 8 Text Domain: vela-companion 9 9 Domain Path: /languages … … 14 14 15 15 define( 'VELA_COMPANION_DIR', plugin_dir_path( __FILE__ ) ); 16 define( 'VELA_COMPANION_VER', '1.0. 8' );16 define( 'VELA_COMPANION_VER', '1.0.9' ); 17 17 18 18 require_once 'inc/widget-recent-posts.php';
Note: See TracChangeset
for help on using the changeset viewer.