Wordpress/tests/phpunit/tests/admin
Peter Wilson f62112fa16 Posts, Post Types: Improve sanitisation of templates' post types.
Prevents post type templates ignoring post types due to invalid characters. Each entry in the `Template Post Type` comment is run through `sanitize_key()` to match the sanitisation used by `register_post_type()`.

Fixes #38766.


git-svn-id: https://develop.svn.wordpress.org/trunk@39236 602fd350-edb4-49c9-b593-d223f7449a82
2016-11-15 03:36:13 +00:00
..
includesComment.php Unit Tests: 2016-08-27 08:35:16 +00:00
includesFile.php Unit Tests: 2016-08-27 08:35:16 +00:00
includesListTable.php List Tables: Do not show filter button when there are no filter options available. 2016-10-21 10:32:55 +00:00
includesMisc.php
includesPlugin.php Unit Tests: after [35225], make `factory` a method/getter on `WP_UnitTestCase` and add magic methods for BC for every plugin that is extending `WP_UnitTestCase` and accessing the `$factory` instance prop. 2015-10-17 18:02:16 +00:00
includesPost.php Posts, Post Types: Prevent users from being able to delete a protected meta field from a post. 2016-10-31 19:29:07 +00:00
includesScreen.php Build/Test Tools: Continue eliminating randomness in tests. 2016-10-09 01:29:04 +00:00
includesTemplate.php Administration: Add the ability to pass an array of screen IDs to `add_meta_box()` and `remove_meta_box()`. 2015-10-08 19:06:32 +00:00
includesTheme.php Posts, Post Types: Improve sanitisation of templates' post types. 2016-11-15 03:36:13 +00:00
includesUpdateCore.php Build/Test Tools: Utilise `assertFileExists()` and `assertFileNotExists()` in more places. 2016-11-08 23:49:11 +00:00