WordPress.org

Support

Support » Plugins and Hacks » [Resolved] Custom PHP Code Displayed on Page

[Resolved] Custom PHP Code Displayed on Page

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author WillBontrager

    @willbontrager

    Try temporarily deactivating Code Snippets for a quick test. There may be a conflict that causes one to run the PHP code and the other to publish it.

    A note about Insert PHP: The code used in an [insert_php]-[/insert_php] code block needs to be complete in itself. It can’t be depended on to access variables declared or assigned outside the code block. Insert PHP works by putting the entire code block into an eval statement.

    Looking at your test page code, I’m thinking Ajax may be a viable alternative to obtain the information and publish it.

    Will

    Plugin Author WillBontrager

    @willbontrager

    Insert PHP has had a bug fix. The new version, 1.1, is available as of today.

    Although I couldn’t duplicate the reported issue, I’m thinking the bug fix will have resolved it.

    Will

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘[Resolved] Custom PHP Code Displayed on Page’ is closed to new replies.