Make WordPress Core

Ticket #21734: 54240.diff

File 54240.diff, 1.4 KB (added by desrosj, 20 months ago)
  • src/wp-includes/deprecated.php

     
    44964496        // Return the actual CSS inline style e.g. `text-decoration:var(--wp--preset--text-decoration--underline);`.
    44974497        return sprintf( '%s:var(--wp--preset--%s--%s);', $css_property, $css_property, $slug );
    44984498}
     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 */
     4509function global_terms_enabled() {
     4510        _deprecated_function( __FUNCTION__, '6.1.0' );
     4511
     4512        return false;
     4513}
  • src/wp-includes/ms-deprecated.php

     
    730730
    731731        return $value;
    732732}
    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 }
    747733
    748734/**
    749735 * Maintains a canonical list of terms by syncing terms created for each blog with the global terms table.