Changeset 14155 for trunk/wp-includes/rewrite.php
- Timestamp:
- 04/18/2010 03:54:45 PM (16 years ago)
- File:
-
- 1 edited
-
trunk/wp-includes/rewrite.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-includes/rewrite.php
r13774 r14155 1437 1437 foreach ( get_post_types( array('_builtin' => false ) ) as $ptype ) { 1438 1438 if ( strpos($struct, "%$ptype%") !== false ) { 1439 $ptype = get_post_type_object($ptype);1440 1439 $post = true; 1441 $page = $ptype->hierarchical; // This is for page style attachment url's1440 $page = is_post_type_hierarchical( $ptype ); // This is for page style attachment url's 1442 1441 break; 1443 1442 }
Note: See TracChangeset
for help on using the changeset viewer.