Opened 14 years ago
Closed 14 years ago
#21041 closed enhancement (fixed)
Remove variable store in get_the_excerpt
| Reported by: | niallkennedy | Owned by: | markjaquith |
|---|---|---|---|
| Priority: | normal | Milestone: | 3.5 |
| Component: | Template | Version: | |
| Severity: | trivial | Keywords: | has-patch commit |
| Cc: | Focuses: |
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.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)
return string without first storing it in a variable