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/class-wp-theme-json.php

    r59474 r59499  
    13181318     *                          - `styles`: only the styles section in theme.json.
    13191319     *                          - `presets`: only the classes for the presets.
     1320     *                          - `base-layout-styles`: only the base layout styles.
     1321     *                          - `custom-css`: only the custom CSS.
    13201322     * @param string[] $origins A list of origins to include. By default it includes VALID_ORIGINS.
    13211323     * @param array    $options {
Note: See TracChangeset for help on using the changeset viewer.