WordPress.org

Make WordPress Core

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


Ignore:
Timestamp:
07/29/13 01:52:09 (9 months ago)
Author:
sworddance
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #24869, comment 6

    initial v1  
    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{{{ empty($_REQUEST) == 0 || count($_REQUEST) == 1 && isset($_REQUEST['post_type']) }}}