Changeset 13774 for trunk/wp-includes/rewrite.php
- Timestamp:
- 03/20/2010 02:23:52 AM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-includes/rewrite.php
r13773 r13774 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); 1439 1440 $post = true; 1440 $page = false;1441 $page = $ptype->hierarchical; // This is for page style attachment url's 1441 1442 break; 1442 1443 }
Note: See TracChangeset
for help on using the changeset viewer.