Boone Gorges 5c0ddb8602 Default $parent in category_exists() should default to null rather than 0.
[29863] made the corresponding change in `term_exists()`. Failure to change the
default value in `category_exists()` meant that an unspecified value for
`$parent` would limit results to top-level categories.

Includes unit tests and corrected function documentation.

Props hissy.
Fixes #30975 for trunk.
Built from https://develop.svn.wordpress.org/trunk@31140


git-svn-id: http://core.svn.wordpress.org/trunk@31121 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-01-11 01:26:27 +00:00
..
2014-11-25 06:12:22 +00:00
2014-12-18 17:55:22 +00:00
2015-01-10 05:29:22 +00:00
2015-01-10 21:59:22 +00:00
2015-01-10 22:11:22 +00:00
2015-01-10 05:29:22 +00:00
2015-01-10 05:29:22 +00:00
2015-01-10 05:29:22 +00:00
2015-01-10 05:29:22 +00:00
2015-01-08 05:03:23 +00:00
2014-12-09 11:27:22 +00:00