[wp-trac] Re: [WordPress Trac] #7709: 'content_url' not pluggable

WordPress Trac wp-trac at lists.automattic.com
Mon Sep 8 14:20:07 GMT 2008


#7709: 'content_url' not pluggable
----------------------+-----------------------------------------------------
 Reporter:  krudolph  |        Owner:  anonymous
     Type:  defect    |       Status:  new      
 Priority:  low       |    Milestone:  2.8      
Component:  General   |      Version:  2.7      
 Severity:  minor     |   Resolution:           
 Keywords:            |  
----------------------+-----------------------------------------------------
Comment (by krudolph):

 Replying to [comment:1 DD32]:
 > how about defining the constants after plugins are loaded?

 Well, since the constant is set in WP's core there's no chance of that.
 Reading the `wp-config.php` file is definitely required before plugins and
 themes can be loaded.

 > or filtering the output of content_dir() (and its friends)

 I suppose you mean `content_url` (since there's no  `content_dir` function
 anywhere in the code base)? As I wrote, its content cannot be filtered
 (that's what I meant by “not pluggable”).

-- 
Ticket URL: <http://trac.wordpress.org/ticket/7709#comment:2>
WordPress Trac <http://trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list