[wp-trac] [WordPress Trac] #21041: Remove variable store in get_the_excerpt
WordPress Trac
wp-trac at lists.automattic.com
Thu Jun 21 18:25:31 UTC 2012
#21041: Remove variable store in get_the_excerpt
--------------------------+-----------------------------
Reporter: niallkennedy | Owner:
Type: enhancement | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Template | Version:
Severity: minor | Keywords: has-patch
--------------------------+-----------------------------
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.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/21041>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list