- Adds new ConflictResolver class
- Executes URL query parameter conflict resolver action in Router class - Adds unit tests
This commit is contained in:
@ -37,6 +37,7 @@ class Router {
|
||||
if(!method_exists($endpoint, $this->action) || !in_array($this->action, $endpoint->allowed_actions)) {
|
||||
return $this->terminateRequest(self::RESPONSE_ERROR, __('Invalid router endpoint action.', 'mailpoet'));
|
||||
}
|
||||
do_action('mailpoet_conflict_url_query_parameters');
|
||||
return call_user_func(
|
||||
array(
|
||||
$endpoint,
|
||||
|
Reference in New Issue
Block a user