WordPress.org

Ready to get started?Download WordPress

Forums

Active Directory Thumbnails
[resolved] Missing slash causing bulk import to save images in wrong location (3 posts)

  1. Grant Prudlow
    Member
    Posted 7 months ago #

    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/

  2. Omar Mir
    Member
    Plugin Author

    Posted 7 months ago #

    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.

  3. Omar Mir
    Member
    Plugin Author

    Posted 7 months ago #

    v 0.6 is has been released with this fix.

Reply

You must log in to post.

About this Plugin

About this Topic

Tags

No tags yet.