Make WordPress Core

Opened 17 years ago

Closed 17 years ago

#5593 closed enhancement (fixed)

Change other conditional tags to accept arrays as arguments

Reported by: fitztrev's profile fitztrev Owned by: westi's profile westi
Milestone: 2.5 Priority: normal
Severity: normal Version:
Component: Template Keywords: has-patch
Focuses: 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 (1)

conditional_tag_array.diff (2.2 KB) - added by fitztrev 17 years ago.

Download all attachments as: .zip

Change History (3)

#1 @westi
17 years ago

  • Owner changed from anonymous to westi
  • Status changed from new to assigned

#2 @ryan
17 years ago

  • Resolution set to fixed
  • Status changed from assigned to closed

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

Note: See TracTickets for help on using tickets.