WordPress.org

Ready to get started?Download WordPress

Forums

Weird Activation Issue (3 posts)

  1. luckdragon
    Member
    Posted 1 year ago #

    I have a plugin that I wrote that works fine on my site, when activating/deactivating.. however, I sent it to someone, and when they activate it, it shows the php code and generates an error rather than actually executing the code.. any suggestions on how to fix it?

    could it be as simple as changing the <? to <?php

    ?

  2. Yes, you should start your code with <?php for better compatibility :)

  3. luckdragon
    Member
    Posted 1 year ago #

    done, just never heard of having <? causing it to display php code rather than interpreting it..

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.