diff --git a/src/wp-includes/deprecated.php b/src/wp-includes/deprecated.php index 6f4be5bf38..634fd0f1b6 100644 --- a/src/wp-includes/deprecated.php +++ b/src/wp-includes/deprecated.php @@ -4496,3 +4496,18 @@ function wp_typography_get_css_variable_inline_style( $attributes, $feature, $cs // Return the actual CSS inline style e.g. `text-decoration:var(--wp--preset--text-decoration--underline);`. return sprintf( '%s:var(--wp--preset--%s--%s);', $css_property, $css_property, $slug ); } + +/** + * Determines whether global terms are enabled. + * + * @since 3.0.0 + * @since 6.1.0 This function now always returns false. + * @deprecated 6.1.0 + * + * @return bool Always returns false. + */ +function global_terms_enabled() { + _deprecated_function( __FUNCTION__, '6.1.0' ); + + return false; +} diff --git a/src/wp-includes/ms-deprecated.php b/src/wp-includes/ms-deprecated.php index 224dc1586d..a0553421d5 100644 --- a/src/wp-includes/ms-deprecated.php +++ b/src/wp-includes/ms-deprecated.php @@ -730,20 +730,6 @@ function update_user_status( $id, $pref, $value, $deprecated = null ) { return $value; } -/** - * Determines whether global terms are enabled. - * - * @since 3.0.0 - * @since 6.1.0 This function now always returns false. - * @deprecated 6.1.0 - * - * @return bool Always returns false. - */ -function global_terms_enabled() { - _deprecated_function( __FUNCTION__, '6.1.0' ); - - return false; -} /** * Maintains a canonical list of terms by syncing terms created for each blog with the global terms table.