Make WordPress Core


Ignore:
Timestamp:
12/09/2024 02:53:35 AM (2 months ago)
Author:
isabel_brison
Message:

Editor: Update docblocks for wp_get_global_stylesheet and WP_Theme_JSON::get_stylesheet.

Updates docblocks to account for new use of the custom-css string in their $types parameters and adds information to deprecation of wp_get_global_styles_custom_css.

Props justlevine, isabel_brison, ramonopoly.
Fixes #62665.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-includes/deprecated.php

    r59455 r59499  
    63176317 *
    63186318 * @since 6.2.0
    6319  * @deprecated 6.7.0 Use {@see 'wp_get_global_stylesheet'} instead.
     6319 * @deprecated 6.7.0 Use {@see 'wp_get_global_stylesheet'} instead for top-level custom CSS, or {@see 'WP_Theme_JSON::get_styles_for_block'} for block-level custom CSS.
    63206320 *
    63216321 * @return string The global styles custom CSS.
Note: See TracChangeset for help on using the changeset viewer.