Bad wp-config-sample.php file included with WP3.4 download
Umm.. Nope. Just downloaded, file looks fine to me.
What are you seeing? Specifics would help.
does not contain a closing ?>
That is intentional and desired. But code before the beginning <?php
is not in the download. Not that I can see.
Okay, you’re going to have to explain the problem you’re having in detail… Just posting me a link to the codex page about a common problem that can be caused any number of issues isn’t helpful.
There’s nothing wrong in the WordPress download file that I can find. Details. We need details. What is the specific issue?
Correct!
And? What is the specific issue?
1. I downloaded WP3.4 today.
2. I uploaded to host for new site.
3. Being quite aware of how to set up a WP site, I did.
4. After loading the site, I received the (well discussed here) error ‘headers already sent’
5. I reviewed the wp-config.php and:
Not that I can see.
I also did not SEE an issue with the file.
6. I asked others to also download WP3.4 today.
7. They as I do, verify, and do swear, under Oath, the file contianed hidden code prior to php and no closing tag.
Please provide a solution, I am reporting, not being confrontational.
I’m not arguing, but I’ve reviewed the files on the server and there’s nothing there.
What was before the <?php
?
Note that the lack of an ending ?>
is normal and not an issue. That’s intentional. Heck, I argued for years to get that in there.
Also, if you’re upgrading a site, then that’s different. The wp-config is not overwritten in an upgrade. But if you’re creating a new site, that’s something else.
If you don’t tell me what you’re actually seeing, and I can’t see it, then there’s not a whole hell of a lot I can do.
You say this:
I also did not SEE an issue with the file.
Then there likely was no issue and your headers issue came from somewhere else. Anything can create output early. Plugins, themes, etc. I need *specifics*.
Three lines of code revealed by using a php editor not commonly used here above <?php that started with <head>…
Okay. And? What were these lines of code?
As I still have the files, let me re-create. As my host watches.
Okay, when you have something more to report, feel free to email it to me directly if you think there is a real security issue. My email is otto@wordpress.org.
There’s no issue with the download that I can find. If you got hacked, then that’s a security problem, I grant you, but after extensive checking, it did not come through us.
But by all means, email me with security issues. Happy to investigate. We just need extensive information, if at all possible.