Support » Requests and Feedback » [Plugin: NextGEN Gallery] Meta import fails

  • Version 1.1.0 – Importing the meta data will fail if an Apostrophe is present in the caption or description.

    Nextgen gallery is great, but this problem is a real pain! Is it possible to escape or enclose the apostrophe to allow the meta to be imported correctly?

Viewing 1 replies (of 1 total)
  • It looks like this can be fixed by modifying the admin/functions.php as follows:-

    Within the function import_MetaData, insert the following lines immediately before the update database line:

    $alttext = addslashes($alttext);
    $description = addslashes($description);

    Apostrophes appear to work correctly now.

Viewing 1 replies (of 1 total)
  • The topic ‘[Plugin: NextGEN Gallery] Meta import fails’ is closed to new replies.