optional custom value for category slug (create and update) (PR #3021)

https://meta.discourse.org/t/custom-value-for-category-slug/22812

GitHub

You’ve signed the CLA, jmay. Thank you! This pull request is ready for review.

We should remove these comments before checking in.

This looks good to me! Just that trivial change to remove the comments please :slight_smile:

@eviltrout Do you have time to look into it? I have some UI support waiting for this PR.

Fantastic, thanks.

The slug should also be sanitized for URL. Fixed it in #3068