Go to file
John Blackbourn ec70d962ca Build/Test tools: Don't override the wp_set_auth_cookie() and wp_clear_auth_cookie() functions.
Overriding pluggable functions in the test suite is asking for trouble in the future. In addition, it means the test suite can't be guaranteed to behave the same as core.

This instead introduces a `send_auth_cookies` filter which can be hooked in during the test suite to prevent these functions from attempting to send cookie headers to the client.

Fixes #39367

Merges [40263] and [40264]  to the 4.7 branch.


git-svn-id: https://develop.svn.wordpress.org/branches/4.7@40265 602fd350-edb4-49c9-b593-d223f7449a82
2017-03-10 15:05:36 +00:00
src Build/Test tools: Don't override the wp_set_auth_cookie() and wp_clear_auth_cookie() functions. 2017-03-10 15:05:36 +00:00
tests Build/Test tools: Don't override the wp_set_auth_cookie() and wp_clear_auth_cookie() functions. 2017-03-10 15:05:36 +00:00
tools/i18n DOCS: Replace HTTP links with HTTPS. 2016-06-10 04:49:09 +00:00
.editorconfig Use HTTPS URLs for codex.wordpress.org. 2015-04-12 21:28:58 +00:00
.gitignore Revert [38401] after [38480]. 2016-09-06 18:12:09 +00:00
.jshintrc Build: Prevent non-breaking spaces from accidentally being inserted into JavaScript files. 2015-11-12 12:04:55 +00:00
.travis.yml Build/Test Tools: Update .travis.yml to include latest improvements from trunk. 2017-03-09 22:01:32 +00:00
Gruntfile.js REST API: Add QUnit tests for wp-api.js and PHPUnit fixture generation. 2017-02-24 22:33:05 +00:00
npm-shrinkwrap.json Build: Remove fsevents from npm-shrinkwrap.json 2016-11-29 04:02:23 +00:00
package.json Post-4.7.3 version bump for 4.7 branch. 2017-03-06 18:51:44 +00:00
phpunit.xml.dist oEmbed: Remove the oEmbed provider unit tests. 2016-10-20 09:15:10 +00:00
wp-cli.yml Remove debug mode from WP-CLI by default, as it now outputs too much debugging information to be of use during normal development. 2015-11-28 18:36:06 +00:00
wp-config-sample.php Lightly clean up and improve inline documentation in wp-config-sample.php. 2015-05-10 00:05:30 +00:00
wp-tests-config-sample.php Tests: Use a minimal theme for tests. 2016-10-21 11:02:37 +00:00