Make WordPress Core


Ignore:
Timestamp:
02/09/2026 07:47:58 PM (4 months ago)
Author:
ellatrix
Message:

Gutenberg ref update.

Updates unit tests to account for:

Updates the REST API posts controller's excerpt filter to account for "Post Excerpt Block: Fix length limits for both Editor and Front and fix ellipsis consistency" (https://github.com/WordPress/gutenberg/pull/74140/changes#r2783014013).

Developed in https://github.com/WordPress/wordpress-develop/pull/10865.

Props ellatrix, scruffian, desrosj.

See #64595.

---

I've included a log of the Gutenberg changes with the following command:

git log --reverse --format="- %s" 7bf80ea84eb8b62eceb1bb3fe82e42163673ca79..59a08c5496008ca88f4b6b86f38838c3612d88c8 | sed 's|#\([0-9][0-9]*\)|https://github.com/WordPress/gutenberg/pull/\1|g; /github\.com\/WordPress\/gutenberg\/pull/!d' | pbcopy

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/tests/phpunit/tests/blocks/renderReusable.php

    r61009 r61605  
    8484        $block        = new WP_Block( $parsed_block );
    8585        $output       = $block->render();
    86         $this->assertSame( '<p>Hello world!</p>', $output );
     86        $this->assertSame( '<p class="wp-block-paragraph">Hello world!</p>', $output );
    8787    }
    8888
     
    100100        $output       = $block->render();
    101101        $output      .= $block->render();
    102         $this->assertSame( '<p>Hello world!</p><p>Hello world!</p>', $output );
     102        $this->assertSame( '<p class="wp-block-paragraph">Hello world!</p><p class="wp-block-paragraph">Hello world!</p>', $output );
    103103    }
    104104
Note: See TracChangeset for help on using the changeset viewer.