Changeset 54240 for trunk/src/wp-includes/ms-deprecated.php
- Timestamp:
- 09/20/2022 02:49:25 AM (2 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/ms-deprecated.php
r53458 r54240 731 731 return $value; 732 732 } 733 /** 734 * Determines whether global terms are enabled. 735 * 736 * @since 3.0.0 737 * @since 6.1.0 This function now always returns false. 738 * @deprecated 6.1.0 739 * 740 * @return bool Always returns false. 741 */ 742 function global_terms_enabled() { 743 _deprecated_function( __FUNCTION__, '6.1.0' ); 744 745 return false; 746 } 747 748 /** 749 * Maintains a canonical list of terms by syncing terms created for each blog with the global terms table. 750 * 751 * @since 3.0.0 752 * @since 6.1.0 This function no longer does anything. 753 * @deprecated 6.1.0 754 * 755 * @param int $term_id An ID for a term on the current blog. 756 * @param string $deprecated Not used. 757 * @return int An ID from the global terms table mapped from $term_id. 758 */ 759 function global_terms( $term_id, $deprecated = '' ) { 760 _deprecated_function( __FUNCTION__, '6.1.0' ); 761 762 return $term_id; 763 }
Note: See TracChangeset
for help on using the changeset viewer.