WordPress.org

Forums

[Plugin: SEO Friendly Images] Need to make a change... WP 2.9.2 (2 posts)

  1. Texiwill
    Member
    Posted 4 years ago #

    At around line 175 change

    $matches[0] = preg_replace('/\s*=\s*/', '=', substr($matches[0],0,strlen($matches[0])-2));

    to be

    $matches[0] = preg_replace('/\s*=\s*/', '=', substr($matches[0],0,strlen($matches[0])));

    As the -2 will strip part of the image name by 2 characters.... i.e .jpg turns into .j

    -Edward

    http://wordpress.org/extend/plugins/seo-image/

  2. Drover
    Member
    Posted 4 years ago #

    Thanks! Just the fix I needed!

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags