Support » Plugins » Hacks » wp_texturize disabling bug

  • For my documentation site I need wp_texturize to be switched off.

    I read somewhere how to do this properly so I wrote a simple plugin:

     * Plugin Name: F*ck wptexturize
     * Description: Disables wptexturize
     * Version: 0
     * Author: J.N. Breetvelt a.k.a. OpaJaap
     * Author URI:
     * Plugin URI:
    if ( ! defined( 'ABSPATH' ) ) die( "Can't load this file directly" );
    // Debugging
    // error_reporting( E_ALL );
    // Switch off wptexturize
    add_filter( 'run_wptexturize', '__return_false' );

    However, a double quote is still destructified into an ‘italic’ version, like the inch symbol, when it appears right after an integer.

    i.e. album=”$piet” is untouched, but in album=”3″, the last double quote is damaged. See

Viewing 2 replies - 1 through 2 (of 2 total)
  • Moderator bcworkz


    I didn’t know ‘*’ was a legal plugin name character 😉

    Your plugin works fine on my site, something else must be in play. It appears your content is being run through wptexturize_primes() somehow. I think you know the drill for narrowing down the cause by deactivating all plugins etc.

    If you can determine where it’s being applied you should be able to counteract it by removing whatever was added.

    Thanx for your quick reply. I did not expect that a plugin that is supposed to act on the admin side only would cause this: Capsman I think it’s useless to report it there, it has not been updated for 2 years and the most recent closed topic is 4 years old. I can live without it. This topic closed.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘wp_texturize disabling bug’ is closed to new replies.