Changeset 52302 for trunk/src/wp-includes/block-supports/dimensions.php
- Timestamp:
- 12/01/2021 11:14:22 PM (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/block-supports/dimensions.php
r52069 r52302 41 41 42 42 /** 43 * Add CSS classes for block dimensions to the incoming attributes array.43 * Adds CSS classes for block dimensions to the incoming attributes array. 44 44 * This will be applied to the block markup in the front-end. 45 45 * … … 49 49 * @param WP_Block_Type $block_type Block Type. 50 50 * @param array $block_attributes Block attributes. 51 *52 51 * @return array Block dimensions CSS classes and inline styles. 53 52 */ … … 73 72 * 74 73 * @param WP_Block_type $block_type Block type. 75 * 76 * @return boolean Whether to serialize spacing support styles & classes. 74 * @return bool Whether to serialize spacing support styles & classes. 77 75 */ 78 76 function wp_skip_dimensions_serialization( $block_type ) {
Note:
See TracChangeset
for help on using the changeset viewer.