• If write this code: e.g
    add_action(‘edit_user_profile’, ‘custom_user_profile_fields’);

    it saves this code:

    add_action(& # 039;edit_user_profile & # 039;, & # 039;custom_user_profile_fields & # 039;);

    it’s replacing the ‘ with the ASCII version

    I tried commenting out this, but it didn’t work:
    //define(‘DB_CHARSET’, ‘utf8’);
    //define(‘DB_COLLATE’, ”);

    not sure if it’s the plugin or a conflict somewhere else; it just started…

    • This topic was modified 2 years, 11 months ago by Duke Snoogens.
    • This topic was modified 2 years, 11 months ago by Duke Snoogens.
    • This topic was modified 2 years, 11 months ago by Duke Snoogens.
    • This topic was modified 2 years, 11 months ago by Duke Snoogens.
Viewing 1 replies (of 1 total)
  • Plugin Author Shea Bunge

    (@bungeshea)

    I’m wondering if this is down to your database table encoding. I’d try backing up all your snippets (using the export feature), then deleting the snippets table in your database and re-importing them.

Viewing 1 replies (of 1 total)
  • The topic ‘Saving is breaking my code?’ is closed to new replies.