Forum Replies Created

Viewing 4 replies - 1 through 4 (of 4 total)
  • Don’t use the plugin, or try an older version if you can find it. There must be some conflicting code between the plugin and your theme thats causing it to go into meltdown mode and mess up your layout

    Can you describe the issue in more detail?

    Take a look at this post i made and resolved a few days ago. I know its not completely relevant to your issue but i was having character stripping issues with the press this reloaded plugin.

    LINK

    If i were you i would look at my post and check the line of code i removed from the plugin and compare that to the widget code of your existing site, see if there is any similar code in there that is stripping characters.

    Its often a security practice to stop the use these characters as without that someone might find a way to bypass auth to a specific section of the admin interface (in your case the widget section), edit your widget code and implant some malicious code or redirecting code for their own profit. I imagine thats why WordPress stopped the functionality of that in widgets.

    Hope it helps a bit

    Thread Starter rcanpolat

    (@rcanpolat)

    UPDATE & RESOLVED

    I managed to figure this out myself, I jumped into the plugin code and done some editing. For anyone else wanting to know what i did please read on.

    The following was done using: Press This Reloaded (Version: 1.0.3) on WordPress 3.5.1

    • Log into your WP Admin
    • Select “Plugins/Editor”
    • On the right size of the screen where it says “Select Plugin To Edit” select the “Press This Reloaded Plugin” and hit the “Select” Button.
    • Where it lists the plugin files make sure “select-this-reloaded.php” is selected
    • Scroll down about half way and you will see the following code:
    $selection = '';
    		if ( !empty($_GET['s']) ) {
    			$selection = str_replace(''', "'", stripslashes($_GET['s']));
    			$selection = trim( htmlspecialchars( html_entity_decode($selection, ENT_QUOTES) ) );
    
    		}
    • Replace that code with the following:
    $selection = '';
    		if ( !empty($_GET['s']) ) {
    			$selection = str_replace(''', "'", stripslashes($_GET['s']));
    
    		}

    You should now be able to use the Press This Reloaded Bookmark and stop it from ripping special characters out of copied text.

    https://www.insanitypop.com

Viewing 4 replies - 1 through 4 (of 4 total)