Ticket #5593 (closed enhancement: fixed)

Opened 8 months ago

Last modified 7 months ago

Change other conditional tags to accept arrays as arguments

Reported by: fitztrev Assigned to: westi
Priority: normal Milestone: 2.5
Component: Template Version:
Severity: normal Keywords: has-patch
Cc:

Description

azaozz in #5430 did the hard part. I just made it so that is_single(), is_category(), is_tag(), and is_author() can each accept arrays also.

Just like #5430, these are also backwards compatible.

Attachments

conditional_tag_array.diff (2.2 kB) - added by fitztrev on 01/06/08 08:16:34.

Change History

01/06/08 08:16:34 changed by fitztrev

  • attachment conditional_tag_array.diff added.

01/06/08 09:32:08 changed by westi

  • owner changed from anonymous to westi.
  • status changed from new to assigned.

02/13/08 19:02:10 changed by ryan

  • status changed from assigned to closed.
  • resolution set to fixed.

(In [6823]) Allow is_single(), is_category(), and is_tag() to accept arrays. Props fitzrev. fixes #5593