Bug when saving DDBB - wp_options - value 0
  • WP-prettyphoto & WP 3.3.1

    If you Save from WP prettyPhoto Options, all values not marked, like "True to Autoplay, False not to.", doesn't save value 0 in DDBB. And prettyphoto stop working.
  • to solve.
    replace line: $wppp_autoplay = $this->wppp_autoplay;
    by: $wppp_autoplay = $this->wppp_autoplay == '1'? 'true' : 'false';

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Login with Facebook Sign In with Google Sign In with OpenID Sign In with Twitter