Excerpt length function written wrong
-
I initially had a problem with excerpt length.
On looking at the code, I realized there’s a problem with the function
get_the_trimmed_excerpt()
.In version 7.0.2, move line 937-953 (entire
if ( mb_strlen( $excerpt )
) to line 955, so that excerpt generated in line 925 is affected by$this->customs[ 'excerpt_length' ]
.
Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
- The topic ‘Excerpt length function written wrong’ is closed to new replies.