Opened 9 years ago
Closed 9 years ago
#33956 closed enhancement (duplicate)
New function: `get_the_slug()`
Reported by: | sebastian.pisula | Owned by: | |
---|---|---|---|
Milestone: | Priority: | normal | |
Severity: | normal | Version: | |
Component: | Posts, Post Types | Keywords: | has-patch reporter-feedback |
Focuses: | Cc: |
Description
Function to display post slug
Attachments (2)
Change History (6)
Note: See
TracTickets for help on using
tickets.
Thanks for the patch!
Just some notes:
See https://make.wordpress.org/core/handbook/best-practices/coding-standards/php/ and https://make.wordpress.org/core/handbook/best-practices/inline-documentation-standards/php/
It's worth noting that many people implemented their own
the_slug
functions over the years so this might break some sites.