npr / nprapi-wordpress

Access the NPR API from within WordPress. This repository is no longer being maintained. See the README for more information.
GNU General Public License v2.0
13 stars 30 forks source link

Fixes for STRICT STANDARD errors in PHP 5.6 #14

Closed mikeschinkel closed 8 years ago

mikeschinkel commented 9 years ago

We are working on a project for WABE.org and are using PHP 5.6 and the plugin is throwing STRICT STANDARDS errors for a site that will launch Monday Sept 28th 2015. So I am providing a fix for those issues as well as fixing several other small issues I found, see below.

The fixes are not of the nature that are likely to break anything for existing sites; I avoiding making any backward incompatible changes.

Here is what this pull request includes:

mikeschinkel commented 8 years ago

This PR is out of date and the later PR #32 addresses the critical fixes from this PR.