WordPress.org

Forums

MimeTypes Link Icons
[resolved] MimeTypes Link Icons 2.1.8 CSS call (2 posts)

  1. John Percival
    Member
    Posted 2 years ago #

    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/

  2. eagerterrier
    Member
    Plugin Author

    Posted 2 years ago #

    @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

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • MimeTypes Link Icons
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic

Tags

No tags yet.