You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Replace unnecessary throws with empty strings when input is invalid (#2374)
* Replace unnecessary throws with empty strings when input is invalid
Before, if the key input was invalid an error was thrown. In some cases,
the error was not caught and was throwing fatal exceptions. Now, an
empty string is returned when a key input is invalid. This follows the
same pattern that exists in the validators of:
'woocommerce/includes/abstracts/abstract-wc-settings-api.php'
* Update changelog: 'Replace unnecessary throws with empty string when...'
0 commit comments