Skip to content

Commit 918f44e

Browse files
authored
Merge develop into master
2 parents 0ef1be3 + 8caa9d1 commit 918f44e

File tree

3 files changed

+9
-3
lines changed

3 files changed

+9
-3
lines changed

includes/admin-functions.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -133,7 +133,7 @@ function hello_elementor_fail_load_admin_notice() {
133133
} );</script>
134134
<div class="notice updated is-dismissible hello-elementor-notice hello-elementor-install-elementor">
135135
<div class="hello-elementor-notice-aside">
136-
<img src="<?php echo get_template_directory_uri() . '/assets/images/elementor-notice-icon.svg'; ?>" alt="Get Elementor" />
136+
<img src="<?php echo esc_url( get_template_directory_uri() ) . '/assets/images/elementor-notice-icon.svg'; ?>" alt="<?php _e( 'Get Elementor', 'hello-elementor' ); ?>" />
137137
</div>
138138
<div class="hello-elementor-notice-inner">
139139
<div class="hello-elementor-notice-content">

includes/customizer-functions.php

+7-1
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,13 @@ function hello_customizer_register( $wp_customize ) {
2121
]
2222
);
2323

24-
$wp_customize->add_setting( 'hello-elementor-header-footer', [ 'transport' => 'refresh' ] );
24+
$wp_customize->add_setting(
25+
'hello-elementor-header-footer',
26+
[
27+
'sanitize_callback' => false,
28+
'transport' => 'refresh',
29+
]
30+
);
2531

2632
$wp_customize->add_control(
2733
new HelloElementor\Includes\Customizer\Elementor_Upsell(

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
"slug": "elementor-hello-theme",
44
"homepage": "https://elementor.com/",
55
"description": "A sample theme for Elementor.",
6-
"version": "2.3.1",
6+
"version": "2.4.0",
77
"last_beta_version": "2.4.0-beta3",
88
"scripts": {
99
"update-version": "node .github/scripts/update-version-in-files.js",

0 commit comments

Comments
 (0)