[wp-hackers] Rewrite hooks/filters documentation?

Viper007Bond viper at viper007bond.com
Wed Nov 29 01:55:08 GMT 2006


Yeah, I'm doing this with a file that doesn't actually exist. I just want to
make TinyMCE think it exists. Completely possible, I just don't know how to
hook into the new rewrite system. :(

On 11/28/06, Robin Adrianse <shorty114 at shorty114.net> wrote:
>
> if /wp-admin/images/newfile.png doesn't exist, then it will pass it to the
> rewriter. It doesn't matter if the directory exists or  not in this case.
> At
> least that's my understanding.
>
> On 11/28/06, Jeremy Visser <jeremy.visser at gmail.com> wrote:
> >
> > On Tue, 2006-11-28 at 02:46 -0800, Viper007Bond wrote:
> > > Example: /wp-admin/images/newfile.png ->
> > >                  /wp-content/plugins/myplugin/image.png
> >
> > I doubt you could do that, as the .htaccess rules specify that any real
> > directories or files won't get passed to index.php, thus not getting
> > rewritten.
> >
> > If a directory /images/ didn't exist on the server, then you could
> > probably rewrite that. (Don't ask me how.) But you can't really
> > guarantee that a plugin user wouldn't have the /images/ directory.
> >
> > --
> > Jeremy Visser
> > Email: jeremy.visser at gmail.com GPG id: CF13C41A
> > Website: http://narnia.bounceme.net/jeremy/
> >
> > _______________________________________________
> > wp-hackers mailing list
> > wp-hackers at lists.automattic.com
> > http://lists.automattic.com/mailman/listinfo/wp-hackers
> >
> _______________________________________________
> wp-hackers mailing list
> wp-hackers at lists.automattic.com
> http://lists.automattic.com/mailman/listinfo/wp-hackers
>



-- 
Viper007Bond | http://www.viper007bond.com/


More information about the wp-hackers mailing list