• Resolved davidosomething

    (@davidosomething)


    /lib/metabox/init.php

    Make this change to str_replace the plugins dir/urls as well as the content dir/url.
    In fact, you probably don’t need the WP_CONTENT_* stuff since WP_PLUGIN_* is derived from that when not manually set in wp-config.

    /*
     * url to load local resources.
     */
    
    define( 'CMB_META_BOX_URL',
      trailingslashit(str_replace(
        array(WP_CONTENT_DIR, WP_PLUGIN_DIR),
        array(WP_CONTENT_URL, WP_PLUGIN_URL),
        dirname(__FILE__)
      ))
    );

    http://wordpress.org/extend/plugins/image-override/

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • The topic ‘Support plugins NOT in WP_CONTENT folders’ is closed to new replies.