Changeset 31046 for trunk/tests/phpunit/includes/utils.php
- Timestamp:
- 01/04/2015 08:05:53 PM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/tests/phpunit/includes/utils.php
r30528 r31046 332 332 } 333 333 334 /** 335 * Unregister a post status. 336 * 337 * @since 4.2.0 338 * 339 * @param string $status 340 */ 341 function _unregister_post_status( $status ) { 342 unset( $GLOBALS['wp_post_statuses'][ $status ] ); 343 } 344 334 345 function _cleanup_query_vars() { 335 346 // clean out globals to stop them polluting wp and wp_query
Note: See TracChangeset
for help on using the changeset viewer.