4246
4246
$page_path = str_replace('%2F', '/', $page_path);
4247
4247
$page_path = str_replace('%20', ' ', $page_path);
4248
4248
$parts = explode( '/', trim( $page_path, '/' ) );
4250
4249
$parts = array_map( 'sanitize_title_for_query', $parts );
4254
4254
if ( is_array( $post_type ) ) {
4255
4255
$post_types = $post_type;