Magic quotes in WordPress (1 post)

  1. Stefano Lissa
    Posted 6 years ago #

    As you may know, PHP has the magic quotes features. I'm really not understanding how WP deals with magic quotes when in the admin context and in the public context.

    I don't want them on GET, POST, REQUEST data. Have I to strip them always? Have I to check the gpc_magic_quotes (WP sets, checks and changes those values in few files).

    Not all the PHP installations have the magic quotes enabled so I need to be sure texts entered to configure my plugins are saved AS the user entered them.

    Someone can give me a definitive guide to magic quotes and WP.

    [ Signature moderated. ]

Topic Closed

This topic has been closed to new replies.

About this Topic