[wp-trac] [WordPress Trac] #12240: Let plugins filter post permalink before core replacements
WordPress Trac
wp-trac at lists.automattic.com
Mon Feb 15 15:57:23 UTC 2010
#12240: Let plugins filter post permalink before core replacements
--------------------------+-------------------------------------------------
Reporter: shidouhikari | Owner: ryan
Type: enhancement | Status: new
Priority: normal | Milestone: 2.9.2
Component: Permalinks | Version: 2.9.1
Severity: normal | Keywords: permalink, filter, hook, get_permalink, post_link
--------------------------+-------------------------------------------------
In the function get_permalink(), there is the filter 'post_link' that lets
plugins filter a post permalink.
But this filter is run after all rewrite tags are replaced.
I suggest give plugins more control over posts permalink generation,
adding a filter before rewrite tags start being parsed, so that they can
replace it as needed.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/12240>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list