mirror of
https://github.com/WordPress/WordPress.git
synced 2024-12-22 17:18:32 +01:00
Fell the dead wood. No point keeping a function as deprecated we only just introduced. See #13747
git-svn-id: http://svn.automattic.com/wordpress/trunk@15230 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
6310ca6f21
commit
fae09eb1d1
@ -2514,22 +2514,6 @@ function trackback_rdf($deprecated = '') {
|
||||
return '';
|
||||
}
|
||||
|
||||
/**
|
||||
* Checks if a post type is registered.
|
||||
*
|
||||
* @since 3.0.0
|
||||
* @deprecated 3.0.0
|
||||
* @deprecated Use post_type_exists()
|
||||
* @see post_type_exists()
|
||||
*
|
||||
* @param string Post type name
|
||||
* @return bool Whether post type is registered.
|
||||
*/
|
||||
function is_post_type( $post_type ) {
|
||||
_deprecated_function( __FUNCTION__, '3.0', 'post_type_exists()' );
|
||||
return post_type_exists( $post_type );
|
||||
}
|
||||
|
||||
/**
|
||||
* Checks that the taxonomy name exists.
|
||||
*
|
||||
|
Loading…
Reference in New Issue
Block a user