WordPress.org

Ready to get started?Download WordPress

Forums

Auto Attachments
[resolved] Does not work if WP folder is different than home (with fix) (2 posts)

  1. lopo
    Member
    Posted 2 years ago #

    Hi,
    I'm evaluating your plugin in a WP installation under a /wordpress/ folder.
    I saw that it doesn't work when you set the "public" WP URL to the root of the domain: that is, if WP is in http://mydoma.in/wordpress but the site is http://mydoma.in/ the plugin is broken, since it /wordpress resources under /wp-content/plugins/auto-attachments instead of /wordpress/wp-content/plugins/auto-attachments.

    I suggest that you change every call to get_bloginfo('url') to get_bloginfo('wpurl') to fix the problem.

    By the way, your plugin is very useful!

    http://wordpress.org/extend/plugins/auto-attachments/

  2. Serkan Algur
    Member
    Plugin Author

    Posted 2 years ago #

    @lopo

    Thanks for your response and the fix! I will make an update with this fix.

    Best regards,

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic