WordPress.org

Ready to get started?Download WordPress

Forums

Link Library
Large Description killed by German öäüß (7 posts)

  1. frueck2426
    Member
    Posted 3 years ago #

    Hi!

    In link-libary.php by line 1184 i have this:

    $newlink = array("link_name" => wp_specialchars(stripslashes($data[0])),
    	"link_url" => wp_specialchars(stripslashes($data[1])),
    	"link_rss" => wp_specialchars(stripslashes($data[2])),
    	"link_description" => wp_specialchars(stripslashes($data[3])),
    	"link_notes" => wp_specialchars(stripslashes($data[4])),
    	"link_category" => $newlinkcat,
    	"link_visible" => $data[6],
    	"link_image" => $data[11]);
    $newlinkid = wp_insert_link($newlink);

    The "large description" each Link stopps by first char of üöäß. How is it possible to change the "ö" to &o uml; ?

    My php is bad, my english too - sorry about. Does anybody can help by the code?

    Thank you!!

  2. Yannick Lefebvre
    Member
    Plugin Author

    Posted 2 years ago #

    Can you try version 5.0? I replace the function that escapes the special characters since wp_specialchars is deprecated and am wondering if that might have fixed this issue in itself.

  3. frueck2426
    Member
    Posted 2 years ago #

    Hi!

    Tested, but the same problem by import from csv... :(

    But i can´t see in link-libary.php any changes by wp_specialchars - only table, css flat etc. And changes in readmy.txt and css...

    Do i have the right source?
    http://plugins.trac.wordpress.org/browser/link-library?rev=411239&order=date#branches/linklibraryforwp22

  4. frueck2426
    Member
    Posted 2 years ago #

  5. Yannick Lefebvre
    Member
    Plugin Author

    Posted 2 years ago #

    I'm not sure what happened but not all my changes made it onto the WordPress server. I also just realised that I was still missing one call to the esc_html function for the large description. Version 5.0.1 should soon be posted and will hopefully resolve this issue for you.

  6. frueck2426
    Member
    Posted 2 years ago #

    So i will test it now if you send it via email!?

    frueck2426 ät gmail.com

    Thanks!!!

  7. Yannick Lefebvre
    Member
    Plugin Author

    Posted 2 years ago #

    Actually, version 5.0.1 contains the update. Please download and try it out.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic