-
Notifications
You must be signed in to change notification settings - Fork 16
Closed
Description
Some users report seeing the following warning in the WordPress Dashboard:
Warning: trim() expects parameter 1 to be string, array given in /home/..../wp-content/plugins/zencache-pro/zencache-pro.inc.php on line 967
Line 967 in zencache-pro.inc.php: https://github.com/websharks/zencache-pro/blob/000000-dev/zencache-pro/zencache-pro.inc.php#L967
@jaswsinc writes...
That is a bug. The call to
array_map('trim',assumes that$_REQUESTwill contain all scalar values. A new method should be added (it may already exist), calledtrim_deep().