mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2025-10-16 12:05:38 +00:00
Fell the dead wood. No point keeping a function as deprecated we only just introduced. See #13747
git-svn-id: https://develop.svn.wordpress.org/trunk@15230 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
ec9f6d34cb
commit
2eb10a9ab8
@ -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