Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Footer [TMZ-61] #33

Merged
merged 48 commits into from
Oct 22, 2024
Merged

Footer [TMZ-61] #33

merged 48 commits into from
Oct 22, 2024

Conversation

mserino
Copy link
Contributor

@mserino mserino commented Oct 21, 2024

mserino and others added 30 commits October 1, 2024 18:48
…title

# Conflicts:
#	modules/template-parts/classes/render/widget-header-render.php
#	modules/template-parts/scss/breakpoints.scss
#	modules/template-parts/scss/variables.scss
#	modules/template-parts/widgets/header.php
…title

# Conflicts:
#	modules/template-parts/scss/hello-plus-header.scss
use wp native function for site logo / title/ url
# Conflicts:
#	modules/template-parts/assets/scss/hello-plus-header.scss
#	modules/template-parts/classes/render/widget-header-render.php
#	modules/template-parts/widgets/header.php
@mserino mserino requested a review from nuritsha October 21, 2024 09:23
@mserino mserino self-assigned this Oct 21, 2024
@mserino mserino requested a review from nuritsha October 22, 2024 09:24
Copy link
Collaborator

@nuritsha nuritsha left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

minor changes, see suggestions

'class' => $footer_icons_classnames,
] );
?>
<div <?php echo $this->widget->print_render_attribute_string( 'icons' ); // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped ?>>
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

no need to echo, the method already does that

Suggested change
<div <?php echo $this->widget->print_render_attribute_string( 'icons' ); // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped ?>>
<div <?php $this->widget->print_render_attribute_string( 'icons' ); ?>>

?>

<?php if ( ! empty( $text ) ) : ?>
<a <?php echo $this->widget->print_render_attribute_string( 'icon-' . $key ); // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped ?>>
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
<a <?php echo $this->widget->print_render_attribute_string( 'icon-' . $key ); // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped ?>>
<a <?php $this->widget->print_render_attribute_string( 'icon-' . $key ); ?>>

] );
?>
<div class="ehp-footer__contact-container">
<div <?php echo $this->widget->print_render_attribute_string( 'contact' ); // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped ?>>
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
<div <?php echo $this->widget->print_render_attribute_string( 'contact' ); // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped ?>>
<div <?php $this->widget->print_render_attribute_string( 'contact' ); ?>>

@nuritsha nuritsha merged commit b35d80c into elementor:master Oct 22, 2024
4 of 5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants