Make WordPress Core


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

    r54728 r61605  
    1313        public $content = '
    1414<!-- wp:paragraph -->
    15 <p>paragraph</p>
     15<p class="wp-block-paragraph">paragraph</p>
    1616<!-- /wp:paragraph -->
    1717<!-- wp:latest-posts {"postsToShow":3,"displayPostDate":true,"order":"asc","orderBy":"title"} /-->
     
    2626               
    2727                <!-- wp:paragraph -->
    28                 <p>paragraph inside column</p>
     28                <p class="wp-block-paragraph">paragraph inside column</p>
    2929                <!-- /wp:paragraph -->
    3030        </div>
     
    3636        public $filtered_content = '
    3737
    38 <p>paragraph</p>
     38<p class="wp-block-paragraph">paragraph</p>
    3939
    4040
    4141
    4242
    43                 <p>paragraph inside column</p>
     43                <p class="wp-block-paragraph">paragraph inside column</p>
    4444               
    4545';
Note: See TracChangeset for help on using the changeset viewer.