[wp-trac] [WordPress Trac] #12240: Let plugins filter post permalink before core replacements

WordPress Trac wp-trac at lists.automattic.com
Tue Mar 2 04:40:17 UTC 2010


#12240: Let plugins filter post permalink before core replacements
--------------------------+-------------------------------------------------
 Reporter:  shidouhikari  |       Owner:  ryan                       
     Type:  enhancement   |      Status:  new                        
 Priority:  normal        |   Milestone:  3.0                        
Component:  Permalinks    |     Version:  2.9.1                      
 Severity:  normal        |    Keywords:  has-patch reporter-feedback
--------------------------+-------------------------------------------------

Comment(by shidouhikari):

 'option_permalink_structure' could be used if there was a way to assure
 get_option() is called from get_permalink().

 Because if get_option('permalink_structure') is called elsewhere without
 the objective of converting the permastruct to a permalink, the
 permastruct would get messed up and other codes be broken by the plugin
 that uses it this filter.

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/12240#comment:10>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list