WordPress.org

Make WordPress Core


Ignore:
Timestamp:
06/15/2021 08:50:26 AM (3 months ago)
Author:
youknowriad
Message:

Block Editor: Update the WordPress packages with the fixes for 5.8 beta 2.

This includes:

Various

Template Editor

Widgets Editor

Global Styles (theme.json)

Performance

Props nosolosw, jorgefilipecosta, aristath, ntsekouras, peterwilsoncc, mcsf.
See #53397.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/tests/phpunit/tests/blocks/block-editor.php

    r51069 r51149  
    171171        $settings = get_default_block_editor_settings();
    172172
    173         $this->assertCount( 17, $settings );
     173        $this->assertCount( 16, $settings );
    174174        $this->assertFalse( $settings['alignWide'] );
    175175        $this->assertInternalType( 'array', $settings['allowedMimeTypes'] );
     
    266266        );
    267267        $this->assertInternalType( 'int', $settings['maxUploadFileSize'] );
     268    }
     269
     270    /**
     271     * @ticket 53397
     272     */
     273    function test_get_legacy_widget_block_editor_settings() {
     274        $settings = get_legacy_widget_block_editor_settings();
     275        $this->assertCount( 1, $settings );
    268276        $this->assertSameSets(
    269277            array(
Note: See TracChangeset for help on using the changeset viewer.