Changeset 51300 for trunk/src/wp-includes/block-supports/elements.php
- Timestamp:
- 07/01/2021 09:11:48 PM (4 years ago)
- File:
-
- 1 edited
-
trunk/src/wp-includes/block-supports/elements.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/block-supports/elements.php
r51299 r51300 13 13 * @access private 14 14 * 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. 18 18 */ 19 19 function wp_render_elements_support( $block_content, $block ) { … … 24 24 25 25 /* 26 * For now we only care about link color.27 * This code in the future when we have a public API28 * should take advantage of WP_Theme_JSON::compute_style_properties29 * 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 */ 31 31 if ( null === $link_color ) { 32 32 return $block_content;
Note: See TracChangeset
for help on using the changeset viewer.