Skip to content

strtolower on slug #32

@chrisspiegl

Description

@chrisspiegl

I just found out that sometimes the slog does not get set in lower case. How I found it:

  1. Create a post with not some letters not in lower case
  2. Published that post
  3. I have a hook that shortenes the url based on the $post['post-absolute-permalink'] variable
  4. The shortened URL pointed to the 'not all lowercase' post name / the site itself (the frontpage) shows the all lower case link (which works).

Hope this is accurate enough. I don't know where to search for the error. Maybe someone knows. Looking forward to a fix.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions