WordPress.org

Ready to get started?Download WordPress

Forums

Error Notification
Loading a ADMIN color-picker.min.css file in front end (2 posts)

  1. perdrix
    Member
    Posted 10 months ago #

    Your script is loading the color-picker.min.css from the admin folder instead of it's own css file. Many developers hide the admin area of a WP site to minimize hacking attempts. By using the color-picker.min.css you are disclosing the actual admin folder to snoops.

    <link rel='stylesheet' id='wp-color-picker-css' href='http://www.example.com/wp-admin/css/color-picker.min.css?ver=3.6.1' type='text/css' media='all' />

    wp_enqueue_style( 'wp-color-picker' );
    	wp_enqueue_script( 'wp-color-picker');

    Dennis

    http://wordpress.org/plugins/error-notification/

  2. tasko
    Member
    Plugin Author

    Posted 10 months ago #

    Hello Dennis,
    Thanks for this report.
    I will fix it in my next update.

Reply

You must log in to post.

About this Plugin

About this Topic

Tags