why use the @?
|Reported by:||Denis-de-Bernardy||Owned by:|
Description (last modified by markjaquith)
Pinning down a bug on a customer server lead me to removing an '@':
Warning: dir() has been disabled for security reasons (...)
The pesky line in question was:
$themes_dir = @ dir($theme_root);
But there's plenty of other calls to:
Why in the bloody hell would anyone want WordPress to silence this kind of error? It should spit something along the lines of "Your host sucks, change it now."
Change History (10)
11 years ago
- Description modified (diff)
- Keywords needs-patch added
- Milestone set to 2.1
- Owner changed from anonymous to markjaquith
- Status changed from new to assigned