Changeset 13050 for trunk/wp-includes/post.php
- Timestamp:
- 02/10/2010 09:57:25 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-includes/post.php
r13049 r13050 802 802 $args->rewrite['with_front'] = true; 803 803 $wp_rewrite->add_rewrite_tag("%$post_type%", '([^/]+)', $args->query_var ? "{$args->query_var}=" : "post_type=$post_type&name="); 804 $wp_rewrite->add_permastruct($post_type, " /{$args->rewrite['slug']}/%$post_type%", $args->rewrite['with_front']);804 $wp_rewrite->add_permastruct($post_type, "{$args->rewrite['slug']}/%$post_type%", $args->rewrite['with_front']); 805 805 } 806 806
Note: See TracChangeset
for help on using the changeset viewer.