[wp-hackers] Minor fix to wp-includes/wp-l10n.php
CHENG Gao
chenggao at gmail.com
Wed Jan 19 16:39:37 GMT 2005
Attached is a diff to fix a bug in wp-l19n.php.
At least in my site (shared host with php 4.23), it triggers
Warning: open_basedir restriction in effect. File is in wrong directory
...
error.
Even it's a 4.23 only problem, I think there are other users suffering
this.
--- wp-l10n.php.bak 2005-01-20 00:28:10.000000000 +0800
+++ wp-l10n.php 2005-01-20 00:28:54.000000000 +0800
@@ -93,5 +93,5 @@
// Load the default domain.
load_default_textdomain();
-require($curpath . 'locale.php');
+require(ABSPATH . '/wp-includes/locale.php');
?>
--
No God blessing me
No Dog barking at me
Gonna adopt a Dog
Name it God
Get blessed and barked at
More information about the hackers
mailing list