Tests: Cover is_protected_ajax_action().
is_protected_ajax_action()
Verify Ajax preconditions, built-in protected actions, unknown actions, and filtered additions. Use the Ajax filter to avoid unnecessary process isolation.
Developed in: https://github.com/WordPress/wordpress-develop/pull/14473
Props shailu25, mukesh27. See #65819.