[wp-trac] [WordPress Trac] #36849: Filter to limit length of post slug (filter for _truncate_post_slug)
WordPress Trac
noreply at wordpress.org
Tue May 17 11:58:15 UTC 2016
#36849: Filter to limit length of post slug (filter for _truncate_post_slug)
-------------------------------+------------------------------
Reporter: wp-entwickler.at | Owner:
Type: enhancement | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Posts, Post Types | Version: 4.5.2
Severity: normal | Resolution:
Keywords: | Focuses:
-------------------------------+------------------------------
Comment (by barryceelen):
Although in the context of this ticket it looks like a bit of a
workaround, but adding a filter to `wp_insert_post_data` or an action on
`save_post` could achieve what you are after.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/36849#comment:3>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list