WordPress.org

Ready to get started?Download WordPress

Forums

Disabling wptexturize() (3 posts)

  1. creativebin
    Member
    Posted 7 years ago #

    I am thinking about disabling the wptexturize function because I really don't like how WordPress messes up my punctuation. I will just comment out any filter that uses this function. I guess my question is: Would it be harmful in anyway to the core? What are the disadvantages?

  2. Doodlebee
    Member
    Posted 7 years ago #

    Would it be harmful in anyway to the core?

    If you're commenting out the stuff from wp-includes/default-filters.php, no.

    What are the disadvantages?

    You won't have that formatting. (of course, that's an advantage, until you actually *want* it ;) )

  3. amandabee
    Member
    Posted 7 years ago #

    You could do it in your theme, by adding this:

    remove_filter('the_content', 'wptexturize');

    to your functions.php file (which you might have to make).

Topic Closed

This topic has been closed to new replies.

About this Topic