[wp-hackers] 2.9-rare - pomo obsoletes gettext.php and streams.php - how-to re-write plugin

Evil ZEN Scientist ezs at evilzenscientist.com
Tue Oct 13 04:21:27 UTC 2009


That simple eh. I'll go look at cleanup too.

Thanks for the pointers.

ezs

On Mon, Oct 12, 2009 at 2:48 PM, Peter Westwood
<peter.westwood at ftwr.co.uk>wrote:

>
> On 12 Oct 2009, at 22:15, Evil ZEN Scientist wrote:
>
>
>> http://www.viper007bond.com/wordpress-plugins/discontinued-plugins/weathericon/
>>
>>
> 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.
>
>
> westi
> --
> Peter Westwood
> http://blog.ftwr.co.uk | http://westi.wordpress.com
> C53C F8FC 8796 8508 88D6 C950 54F4 5DCD A834 01C5
>
> _______________________________________________
> wp-hackers mailing list
> wp-hackers at lists.automattic.com
> http://lists.automattic.com/mailman/listinfo/wp-hackers
>


More information about the wp-hackers mailing list