Go to file
Gary Pendergast d55c605242 WPDB: Fall back to the connection charset when sanity checking strings.
If `DB_CHARSET` isn't defined (or is empty), `wpdb::$charset` will be empty, too. `wpdb::strip_invalid_text()` assumes that it isn't empty, however, so we need to fall back to the connection character set when we're running our sanity checks.

Fixes #34708.



git-svn-id: https://develop.svn.wordpress.org/trunk@35655 602fd350-edb4-49c9-b593-d223f7449a82
2015-11-17 06:12:08 +00:00
src WPDB: Fall back to the connection charset when sanity checking strings. 2015-11-17 06:12:08 +00:00
tests WPDB: Fall back to the connection charset when sanity checking strings. 2015-11-17 06:12:08 +00:00
tools/i18n i18n tools: Use https for `msgid-bugs-address` URLs. 2015-07-27 19:37:13 +00:00
.editorconfig
.gitignore Remove an IDE-specific rule in `.gitignore`. These should be managed in the user's `~/.gitignore_global` file. 2015-10-18 00:15:23 +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 Remove PHP 7 from allowed failures list 2015-11-12 21:44:24 +00:00
Gruntfile.js Build Tools: Update the `preserveComments` option for `uglify:jqueryui`. 2015-11-07 12:36:24 +00:00
package.json Build Tools: Update `autoprefixer` to 0.6.1. 2015-11-07 11:56:26 +00:00
phpunit.xml.dist Unit Tests: add `SpeedTrapListener` to `phpunit/includes` and add the config node to `phpunit.xml.dist`. 2015-10-16 00:27:28 +00:00
wp-cli.yml
wp-config-sample.php
wp-tests-config-sample.php