Don't strip \0 (backslash+zero) from post content for users without "unfiltered_html"

Adds unit tests.

Props miqrogroove.
Fixes #28699.

Built from https://develop.svn.wordpress.org/trunk@32860


git-svn-id: http://core.svn.wordpress.org/trunk@32831 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
Scott Taylor
2015-06-19 18:47:27 +00:00
parent a28586a6d7
commit 32dabc1f90
2 changed files with 12 additions and 5 deletions

View File

@@ -4,7 +4,7 @@
*
* @global string $wp_version
*/
$wp_version = '4.3-alpha-32859';
$wp_version = '4.3-alpha-32860';
/**
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.