[wp-trac] [WordPress Trac] #58682: wp_trim_excerpt parses and renders blocks twice
WordPress Trac
noreply at wordpress.org
Wed Sep 13 08:06:42 UTC 2023
#58682: wp_trim_excerpt parses and renders blocks twice
-------------------------------------------------+-------------------------
Reporter: spacedmonkey | Owner: flixos90
Type: defect (bug) | Status: closed
Priority: normal | Milestone: 6.4
Component: Posts, Post Types | Version: 5.0
Severity: normal | Resolution: fixed
Keywords: has-patch dev-feedback has-unit- | Focuses:
tests commit | performance
-------------------------------------------------+-------------------------
Comment (by SergeyBiryukov):
In [changeset:"56561" 56561]:
{{{
#!CommitTicketReference repository="" revision="56561"
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.
}}}
--
Ticket URL: <https://core.trac.wordpress.org/ticket/58682#comment:24>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list