Find replace
Replace string changed randomly (2 posts)

  1. juliedc
    Posted 3 years ago #

    I entered: <div id="testimonials"> but the string was changed and all replacements were made as <div id=\"testimonials\">. Will go find a different plugin to fix this.


  2. ramon fincken
    Plugin Author

    Posted 2 years ago #

    This is not random, but a built in security.

    WP has a function to prevent all this and it is called before replacement:

    //Is magic quotes on?
    		// http://codex.wordpress.org/Function_Reference/stripslashes_deep
    		if ( get_magic_quotes_gpc() ) {
    			$_POST = array_map( 'stripslashes_deep', $_POST );

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Find replace
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic