• In bbp-image-upload.php line 226 i think it would be better if bbp-image-upload.js is loaded in both frontend and backend.

    Editors may think the module is not working when using plugin from admin.

    function hm_bbpui_enqueue_scripts() {
    	admin_enqueue_script('hm_bbpui', plugins_url('js/bbp-image-upload.js', __FILE__), array('jquery'));
    	wp_enqueue_style('hm_bbpui', plugins_url('css/bbp-image-upload.css', __FILE__));
    }

    ver. function hm_bbpui_enqueue_scripts() {
    wp_enqueue_script(‘hm_bbpui’, plugins_url(‘js/bbp-image-upload.js’, __FILE__), array(‘jquery’));
    wp_enqueue_style(‘hm_bbpui’, plugins_url(‘css/bbp-image-upload.css’, __FILE__));
    }

    ver. 1.1.16

    The page I need help with: [log in to see the link]

  • The topic ‘Only works in frontend’ is closed to new replies.