PHP short tags
-
I discovered a small incompatibility with certain PHP installs. In version 2.3.2 of the plugin, in the
sg_popup_media_button.php
file, line 118 makes use of the<?=
short tag for PHP. In versions of PHP prior to 5.4, this short tag will not work if the PHP’sshort_open_tag
option is set to false in the php.ini. In PHP 5.4 or greater, the<?=
short tag always works regardless of the setting (according to PHP docs). To fix for older versions of PHP, change<?=
to<?php echo
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘PHP short tags’ is closed to new replies.