juanlopez4691
Forum Replies Created
-
Forum: Plugins
In reply to: [Profile CCT] [Plugin: Profile CCT] Activation fatal error…helpSame 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?
Forum: Fixing WordPress
In reply to: Apostrophe in title attribute of linksgreenshady, 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).
Forum: Fixing WordPress
In reply to: Apostrophe in title attribute of linksYes, I tried the slash, and then I get the slash displayed too.
Forum: Fixing WordPress
In reply to: Apostrophe in title attribute of linksI don’t think it would work. I tried using
'
; but&
(ampersand) char is replaced by its HTML entity&
; and I get
El Zoo d'en <a href="https://whatever.com" title="Zoo d
&
;#039
;en Pitus">Pitus</a>
Forum: Fixing WordPress
In reply to: Single quote char changes to double quoteSorry, 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?