It could be just a typo, a small bug. I'm not sure anyone else is
using custom permalinks that are different between posts and pages,
which is perhaps why this hadn't been caught yet.
Owen
Is it appropriate to align the name of rewrite rules with name of post
type by doing the following actions?
1. Change get_permalink() function of post.php as
private function get_permalink()
$content_type= Post::type_name( $this->content_type );
return URL::get(
array(
"display_{$content_type}_by_slug",
),
$this,
false
);
}
2. Delete the rewrite rule 'display_posts_by_slug', rename all other
rewrite rules with 'display_posts_' prefix to 'display_entry_'
3. Change all the reference of affected rewrite rule to the new name?
---
tinyau
This seems sane, though if it's possible and reasonable, I'd like to
be rid of the "_by_slug" postfix altogether, too.
Owen