[wp-trac] [WordPress Trac] #24257: is_attachment() should accept $attachment parameter
WordPress Trac
noreply at wordpress.org
Fri May 3 16:23:33 UTC 2013
#24257: is_attachment() should accept $attachment parameter
-------------------------+-----------------------------
Reporter: alex-ye | Owner:
Type: enhancement | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Query | Version:
Severity: normal | Keywords: has-patch
-------------------------+-----------------------------
Like is_single(),is_page(),is_author() ... etc I can't see any reason why
we is_attachment() function accept $attachment parameter to make easy
checks.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/24257>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list