Skip to content

Commit

Permalink
Lint
Browse files Browse the repository at this point in the history
  • Loading branch information
rami-elementor committed Dec 21, 2023
1 parent 0390cec commit 918693f
Showing 1 changed file with 13 additions and 4 deletions.
17 changes: 13 additions & 4 deletions includes/customizer/customizer-action-links.php
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,16 @@ private function print_customizer_action_links() {
get_template_directory_uri() . '/assets/images/elementor.svg',
esc_html__( 'Install Elementor', 'hello-elementor' ),
esc_html__( 'Create cross-site header & footer using Elementor.', 'hello-elementor' ),
wp_nonce_url( add_query_arg( [ 'action' => 'install-plugin', 'plugin' => 'elementor', ], admin_url( 'update.php' ) ), 'install-plugin_elementor' ),
wp_nonce_url(
add_query_arg(
[
'action' => 'install-plugin',
'plugin' => 'elementor',
],
admin_url( 'update.php' )
),
'install-plugin_elementor'
),
esc_html__( 'Install Elementor', 'hello-elementor' )
);
} elseif ( ! defined( 'ELEMENTOR_VERSION' ) ) {
Expand Down Expand Up @@ -84,10 +93,10 @@ private function print_customizer_action_links() {
*/
private function get_customizer_action_links_html( $image, $title, $text, $url, $button_text ) {
return sprintf(
'<div class="hello-action-links">
'<div class="hello-action-links">
<img src="%1$s">
<p class="hello-action-links-title">%2$s</p>
<p class="hello-action-links-message">%3$s</p>
<p class="hello-action-links-title">%2$s</p>
<p class="hello-action-links-message">%3$s</p>
<a class="button button-primary" target="_blank" href="%4$s">%5$s</a>
</div>',
$image,
Expand Down

0 comments on commit 918693f

Please sign in to comment.