[wp-trac] [WordPress Trac] #11592: the_author() always returns a value when it only should for back compat
WordPress Trac
wp-trac at lists.automattic.com
Sat Dec 26 01:12:59 UTC 2009
#11592: the_author() always returns a value when it only should for back compat
--------------------------+-------------------------------------------------
Reporter: nacin | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: 3.0
Component: Template | Version:
Severity: normal | Keywords: has-patch
--------------------------+-------------------------------------------------
Comment(by prettyboymp):
I prefer the return value to always be there. It allows you to easily use
the_author() directly within an if statement.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/11592#comment:2>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list