scribu / wp-scb-framework

Utilities for speeding up WordPress plugin and theme development
https://github.com/scribu/wp-scb-framework/wiki
220 stars 55 forks source link

Fixes unserialize() related warnings #38

Closed sebet closed 10 years ago

sebet commented 10 years ago

After the last commit, the error handler sometimes displays unserialize() related warnings: "Warning: unserialize() expects parameter 1 to be string, array given"

Replacing 'unserialize()' with 'maybe_unserialize()' fixes it.

scribu commented 10 years ago

This seems alright, except the URL you linked to gives a 404. Did you mean https://github.com/scribu/wp-scb-framework/commit/19e8854a2569e14c5b69793e4562519547761283 ?

sebet commented 10 years ago

Exactly. I've updated the URL.

sebet commented 10 years ago

Thanks!

On Fri, Nov 29, 2013 at 4:17 PM, Cristi Burcă notifications@github.comwrote:

Merged #38 https://github.com/scribu/wp-scb-framework/pull/38.

— Reply to this email directly or view it on GitHubhttps://github.com/scribu/wp-scb-framework/pull/38 .