Support » Plugin: MimeTypes Link Icons » MimeTypes Link Icons 2.1.8 CSS call

  • Resolved John Percival

    (@john-percival)


    Hi,

    I’m using 2.1.8 on WP 3.4.2.

    In the change from 2.1.7 to 2.1.8, line 553 has been changed:

    function mtli_add_css_to_head(){
    	$wp_content_url = mtli_get_wp_path();
    	wp_register_style('mtli_css_head',$wp_content_url.'/plugins/mimetypes-link-icons/css/style.php', array(), 3);
    //	wp_register_style('mtli_css_head',$wp_content_url.'/plugins/mimetypes-link-icons/css/style.php?mtli_height='.mtli_get_option('image_size').'&mtli_image_type='.mtli_get_option('image_type').'&mtli_leftorright='.mtli_get_option('leftorright'));
    	wp_enqueue_style('mtli_css_head');
    }

    Doing so seems to have broken functionality. Was this intentional?

    Also, style.php seems to be open for security issues by not verifying the inputs. I suggest you either verify inputs or find some other way of transferring the variables into the stylesheet.

    All the best,
    John

    http://wordpress.org/extend/plugins/mimetypes-link-icons/

Viewing 1 replies (of 1 total)
  • Plugin Author eagerterrier

    (@eagerterrier)

    @john – this was unintentional. I had been working on some other things and this half finished job went live by mistake

    Sorry for the slip up.

    Fixed in 2.2.1

Viewing 1 replies (of 1 total)
  • The topic ‘MimeTypes Link Icons 2.1.8 CSS call’ is closed to new replies.