Make WordPress Core

Opened 11 years ago

Closed 11 years ago

#24311 closed defect (bug) (fixed)

wp_html_excerpt() output has changed

Reported by: markjaquith's profile markjaquith Owned by: sergeybiryukov's profile SergeyBiryukov
Milestone: 3.6 Priority: normal
Severity: normal Version: 3.6
Component: Formatting Keywords:
Focuses: Cc:

Description

Unit test failure due to [24214]:

1) Tests_Formatting_HtmlExcerpt::test_entities
Failed asserting that two strings are equal.
--- Expected
+++ Actual
@@ @@
-'Baba '
+'Baba'

It looks like a trim() got added to wp_html_excerpt() output.

What should change, the function or the test?

Change History (1)

#1 @SergeyBiryukov
11 years ago

  • Owner set to SergeyBiryukov
  • Resolution set to fixed
  • Status changed from new to closed

In 1282/tests:

Update wp_html_excerpt() test to reflect the change in [WP24214]. fixes #24311.

Note: See TracTickets for help on using tickets.