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

Fixes #5762 warning undefined array key on theme rollback #5768

Merged
merged 1 commit into from Mar 15, 2023

Conversation

mostafa-hisham
Copy link
Contributor

Description

guard against Undefined array keys on theme rollback

Fixes #5762

Type of change

  • Bug fix (non-breaking change which fixes an issue)

Is the solution different from the one proposed during the grooming?

No, but i did the check for action and type too

How Has This Been Tested?

  • unit test
  • local environment same steps on the issue

Checklist:

  • My code follows the style guidelines of this project
  • I have performed a self-review of my own code
  • My changes generate no new warnings
  • New and existing unit tests pass locally with my changes

@mostafa-hisham mostafa-hisham self-assigned this Feb 17, 2023
@mostafa-hisham mostafa-hisham marked this pull request as ready for review February 17, 2023 04:27
@mostafa-hisham mostafa-hisham requested a review from a team February 17, 2023 04:27
@Mai-Saad Mai-Saad self-requested a review February 28, 2023 08:16
@Mai-Saad
Copy link

Mai-Saad commented Feb 28, 2023

Working fine while rollback/upgrade to theme(s)/plugins.

Note: we may need to have GH to clear cache when we rollback active theme as we do when updating active theme. @piotrbak what do you think?

@Tabrisrp Tabrisrp changed the title Fix warning Undefined array key on theme rollback Fixes #5762 warning undefined array key on theme rollback Mar 15, 2023
@Tabrisrp Tabrisrp added this pull request to the merge queue Mar 15, 2023
Merged via the queue into develop with commit ce97ddd Mar 15, 2023
@Tabrisrp Tabrisrp deleted the fix/5762-warning-on-rollback-theme branch March 15, 2023 14:49
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.

PHP Warning: Undefined array key when rollback any theme
4 participants