Wordpress/tests
Aaron Jorbin 40946e984a General: wp_safe_redirect() and wp_redirect() shouldn't allow non-3xx status codes
Redirects should use redirect status codes and if you attempt to call wp_safe_redirect or wp_redirect with a non redirect status it can lead to undesired behavior and head scratching.

Fixes #44317.
Props spenserhale, johnbillion, mjnewman for initial patch.



git-svn-id: https://develop.svn.wordpress.org/trunk@46641 602fd350-edb4-49c9-b593-d223f7449a82
2019-11-03 22:08:56 +00:00
..
e2e Block Editor: Update the WordPress Packages to the ones used in the Gutenberg 6.5 release 2019-09-19 15:17:39 +00:00
phpunit General: wp_safe_redirect() and wp_redirect() shouldn't allow non-3xx status codes 2019-11-03 22:08:56 +00:00
qunit Block Editor: Remove experimental Social Links blocks 2019-10-15 15:35:03 +00:00