WordPress.org

Make WordPress Core


Ignore:
Timestamp:
07/01/2021 09:09:04 PM (3 months ago)
Author:
johnbillion
Message:

Docs: Miscellaneous formatting corrections for docblocks.

See #53399

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-includes/block-supports/elements.php

    r51051 r51299  
    1313 * @access private
    1414 *
    15  * @param  string $block_content Rendered block content.
    16  * @param  array  $block         Block object.
    17  * @return string                Filtered block content.
     15 * @param string $block_content Rendered block content.
     16 * @param array  $block         Block object.
     17 * @return string Filtered block content.
    1818 */
    1919function wp_render_elements_support( $block_content, $block ) {
     
    2424
    2525    /*
    26     * For now we only care about link color.
    27     * This code in the future when we have a public API
    28     * should take advantage of WP_Theme_JSON::compute_style_properties
    29     * and work for any element and style.
    30     */
     26     * For now we only care about link color.
     27     * This code in the future when we have a public API
     28     * should take advantage of WP_Theme_JSON::compute_style_properties
     29     * and work for any element and style.
     30     */
    3131    if ( null === $link_color ) {
    3232        return $block_content;
Note: See TracChangeset for help on using the changeset viewer.