WordPress.org

Ready to get started?Download WordPress

Forums

CryptX
[resolved] PLUGINDIR for customized wp-content (2 posts)

  1. klode
    Member
    Posted 1 year ago #

    Hi,
    I'm web developer, and I'm using your plugin. Wonderful.
    However, in functions.php, on line 346 I need to substitute PLUGINDIR with WP_PLUGIN_URL, for all who have customized the wp-content folder.

    Good work!

    http://wordpress.org/extend/plugins/cryptx/

  2. Ralf Weber
    Member
    Plugin Author

    Posted 1 year ago #

    Hi Klode,

    thanks for your hint.

    Is it ok when i change the code on line 346 from site_url() . '/' . PLUGINDIR to plugin_dir_url( __FILE__ )?
    This is the preferred method to get the correct plugin url. I change this as soon as possible.

    Ralf

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic