This allows 'action' key (API action) to be included in the $request for the validate Action.
Also fixes caching. API validation (and all other API calls) won't work correctly when the cache option is enabled, since the cached table returns results for API calls with the same request parameters, even if Entity and Action are different. This is because the request hash is being built ONLY using the request parameters.
Now Entity and Action are added back into the request hash.
Address validation expects an Action and an action parameter.
This allows 'action' key (API action) to be included in the $request for the validate Action.
Also fixes caching. API validation (and all other API calls) won't work correctly when the cache option is enabled, since the cached table returns results for API calls with the same request parameters, even if Entity and Action are different. This is because the request hash is being built ONLY using the request parameters.
Now Entity and Action are added back into the request hash.