Skip to content

Conversation

@daniyalahmadk
Copy link
Contributor

@daniyalahmadk daniyalahmadk commented Jul 24, 2022

#31947 fixed the issue by type casting from string to float.

All Submissions:

Changes proposed in this Pull Request:

Closes #31947.

How to test the changes in this Pull Request:

Under PHP 8 follow the testing instructions of #31947.

Other information:

  • [ x] Have you added an explanation of what your changes do and why you'd like us to include them?
  • [x ] Have you written new tests for your changes, as applicable?
  • [ x] Have you successfully run tests with your changes locally?
  • Have you created a changelog file for each project being changed, ie pnpm changelog add --filter=<project>?

FOR PR REVIEWER ONLY:

  • I have reviewed that everything is sanitized/escaped appropriately for any SQL or XSS injection possibilities. I made sure Linting is not ignored or disabled.

woocommerce#31947 fixed the issue by type casting from string to float.
@github-actions github-actions bot added the plugin: woocommerce Issues related to the WooCommerce Core plugin. label Jul 24, 2022
@daniyalahmadk daniyalahmadk requested a review from Konamiman July 24, 2022 14:27
daniyalahmadk and others added 2 commits July 26, 2022 13:53
@Konamiman Konamiman changed the title Update class-wx-admin-post-types.php Fix fatal error when bulk editing sale price to empty value in PHP 8 Jul 28, 2022
@Konamiman Konamiman merged commit 94cc85b into woocommerce:trunk Jul 28, 2022
@github-actions github-actions bot added this to the 6.9.0 milestone Jul 28, 2022
@github-actions
Copy link
Contributor

Hi @Konamiman, thanks for merging this pull request. Please take a look at these follow-up tasks you may need to perform:

  • Add the release: add testing instructions label

@Konamiman Konamiman added the release: add testing instructions PRs that have not had testing instructions added to the wiki. [auto] label Aug 1, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

plugin: woocommerce Issues related to the WooCommerce Core plugin. release: add testing instructions PRs that have not had testing instructions added to the wiki. [auto]

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Fatal error when saving a bulk edit when set Set to regular price decreased by (fixed amount or %): as empty

2 participants