Make WordPress Core

Changes between Version 1 and Version 2 of Ticket #24869, comment 6


Ignore:
Timestamp:
07/29/2013 01:52:21 AM (12 years ago)
Author:
sworddance
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #24869, comment 6

    v1 v2  
    33An alternative would be to see if the only $_REQUEST parameter is post_type. so something like:
    44
    5 {{{ empty($_REQUEST) == 0 || count($_REQUEST) == 1 && isset($_REQUEST['post_type']) }}}
     5{{{ count($_REQUEST) == 0 || count($_REQUEST) == 1 && isset($_REQUEST['post_type']) }}}