WordPress.org

Ready to get started?Download WordPress

Forums

I-Agree
[resolved] The link syntax damage (4 posts)

  1. togur
    Member
    Posted 1 year ago #

    If I insert a link tag into a message, plugin changes it after Update (adds "\") - look at result:

    I agree to the <a href=\"http://myweb/?page_id=41\">terms</a> of this site.

    http://wordpress.org/extend/plugins/i-agree/

  2. Michael Stursberg
    Member
    Plugin Author

    Posted 1 year ago #

    I will look into this

  3. Michael Stursberg
    Member
    Plugin Author

    Posted 1 year ago #

    I will be rolling out an update tomorrow to fix this..
    If you would like to fix it before then put in this code at the end of your Theme Functions (functions.php) page

    if ( get_magic_quotes_gpc() ) {
        $_POST      = array_map( 'stripslashes_deep', $_POST );
        $_GET       = array_map( 'stripslashes_deep', $_GET );
        $_COOKIE    = array_map( 'stripslashes_deep', $_COOKIE );
        $_REQUEST   = array_map( 'stripslashes_deep', $_REQUEST );
    }

    Then in the I-Agree options page retype your text with the link and save it again.

  4. togur
    Member
    Posted 1 year ago #

    Thanks, now it is OK.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags

No tags yet.