#18398 closed defect (bug) (duplicate)
wp_trim_excerpt wrong comperative
| Reported by: |
|
Owned by: | |
|---|---|---|---|
| Milestone: | Priority: | normal | |
| Severity: | major | Version: | 3.2.1 |
| Component: | Formatting | Keywords: | |
| Focuses: | Cc: |
Description
In wp-includes/formatting.php on line 1857 in method wp_trim_excerpt() the text input $text is compared to an empty string. This makes the function not working. Just replace
if ( '' == $text ) {
with
if ( '' != $text ) {
and it's going to work again.
Attachments (1)
Change History (6)
Note: See
TracTickets for help on using
tickets.
I mean line 1847, sorry for that fault....