Ticket #23302: 23302.patch
File 23302.patch, 645 bytes (added by , 12 years ago) |
---|
-
wp-includes/post.php
1270 1270 add_rewrite_rule( "{$archive_slug}/{$wp_rewrite->pagination_base}/([0-9]{1,})/?$", "index.php?post_type=$post_type" . '&paged=$matches[1]', 'top' ); 1271 1271 } 1272 1272 1273 add_permastruct( $post_type, "{$args->rewrite['slug']}/%$post_type%", $args->rewrite);1273 add_permastruct( $post_type, "{$args->rewrite['slug']}/%$post_type%", array_merge( $args->rewrite, array( 'feed' => $args->rewrite['feeds'] ) ) ); 1274 1274 } 1275 1275 1276 1276 if ( $args->register_meta_box_cb )