Opened 13 years ago
Closed 13 years ago
#21041 closed enhancement (fixed)
Remove variable store in get_the_excerpt
Reported by: | niallkennedy | Owned by: | markjaquith |
---|---|---|---|
Milestone: | 3.5 | Priority: | normal |
Severity: | trivial | Version: | |
Component: | Template | Keywords: | has-patch commit |
Focuses: | Cc: |
Description
It looks like get_the_excerpt()
either returns a password protected message or post->post_excerpt
passed through a filter.
Storing excerpt in a variable should not be necessary; pass directly instead.
Attachments (1)
Change History (3)
Note: See
TracTickets for help on using
tickets.
return string without first storing it in a variable