[wp-hackers] 2.9-rare - pomo obsoletes gettext.php and streams.php - how-to re-write plugin
peter.westwood at ftwr.co.uk
Mon Oct 12 21:48:59 UTC 2009
On 12 Oct 2009, at 22:15, Evil ZEN Scientist wrote:
Ok. I have had a quick play with the latest version available there.
It seems these are the lines you need to comment out:
# Fixes a bug in l10n.php where some guy decided there was no reason
# to load files which are required for their l10n functions if no
# language is defined in Wordpress.
require_once(ABSPATH . 'wp-includes/streams.php');
require_once(ABSPATH . 'wp-includes/gettext.php');
Looking back through the code history it looks like this issue was
fixed in WordPress 2.1 - https://core.trac.wordpress.org/ticket/3157
However, the code itself does produce a lot of warnings when run with
WP_DEBUG enabled it looks like someone needs to take ownership of it
and bring it up-to-date.
http://blog.ftwr.co.uk | http://westi.wordpress.com
C53C F8FC 8796 8508 88D6 C950 54F4 5DCD A834 01C5
More information about the wp-hackers