• Resolved yoopits

    (@yoopits)


    I wrote a plugin whose form-handling code is being executed twice: once before the page header is output and again when the page’s main content is being produced. It should only execute when the main content is produced. (I suspect that my theme is improperly causing it to execute when the header is being generated.)

    Is there a theme tag to test whether code is being executed during content-generation time? That would give me an easy fix.

Viewing 1 replies (of 1 total)
  • Thread Starter yoopits

    (@yoopits)

    I just noticed I’m in the wrong forum. Please ignore this. I will repost this in the Hacks forum. Sorry.

Viewing 1 replies (of 1 total)
  • The topic ‘Form-handling code executing twice’ is closed to new replies.