wordpress-develop/tests/phpunit/tests/post
Dominik Schilling (ocean90) 586cb2b140 Nav Menu: Remove post/page items from the Nav Menu when the post/page is deleted.
This was broken through a change in [25163]. `_menu_item_object` in wp_get_associated_nav_menu_items() is not relevant for post types.
Adds unit tests.

props UmeshSingla for initial patch.
fixes #26795.

git-svn-id: https://develop.svn.wordpress.org/trunk@27150 602fd350-edb4-49c9-b593-d223f7449a82
2014-02-09 21:36:15 +00:00
..
attachments.php Set the default parent id to 0, instead of -1, in Tests_Post_Attachments::_make_attachment(). Prevents Out of range value for column 'post_parent' database error without papering over it in core. 2013-11-04 21:39:35 +00:00
filtering.php Move PHPUnit tests into a tests/phpunit directory. 2013-08-29 18:39:34 +00:00
formats.php Move PHPUnit tests into a tests/phpunit directory. 2013-08-29 18:39:34 +00:00
gallery.php Move PHPUnit tests into a tests/phpunit directory. 2013-08-29 18:39:34 +00:00
getPages.php Move the unit test added in [25974] to the more appropriate file. see #25750. 2013-10-29 01:47:48 +00:00
meta.php Move PHPUnit tests into a tests/phpunit directory. 2013-08-29 18:39:34 +00:00
nav-menu.php Nav Menu: Remove post/page items from the Nav Menu when the post/page is deleted. 2014-02-09 21:36:15 +00:00
objects.php Move PHPUnit tests into a tests/phpunit directory. 2013-08-29 18:39:34 +00:00
output.php Move PHPUnit tests into a tests/phpunit directory. 2013-08-29 18:39:34 +00:00
query.php Use assertEqualSets() instead of direct array comparison. 2013-12-01 00:42:39 +00:00
revisions.php Move PHPUnit tests into a tests/phpunit directory. 2013-08-29 18:39:34 +00:00
slashes.php Move PHPUnit tests into a tests/phpunit directory. 2013-08-29 18:39:34 +00:00
types.php Move PHPUnit tests into a tests/phpunit directory. 2013-08-29 18:39:34 +00:00