[wp-trac] [WordPress Trac] #36849: Filter to limit length of post slug (filter for _truncate_post_slug)
WordPress Trac
noreply at wordpress.org
Mon May 16 14:38:18 UTC 2016
#36849: Filter to limit length of post slug (filter for _truncate_post_slug)
------------------------------+-----------------------------
Reporter: wp-entwickler.at | Owner:
Type: feature request | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Formatting | Version: 4.5.2
Severity: normal | Keywords:
Focuses: |
------------------------------+-----------------------------
There are circumstances where you need to limit the lenght of the post
slug.
Unfortunately there is no filter in _truncate_post_slug to do so.
It will be a great enhancement, if there would be a filter in this
function.
Related function:
-wp_unique_post_slug - calling _truncate_post_slug
Additionally it would be very usefull, if there could be a filter right at
the start of wp_unique_post_slug for filtering the slug.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/36849>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list