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

php's split() is deprecated #31

Closed benlk closed 6 years ago

benlk commented 8 years ago
PHP Deprecated:  Function split() is deprecated in /vagrant/wp-content/plugins/WP-DS-NPR-API/classes/NPRAPIWordpress.php on line 59

https://secure.php.net/manual/en/function.split.php

It looks like this is being used as explode(), even though it's the anlogue to preg_split()

mikeschinkel commented 8 years ago

See PR 32 that addresses this and several other issues:

benlk commented 6 years ago

https://github.com/npr/nprapi-wordpress/pull/42 addresses the remaining join/split.