WordPress.org

Ready to get started?Download WordPress

Forums

Custom Upload Dir
[resolved] Does not work well with Add From Server plugin (2 posts)

  1. Ruriko
    Member
    Posted 1 year ago #

    I am using your plugin with Add From Server plugin and it doesn't work well together. I have set the build path to %post_id%. I am importing images with the Add From Server plugin and it doesn't seem to upload by Post ID. It works fine with the normal media uploader but not with the Add From Server plugin. Can you make your plugin compatible with Add From Server plugin?

    http://wordpress.org/extend/plugins/custom-upload-dir/

  2. ulfben
    Member
    Plugin Author

    Posted 1 year ago #

    Their plugin provides an alternative to the WordPress native function wp_handle_upload([...]).

    Their implementation lacks two crucial filter calls that is in the default implementation;
    wp_handle_upload_prefilter
    and
    wp_handle_upload

    They can pick these straight from includes\file.php -> function wp_handle_upload.

    Once they're in, our plugins should be fully compatible. (as well as any other plugins using those two filters)

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags

No tags yet.