mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-08-16 23:00:21 +00:00
Docs: In various @return tags, list the expected type first, instead of false.
Follow-up to [46696], [47060], [49926], [49927], [49929]. See #51800. git-svn-id: https://develop.svn.wordpress.org/trunk@49963 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -4724,7 +4724,7 @@ function get_ancestors( $object_id = 0, $object_type = '', $resource_type = '' )
|
||||
*
|
||||
* @param int $term_id Term ID.
|
||||
* @param string $taxonomy Taxonomy name.
|
||||
* @return int|false False on error.
|
||||
* @return int|false Parent term ID on success, false on failure.
|
||||
*/
|
||||
function wp_get_term_taxonomy_parent_id( $term_id, $taxonomy ) {
|
||||
$term = get_term( $term_id, $taxonomy );
|
||||
|
||||
Reference in New Issue
Block a user