WordPress.org

Make WordPress Core

Changes between Version 1 and Version 2 of Ticket #19958, comment 15


Ignore:
Timestamp:
09/30/2013 10:01:25 PM (7 years ago)
Author:
SergeyBiryukov
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #19958, comment 15

    v1 v2  
    66
    77check this 3639
     8{{{
    89 if ( array_intersect( $post_type, $hierarchical_post_types ) == count($post_type) )
    910               return $pages;
    10 
     11}}}
    1112this should be a not the same return  need to check the output of array_intersect maybe use array_diff