PluginProbe
Templately – Elementor & Gutenberg Template Library: 6500+ Free & Pro Ready Templates And Cloud! / 3.4.4
Templately – Elementor & Gutenberg Template Library: 6500+ Free & Pro Ready Templates And Cloud! v3.4.4
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/Customizer.php +4 -3 3.0.93.4.4 View file →
@@ -29,15 +29,16 @@
29 29 return __( 'Updating customizer settings.', 'templately' );
30 30 }
31 31
32 32 public function should_run( $data, $imported_data = [] ): bool {
33 - $params = $this->origin->get_request_params();
34 - return ! empty( $params['title'] ) || !empty( $params['slogan'] );
33 + return ! empty( $data['title'] ) || !empty( $data['slogan'] );
35 34 }
36 35
37 36 public function import( $data, $imported_data ): array {
38 - $params = $this->origin->get_request_params();
37 + $params = $data;
39 38 $customizer = [];
39 +
40 + $this->log( 0 );
40 41
41 42 if( ! empty( $params['title'] ) ) {
42 43 $customizer[] = 'title';
43 44 // set_theme_mod( 'blogname', $params['title'] );