• Resolved Clement Gonnet

    (@renoovodesign)


    This plugin has been badly coded.

    1) On line 162 of plugin main php file there is a script being added which is a non existent file:
    wp_enqueue_script( 'my-script-handle', plugins_url('js/color-pickr.js', __FILE__ ), array( 'wp-color-picker' ), false, true );
    It triggers errors in console:

    Failed to load resource: the server responded with a status of 404 ()
    /wp-content/plugins/wp-carousel-free/js/color-pickr.js?ver=4.7.3

    2) A lot of the actions and filters do not have a standardised naming convention. These have all been copy pasted from online tutorials or other plugins. This leads to conflicts with other plugins too.
    e.g.: function my_plugin_active_redirect( $plugin ) is a bad function name
    All functions should start with something like wcf_
    If other people are experiencing conflicts this could be the reason.

    3) the plugin adds an invisible menu item under Settings. This should be corrected.
    /wp-admin/options-general.php?page=wcf-settings

    Author, please can you provide an update?

Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘404 script not found in backend’ is closed to new replies.