fix db call on niphell slider for WP 3.9 compat