String disambiguation for slugs (in upgrade.php)
|Reported by:||RanYanivHartstein||Owned by:|
The localized strings for the default slugs for categories and link categories can clash with their names when localizing to a language that can't be used in URLs.
For e.g., when localizing to Hebrew, the default category name would be localized to the Hebrew equivalent of "Uncategorized", but the default slug should remain "uncategorized", since Hebrew can't be properly used in URLs. Therefor, I recommend adding comments to the slug strings, so they can have different localizations:
$cat_slug = sanitize_title(_c('Uncategorized|Slug for default category'));
$cat_slug = sanitize_title(_c('Blogroll|Slug for default link category'));