Files
wordpress/wp-includes
Boone Gorges 587599c54f Don't bail out of term_exists() when term sanitizes to an empty string.
This change brings return values for failures of this sort in line with other
failed lookups in term_exists(): a null value is now returned in all cases
where the queried term is not found.

Adds unit test for the sanitization issue. Modifies existing unit test to
reflect the change in return value for empty term strings.

Props boonebgorges, georgestephanis.
Fixes #29589.
Built from https://develop.svn.wordpress.org/trunk@29865


git-svn-id: http://core.svn.wordpress.org/trunk@29625 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-10-09 03:16:18 +00:00
..
2014-09-11 19:07:17 +00:00
2014-10-07 15:28:24 +00:00
2014-08-09 19:30:17 +00:00
2014-08-09 19:30:17 +00:00
2014-06-10 00:30:15 +00:00
2014-09-29 04:07:15 +00:00
2014-09-12 05:51:17 +00:00
2014-10-07 15:28:24 +00:00
2014-09-29 04:07:15 +00:00
2014-07-09 18:07:16 +00:00