[wp-trac] [WordPress Trac] #39198: Additional CSS (With Italian Localization) Bug
WordPress Trac
noreply at wordpress.org
Fri Dec 9 10:34:21 UTC 2016
#39198: Additional CSS (With Italian Localization) Bug
------------------------------+-----------------------------
Reporter: dan.sed | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Build/Test Tools | Version: 4.7
Severity: normal | Keywords:
Focuses: |
------------------------------+-----------------------------
Good day,
I don't know if I'm writing in the correct section, so I apologize in
advance.
I found a bug in WordPress 4.7.0 with the italian language installed.
When customizing a theme via the "Additional CSS" tool, an error is
generated when saving the custom code.
I will attach a screenshot of this error.
In particular, in italian is translated the CSS comment section:
{{{
/*
You can add your own CSS here.
Click the help icon above to learn more.
*/
}}}
in this way:
{{{
/*
Puoi aggiungere qui il tuo CSS.
Per saperne di più fai clic sull'icona di aiuto qui sopra.
*/
}}}
As you can see, there is a single quote {{{ ' }}} in the CSS comment. The
problem is that, when saving the custom CSS, WordPress generate the
following error:
{{{
Your single quotes ' are uneven. Make sure there is a closing ' for every
opening '.
}}}
At first I thought I had made a typing error, but the error is generated
even when saving only that comment.
I know I can avoid this error not using the {{{ ' }}} in the CSS code, but
I think "normal" users won't understand this, even because in italian the
use of single quote is often necessary.
Maybe WordPress should not "check" the comment sections in order to check
if single quotes are uneven. But this is only an opinion :D
However you can replicate this error installing WordPress in italian in
localhost, customizing the default theme and editing the "Additional CSS"
section (in italian "CSS aggiuntivo").
I hope that my report will be useful, and thank you very much for
everything you do.
''Dan''
--
Ticket URL: <https://core.trac.wordpress.org/ticket/39198>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list