Ticket #21734: 54240.diff
File 54240.diff, 1.4 KB (added by , 2 years ago) |
---|
-
src/wp-includes/deprecated.php
4496 4496 // Return the actual CSS inline style e.g. `text-decoration:var(--wp--preset--text-decoration--underline);`. 4497 4497 return sprintf( '%s:var(--wp--preset--%s--%s);', $css_property, $css_property, $slug ); 4498 4498 } 4499 4500 /** 4501 * Determines whether global terms are enabled. 4502 * 4503 * @since 3.0.0 4504 * @since 6.1.0 This function now always returns false. 4505 * @deprecated 6.1.0 4506 * 4507 * @return bool Always returns false. 4508 */ 4509 function global_terms_enabled() { 4510 _deprecated_function( __FUNCTION__, '6.1.0' ); 4511 4512 return false; 4513 } -
src/wp-includes/ms-deprecated.php
730 730 731 731 return $value; 732 732 } 733 /**734 * Determines whether global terms are enabled.735 *736 * @since 3.0.0737 * @since 6.1.0 This function now always returns false.738 * @deprecated 6.1.0739 *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 733 748 734 /** 749 735 * Maintains a canonical list of terms by syncing terms created for each blog with the global terms table.