PluginProbe
Templately – Elementor & Gutenberg Template Library: 6500+ Free & Pro Ready Templates And Cloud! / 3.1.3
Templately – Elementor & Gutenberg Template Library: 6500+ Free & Pro Ready Templates And Cloud! v3.1.3
3.7.5 3.7.4 3.7.3 3.7.2 1-final 3.7.1 3.7.0 3.6.8 3.6.7 3.6.6 3.6.5 3.6.4 3.6.3 3.6.2 3.6.1 3.0.3 3.0.4 3.0.5 3.0.6 3.0.7 3.0.8 3.0.9 3.1.0 3.1.1 3.1.10 All 111 releases
← All changes | includes/Core/Importer/Runners/Finalizer.php +3 -2 3.0.43.1.3 View file →
@@ -61,9 +61,9 @@
61 61 if ( empty( $templates ) || ! is_array( $templates ) ) {
62 62 return;
63 63 }
64 64 foreach ( $templates as $id => $template ) {
65 - if ( ! isset( $template['data'] ) && !isset( $template['__attachments']) ) {
65 + if ( ! isset( $template['data'] ) && !isset( $template['__attachments']) && !isset($template['has_logo']) ) {
66 66 continue;
67 67 }
68 68
69 69 // if ( ! isset( $template['data']['form'] ) && ! isset( $template['data']['nav_menus'] )) {
@@ -128,9 +128,10 @@
128 128 $path .= $this->sub_type . DIRECTORY_SEPARATOR;
129 129 }
130 130 $path .= "{$old_template_id}.json";
131 131 $template_json = Utils::read_json_file( $path );
132 - $this->json->prepare( $template_json, $template_settings, $this->extra_content['form'][ $old_template_id ] ?? [] )->update();
132 + $params = $this->origin->get_request_params();
133 + $this->json->prepare( $template_json, $template_settings, $this->extra_content['form'][ $old_template_id ] ?? [], $params )->update();
133 134
134 135 // Broadcast Log
135 136 $this->processed_items += 1;
136 137 $progress = floor( ( 100 * $this->processed_items ) / $this->total_counts );