Make WordPress Core

Changeset 56828

Timestamp:
10/11/2023 03:14:01 PM (10 months ago)
Author:
flixos90
Message:

Editor: Add further test coverage for wp_render_elements_support().

Props dmsnell, aaronrobertshaw.
Fixes #59578.

Location:
trunk
Files:
2 edited

Legend:

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

    r56807 r56828  
    3737
    3838    $block_type = WP_Block_Type_Registry::get_instance()->get_registered( $block['blockName'] );
     39
     40
     41
    3942
    4043    $element_color_properties = array(
  • trunk/tests/phpunit/tests/block-supports/wpRenderElementsSupport.php

    r56806 r56828  
    1717        $this->test_block_name = null;
    1818        parent::tear_down();
     19
     20
     21
     22
     23
     24
     25
     26
     27
     28
     29
     30
     31
     32
     33
     34
     35
     36
     37
     38
     39
     40
     41
     42
     43
     44
     45
     46
     47
     48
     49
     50
     51
    1952    }
    2053
     
    6598            $expected_markup,
    6699            $actual,
    67             'Position block wrapper markup should be correct'
     100            'lock wrapper markup should be correct'
    68101        );
    69102    }
     
    81114
    82115        return array(
     116
     117
     118
     119
     120
     121
     122
     123
     124
     125
     126
     127
     128
     129
     130
     131
     132
     133
     134
     135
     136
     137
     138
     139
     140
     141
     142
     143
    83144            'button element styles with serialization skipped' => array(
    84145                'color_settings'  => array(
Note: See TracChangeset for help on using the changeset viewer.