Support » Plugin: Error Notification » Loading a ADMIN color-picker.min.css file in front end

  • 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/

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • The topic ‘Loading a ADMIN color-picker.min.css file in front end’ is closed to new replies.