[wp-trac] [WordPress Trac] #23749: Post Format Archive Conditional Tag
WordPress Trac
noreply at wordpress.org
Sun Mar 9 13:43:53 UTC 2014
#23749: Post Format Archive Conditional Tag
----------------------------+-----------------------------
Reporter: danielpataki | Owner: danielpataki
Type: enhancement | Status: assigned
Priority: normal | Milestone: Future Release
Component: Post Formats | Version:
Severity: normal | Resolution:
Keywords: good-first-bug | Focuses: template
----------------------------+-----------------------------
Changes (by nacin):
* milestone: 3.9 => Future Release
Comment:
[attachment:23749.2.diff] is fine, but I'm not really feeling it at the
moment. is_post_format() would fit the existing pattern, but that's a
confusing name. is_post_type_archive() is OK, but it doesn't really fit
with other functions (is_category_archive() anyone?). I'm fine with doing
this, but let's dwell on it for a bit longer and see if it still makes
sense in a month or two.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/23749#comment:10>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list