Make WordPress Core


Ignore:
Timestamp:
02/09/2026 07:47:58 PM (7 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/post/output.php

    r52978 r61605  
    203203                $expected_without_teaser = <<<EOF
    204204<span id="more-{$post_id}"></span>
    205 <p>Second block.</p>
     205<p class="wp-block-paragraph">Second block.</p>
    206206EOF;
    207207
    208208                $expected_with_teaser = <<<EOF
    209 <p>Teaser part.</p>
     209<p class="wp-block-paragraph">Teaser part.</p>
    210210<span id="more-{$post_id}"></span>
    211 <p>Second block.</p>
     211<p class="wp-block-paragraph">Second block.</p>
    212212EOF;
    213213
     
    254254<span id="more-{$post_id}"></span>
    255255<!--noteaser-->
    256 <p>Second block.</p>
     256<p class="wp-block-paragraph">Second block.</p>
    257257EOF;
    258258
Note: See TracChangeset for help on using the changeset viewer.