Make WordPress Core

Changes between Version 1 and Version 2 of Ticket #22409, comment 1


Ignore:
Timestamp:
11/10/2012 11:36:10 PM (13 years ago)
Author:
bitacre
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #22409, comment 1

    v1 v2  
    1 You would probably want to separate the two conditions in the {{{if}}} statement for efficiency, but you get the idea.
     1This isn't the most efficient way to do this, but I just wanted to demonstrate the point that {{{in_array()}}} should be used instead of {{{===}}} when the {{{$helper}}} is an array.