I’ve just uploaded a new version of Text File Widget (2.0).
This addresses the php v5.0 constructor issue – WordPress 4.3 will throw a warning if it encounters php v4.0 contructors.
Thanks to Remy Corson for providing a working example of the correct code. Not sure why I didn’t use that in the first place..
Anyway, I’ve tested it on WordPress 4.3 Beta 4, and it worked fine – no warnings. Rah!
My first plugin – “Text File Widget” is now live on the WordPress Plugins Repository.
It’s a proper job – complete Readme.Txt file, Banner, and Icon.
Here’s the link: https://wordpress.org/plugins/text-file-widget/
It’s a very simple plugin, all it does is display the contents of a text file as a widget. I couldn’t believe that there wasn’t already a plugin for this, so I wrote one..
It replaces end-of-line characters with a “
” for clarity.
Here’s the plugin page: https://www.q292u.com/plugins/text-file-widget
Any problems with it, contact me via WordPress.Org (hit the plugin’s “support” link) – let’s do everything properly!