Forum Replies Created

Viewing 5 replies - 1 through 5 (of 5 total)
  • Same problem. Just installed last version (1.2.1), WP 3.4.1 and I get a fatal error when I try to activate the plugin:

    Parse error: syntax error, unexpected 'endforeach' (T_ENDFOREACH) in F:\www\vivamibarrio\blog\wp-content\plugins\profile-custom-content-type\profile-custom-content-type.php on line 2274

    Also, you are using some “<?” tags instead of ‘<?php’ (I found it in lines 2117, 2137, 2256, 2294 and 2324 of file profile-custom-content-type.php). Is this safe enough? Couldn’t this trigger errors in some PHP configurations?

    Thread Starter juanlopez4691

    (@juanlopez4691)

    greenshady, I am talking about links included as part of posts content. The HTML title attribute of those links is the problem (if there’s an apostrophe in it).

    Thread Starter juanlopez4691

    (@juanlopez4691)

    Yes, I tried the slash, and then I get the slash displayed too.

    Thread Starter juanlopez4691

    (@juanlopez4691)

    I don’t think it would work. I tried using
    &#039; but & (ampersand) char is replaced by its HTML entity &amp; and I get
    El Zoo d'en <a href="https://whatever.com" title="Zoo d&amp;#039;en Pitus">Pitus</a>

    Thread Starter juanlopez4691

    (@juanlopez4691)

    Sorry, I could not edit and correct errors in my previous post.

    I am using single quote chars ' as apostrophes (i need them as the web I manage is in catalan language) and I seems to work perfect in posts. The problem starts when I write something like “Malson, de l’Araceli” as a the title attribute of a link. When I save the post and it gets show in the frontend, ' becomes " and the title attribute gets truncated.

    So, what should be
    <a href="whatever-url" title="Malson, de l'Araceli">...

    Is saved correctly but is finally shown as
    <a href="whatever-url" title="Malson, de l"Araceli">...
    when it passes through the template
    Ugly!

    This problem seems to affect only title attributes in href links. All other apostrophes in the post get shown as

    Any ideas?

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