Cette extension n’a pas été testée avec plus de trois mises à jour majeures de WordPress. Elle peut ne plus être maintenue ou supportée et peut avoir des problèmes de compatibilité lorsqu’elle est utilisée avec des versions de WordPress plus récentes.

Bold To Strong

Description

Converts <b> and </b> to <strong> and </strong>, and <i> and </i> to <em> and </em>. It works in the non-editor view (normal view) of the posts, pages, and comments.

HTML Techniques for Web Content Accessibility Guidelines 2.0 recommends that strong and em should be used to denote emphasis instead of b and i. This is because screen readers (used by blind people, etc. to browse the web) process only strong and em, not b and i.

Additionally, the b and i elements were deprecated in HTML 4.01 and XHTML. This plugin corrects these deprecated tags without modifying your data. (If you uninstall the plugin, your blog works as if this plugin was never installed.)

Captures d’écrans

  • Some posts, pages, and comments still use b and i tags, unfortunately.
  • When viewed in a web browser like Firefox, it looks the same.
  • However, the HTML source shows that the tags have been converted. E.g., if you are using Firefox, you can go to View > Page Source and see the changes.

Installation

Unzip the zip file into the /wp-content/plugins/ directory. Activate the plugin through the ‘Plugins’ menu in WordPress.

FAQ

Can I still use SyntaxHighlighter to post source code with ‘b’ and ‘i’ elements?

Yes. I have tested this plugin, and it is compatible with the SyntaxHighlighter Evolved plugin. If you install the SyntaxHighlighter plugin and you are purposely trying to post HTML code snippets, for example, then b and i tags will not be converted into strong and em tags.

Avis

Il n’y a aucun avis pour cette extension.

Contributeurs/contributrices & développeurs/développeuses

« Bold To Strong » est un logiciel libre. Les personnes suivantes ont contribué à cette extension.

Contributeurs

Traduisez « Bold To Strong » dans votre langue.

Le développement vous intéresse ?

Parcourir le code, consulter le SVN dépôt, ou s’inscrire au journal de développement par RSS.

Journal des modifications

1.1

  • Handles uppercase B and I elements