More precisely, this should say
"This is littered everywhere - in wp-admin/*.php, in wp-includes/*.php, etc." It is in a LOT of places. I found one place, can't remember the file right now, where it is defined again and used within its own file, so I changed this to a unique constant from the WOZ_ABSPATH I changed everywhere else for testing purposes and just made that one file use MY_WOZ_ABSPATH.
I probably won't be leaving these changes in the code, but I was working my way through errors trying to get to the bottom of a dreaded 'headers already sent' problem and I wasn't sure which things would matter and which wouldn't. So for the time being, I'm removing those errors (as well as removing blank lines after the ?> in many files) from the fray to get to the big stuff and then I'll probably try restoring what I can to the released code to make it easier to maintain from level to level. If I find that there is a need to change some of these permanently, I'll post back here about it, but I think the problems are more functional than these minor changes (like the $title having a value when it should have been empty!). I have WP and ZC installed in the same directory right now, so I wouldn't be seeing some of the ABSPATH conflicts that others might experience if the constant conflict is a problem.



Reply With Quote
