WordPress.org

Ready to get started?Download WordPress

Forums

How do make my plugin javascript to load resources w/o reveal path to plugins? (1 post)

  1. SocialBlogsite
    Member
    Posted 2 years ago #

    Is there any way to accomplish that?

    I had hardcoded the url of images to assume the plugin directory is at the default location, with the default name, but for some it won't work.
    Now, that people changed either path or name of plugins to prevent attacks, so revealing the url for those images (e.g. dynamically loaded) anywhere in the code defeats the purpose of those changes.

    Any idea?

    Thanks.

Topic Closed

This topic has been closed to new replies.

About this Topic