mirror of
https://github.com/WordPress/WordPress.git
synced 2025-01-30 20:21:37 +01:00
Docs: Fix typo in a comment in wp_trim_excerpt()
.
Includes removing redundant `@covers` tags. There is already an existing annotation for the whole test class, following the [https://docs.phpunit.de/en/9.6/annotations.html#covers PHPUnit recommendation]: > This annotation can be added to the docblock of the test class or the individual test methods. The recommended way is to add the annotation to the docblock of the test class, not to the docblock of the test methods. Follow-up to [56560]. See #58682. Built from https://develop.svn.wordpress.org/trunk@56561 git-svn-id: http://core.svn.wordpress.org/trunk@56073 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
4bfba35169
commit
7630eab57f
@ -3984,7 +3984,7 @@ function wp_trim_excerpt( $text = '', $post = null ) {
|
||||
|
||||
/*
|
||||
* Temporarily unhook do_blocks() since excerpt_remove_blocks( $text )
|
||||
* handels block rendering needed for excerpt.
|
||||
* handles block rendering needed for excerpt.
|
||||
*/
|
||||
$filter_block_removed = remove_filter( 'the_content', 'do_blocks', 9 );
|
||||
|
||||
|
@ -16,7 +16,7 @@
|
||||
*
|
||||
* @global string $wp_version
|
||||
*/
|
||||
$wp_version = '6.4-alpha-56560';
|
||||
$wp_version = '6.4-alpha-56561';
|
||||
|
||||
/**
|
||||
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.
|
||||
|
Loading…
Reference in New Issue
Block a user