Bugfix: Saving backend options are working again
-
There is a nasty bug in admin\class-ngg-options.php line 48 that prevents nextcellent to save the options:
Remove from
$options = explode( ‘,’, stripslashes( sanitize_title($_POST[‘page_options’] )) );
the “sanitize_title” because $_POST() returns an Array() but sanitize_title requires a string.The sanitize function has to be removed in line 58 too, otherwise a link code line like “class=”shutterset_%GALLERY_NAME%”” could not be entered in effects.
The input validation should be rewritten completely to match the correct field type here. Currently all field types are sanitized with the same function only.
Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
- The topic ‘Bugfix: Saving backend options are working again’ is closed to new replies.