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

Better clearing of session messages after display #3326

Merged
merged 4 commits into from
Jul 12, 2023

Conversation

kyrena
Copy link
Contributor

@kyrena kyrena commented Jun 16, 2023

Description

Rarely, I viewed flash notices two times on the same page, because multiple blocks call <?php echo $this->getMessagesBlock()->getGroupedHtml() ?>.

So this PR prevent that.

Contribution checklist

  • Pull request has a meaningful description of its purpose
  • All commits are accompanied by meaningful commit messages
  • All automated tests passed successfully (all builds are green)
  • Add yourself to contributors list

@github-actions github-actions bot added the Component: Core Relates to Mage_Core label Jun 16, 2023
ADDISON74
ADDISON74 previously approved these changes Jun 16, 2023
app/code/core/Mage/Core/Block/Messages.php Outdated Show resolved Hide resolved
@fballiano fballiano changed the title Cleared messages after display Better clearing of session messages after display Jul 12, 2023
@fballiano fballiano merged commit ef99684 into OpenMage:main Jul 12, 2023
15 checks passed
@kyrena kyrena deleted the clearmsgs branch August 4, 2023 16:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Component: Core Relates to Mage_Core
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants