Skip to content

Commit

Permalink
Merge develop into master
Browse files Browse the repository at this point in the history
  • Loading branch information
KingYes committed Jun 30, 2021
2 parents 0ef1be3 + 8caa9d1 commit 918f44e
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 3 deletions.
2 changes: 1 addition & 1 deletion includes/admin-functions.php
Original file line number Diff line number Diff line change
Expand Up @@ -133,7 +133,7 @@ function hello_elementor_fail_load_admin_notice() {
} );</script>
<div class="notice updated is-dismissible hello-elementor-notice hello-elementor-install-elementor">
<div class="hello-elementor-notice-aside">
<img src="<?php echo get_template_directory_uri() . '/assets/images/elementor-notice-icon.svg'; ?>" alt="Get Elementor" />
<img src="<?php echo esc_url( get_template_directory_uri() ) . '/assets/images/elementor-notice-icon.svg'; ?>" alt="<?php _e( 'Get Elementor', 'hello-elementor' ); ?>" />
</div>
<div class="hello-elementor-notice-inner">
<div class="hello-elementor-notice-content">
Expand Down
8 changes: 7 additions & 1 deletion includes/customizer-functions.php
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,13 @@ function hello_customizer_register( $wp_customize ) {
]
);

$wp_customize->add_setting( 'hello-elementor-header-footer', [ 'transport' => 'refresh' ] );
$wp_customize->add_setting(
'hello-elementor-header-footer',
[
'sanitize_callback' => false,
'transport' => 'refresh',
]
);

$wp_customize->add_control(
new HelloElementor\Includes\Customizer\Elementor_Upsell(
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"slug": "elementor-hello-theme",
"homepage": "https://elementor.com/",
"description": "A sample theme for Elementor.",
"version": "2.3.1",
"version": "2.4.0",
"last_beta_version": "2.4.0-beta3",
"scripts": {
"update-version": "node .github/scripts/update-version-in-files.js",
Expand Down

0 comments on commit 918f44e

Please sign in to comment.