• Resolved dejernet

    (@dejernet)


    It’s never a good idea when publishing something to the public to assume a setting such as short_open_tag is going to be set in everyone’s php install.

    I would highly recommend replacing all your <? tags with <?php

    Currently, if someone doesn’t have this setting on, all the php code in your plugin is being dumped as text into their site. This essentially makes your plugin broken.

    https://wordpress.org/plugins/wp-opening-hours/

Viewing 2 replies - 1 through 2 (of 2 total)
  • I agree. I’ve had to create a custom version of your plugin just to test it.

    If we decide to use it, I’ll have to fork your code and create my own just for this issue.

    Plugin Author janizde

    (@janizde)

    Hi, I realised many people had problems with the short tags. The new Version will come with the regular <?php tag all across the code. I hope it will be ready in December or January

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘PHP Short open tags…’ is closed to new replies.