• Slushman

    (@butimnoexpert)


    I’m writing a plugin and I have successfully made an Admin Options for it, however WordPress isn’t saving all of my options. It saves #1, & #3, but not #2. I’ve double checked all the code and I can’t seem to find the bug Can someone help me figure this out?

    I’ve got three options: song name, mp3 URL, and ogg URL. WP saves the song name and the ogg url, but not the mp3 url.

    http://christopherjoel.com/FantasyWorld/music/

    Here’s the code page:

    [Code moderated as per the Forum Rules. Please use the pastebin]

Viewing 3 replies - 1 through 3 (of 3 total)
  • Thread Starter Slushman

    (@butimnoexpert)

    Thread Starter Slushman

    (@butimnoexpert)

    Or try this, since the embed doesn’t work…

    http://pastebin.com/z92S02cP

    Thread Starter Slushman

    (@butimnoexpert)

    OK, it’s working now. I deactivated it, changed to the code to try saving the options as an array, when that didn’t work I changed it all back, uploaded the latest version, activated, and it works. Not really sure what I did different from earlier, but it works.

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘Plugin not saving options’ is closed to new replies.