Some parts of the app rely on 'fetchSystemPluginWithPath' calls which could break if API starts returning a different path. Example:
pdfdoF-3pF-p2
peaMlT-PG-p2#comment-2059
We call this method with a hardcoded path we define in the code. We should either improve fetchSystemPluginWith to be more flexible or rely on a different identifier than path.
Describe the bug
Some parts of the app rely on 'fetchSystemPluginWithPath' calls which could break if API starts returning a different path. Example:
We call this method with a hardcoded path we define in the code. We should either improve
fetchSystemPluginWith
to be more flexible or rely on a different identifier than path.To Reproduce Steps to reproduce the behavior:
woocommerce-gift-cards/woocommerce-gift-cards
checkIfGiftCardsPluginIsActive
Screenshots If applicable, add screenshots to help explain your problem.
Expected behavior A clear and concise description of what you expected to happen.
Isolating the problem (mark completed items with an [x]):
Mobile Environment Please include:
WordPress Environment