• Resolved Triptikon

    (@triptikon)


    Your Ultimate Member and Ultimate Member – reCAPTCHA plugins in a pair deform the herringbone quotes (???) on the whole site, turning them into “”. Why did you add such a hidden function, I do not understand, but I am more interested in how to fix it now?

    The page I need help with: [log in to see the link]

Viewing 9 replies - 1 through 9 (of 9 total)
  • Plugin Contributor Champ Camba

    (@champsupertramp)

    Hi @triptikon

    Could you please provide a screenshot of the exact issue that you’re seeing?

    Regards,

    Thread Starter Triptikon

    (@triptikon)

    @champsupertramp here it is: https://ibb.co/hMfFwGY. And it should be with these quotes: ???. They return only when I disable your plugins

    Plugin Contributor Champ Camba

    (@champsupertramp)

    Hi @triptikon

    UM ReCaptcha doesn’t have any functionality that changes post titles. could you please tell us what version of UM ReCaptcha you’re using?

    Regards,

    Thread Starter Triptikon

    (@triptikon)

    2.1.8. UM ReCaptcha maybe doesn’t have, but with UM itself it does

    Plugin Contributor Champ Camba

    (@champsupertramp)

    Hi @triptikon

    Could you please contact us via [email protected] so we can have a closer look at this issue?

    Please include this topic URL in the email message.

    Regards,

    Plugin Contributor Champ Camba

    (@champsupertramp)

    After the investigation, we couldn’t find the root cause of the issue with the encoding. We ended up providing a code snippet to fix the issue with filter hooks for the Post Title and Post content.

    Here are the code snippets:

    add_filter("the_title","um_040921_fix_title_encoding",999999999);
    add_filter("wpseo_title","um_040921_fix_title_encoding",999999999);
    function um_040921_fix_title_encoding($title){
    
    	$arr_replace = [
    		 '“' => '?',
    		 '”' => '?',
    		 '"' => '?',
    		 '"' => '?',
    	];
    	
    	 return strtr(  $title , $arr_replace );
    }
    
    add_filter("the_content",function($title){
    
    	$arr_replace = [
    		 '“' => '?',
    		 '”' => '?',
    		 
    	];
    	
    	 return strtr(  $title , $arr_replace );
    },999999999);

    Regards,

    • This reply was modified 3 years, 7 months ago by Champ Camba.
    Thread Starter Triptikon

    (@triptikon)

    … I didn’t quite understand: if this code needs to be inserted into functions.php to solve the problem, it doesn’t help because of syntax error, unexpected '&'. Or did you mean something else?

    Thread Starter Triptikon

    (@triptikon)

    and another question: how to remove the duplicate “Confirm password” phrase from the registration form? (see screenshot https://ibb.co/V2cH2cT)

    … I didn’t quite understand: if this code needs to be inserted into functions.php to solve the problem, it doesn’t help because of syntax error, unexpected ‘&’. Or did you mean something else?

    I have this problem with quotes too…
    Please help

Viewing 9 replies - 1 through 9 (of 9 total)
  • The topic ‘How to return the quotes?’ is closed to new replies.