Make WordPress Core

Opened 8 years ago

Closed 8 years ago

Last modified 8 years ago

#5518 closed enhancement (wontfix)

Missing option to turn off "Fancy Quotes"

Reported by: RanYanivHartstein Owned by:
Milestone: Priority: normal
Severity: normal Version: 2.3.1
Component: Administration Keywords:
Focuses: Cc:


WordPress currently replaces "regular" quotes with “fancy” quotes by default, and there is no way to turn this off other than hacking away at wp-includes/formatting.php

Fancy quotes are fine in English, but other languages have other needs and WordPress should accommodate that - at least in so far as letting users turn off the automatic conversion and using whatever quote style they want.

For e.g., Hebrew uses regular quotes and not fancy quotes, but currently Hebrew users using WordPress get fancy quotes in all their posts.

I propose adding an option for turning off fancy quotes, in the same way that emoticons can be turned off in Writing page of the Settings section in the administration interface.

Alternatively, WordPress can automatically default to the correct quote style to use according to the locale set in wp-config.php, or according to a variable set for every local distribution.

Change History (6)

#1 @filosofo
8 years ago

You can disable the "fancy quotes" with a plugin--no hacking required. See Text Control for an example.

#2 @lloydbudd
8 years ago

  • Milestone set to 2.5
  • Version set to 2.3.1

#3 @RanYanivHartstein
8 years ago

I can do many things with plugins, but people usually think of plugins as ways of adding functionality to WordPress, not removing functionality. Furthermore, plugins are far from intuitive, and this is not a personal issue I have with WordPress - it affects anybody using WordPress with non-latin scripts.

I think WordPress should have this functionality built in and not resort to a plugin.

#4 in reply to: ↑ description @filosofo
8 years ago

Since this seems to be a l10n issue, probably the best way to address it is to remove the fancy quotes filter in a "fa.php" file, the kind of file which is described here, in a manner similar to the way right-to-left text direction is set.

My guess is that you won't get much traction in trying adding another option to the admin pages, as the lead WordPress developers seem loathe to add options.

#5 @westi
8 years ago

  • Milestone 2.5 deleted
  • Resolution set to wontfix
  • Status changed from new to closed

--more options.

The correct way to achieve this would be in a localisation specific file as filosofo says.

#6 @RanYanivHartstein
8 years ago

I won't press this issue further, but I have to say that I don't understand this decision.

The administration interface already offers localization-related options that could just as well have been relegated to the xx_YY.php localization functions file (first day of the week, timezone, encoding). Adding this option would just complete the package, and could probably prove useful to people using the default locale, who for whatever reason don't want fancy quotes in their posts.

Note: See TracTickets for help on using tickets.