Support » Plugins » Unexpected plugin behaviour

  • I found unexpected behaviour in how WordPress handles plugins, which I think is a bug. Here are two plugins to demonstrate:

    One
    Two

    To see what happens, create and save a post and look for the “good” or “bad” in the notices area. After a post is saved you should see “good”, but instead you see “bad”. (You can see that $testplugin->save() is indeed executed by uncommenting the indicated line in test.php)

    Is this a bug in WordPress, or did I make a wrong assumption?

  • The topic ‘Unexpected plugin behaviour’ is closed to new replies.