#18398 closed defect (bug) (duplicate)
wp_trim_excerpt wrong comperative
| Reported by: | cedwetzel | Owned by: | |
|---|---|---|---|
| Priority: | normal | Milestone: | |
| Component: | Formatting | Version: | 3.2.1 |
| Severity: | major | Keywords: | |
| Cc: | Focuses: |
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....