Don't use trailingslashed IRIs if the user doesn't prefer them
|Reported by:||MathiasBynens||Owned by:||markjaquith|
|Component:||Template||Keywords:||permalink permalinks iridesign bg|dev-feedback bg|2nd-opinion has-patch|
On wp-admin/options-permalink.php, users can set their own virtual permalink structure. They're free to choose whether to use a trailing slash for post permalinks or not, which is fine. However, WordPress is a bit inconsistent in this by default. Currently, category permalinks are _always_ generated with a trailing slash, regardless of the user's preference. The same goes for date, month, year, ... etc permalinks.
WordPress should assume the user doesn't like trailing slashes if get_settings('permalink_structure') doesn't have a trailing slash.
Change History (21)
11 years ago
- Owner changed from anonymous to markjaquith
- Status changed from new to assigned
- Milestone changed from 1.6 to 2.1
- Priority changed from normal to low
- Severity changed from normal to enhancement