Support » Plugin: Active Directory Thumbnails » Missing slash causing bulk import to save images in wrong location

  • Resolved Grant Prudlow

    (@grantman16)


    In bulk-scheduled-process.php, you’re missing a slash in line 57 (compare to line 23 in pic-process.php). This is causing images to be saved as e.g. “active-directory-thumbnailsgrant-prudlow1.jpeg” in wp-content/uploads when using the bulk import script. The DB is updated with the intended path, so it 404s.

    Since you’ve got the same adt_get_user_photo() function in both pic-process.php and bulk-scheduled-process.php, I recommend pulling it out into its own include shared by the two scripts.

    http://wordpress.org/plugins/active-directory-thumbnails/

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author Omar Mir

    (@mirwindsor-omar)

    Hey, you are absolutely right! I’ll fix that right away. I may not do the include today but at the least can fix the issue right now.

    Plugin Author Omar Mir

    (@mirwindsor-omar)

    v 0.6 is has been released with this fix.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Missing slash causing bulk import to save images in wrong location’ is closed to new replies.