Support » Plugin: Smart Google Code Inserter » Nitpick: error if short_open_tag=Off

  • Resolved mkilian

    (@mkilian)


    Hi,

    when php is configured with short_open_tag=Off, the plugin fails, because there’s a short open tag (<? instead of <?php) in line 173 of smartgooglecode.php. Here’s a diff which fixes this:

    --- smartgooglecode.php.orig	Thu Oct 18 21:54:15 2012
    +++ smartgooglecode.php	Wed Nov 28 11:40:42 2012
    @@ -170,7 +170,7 @@
         <input name="action" value="savegooglecode" type="hidden" />
       </form>
     </div>
    -<?
    +<?php
     }
    
     	//Save Google Code Info

    http://wordpress.org/extend/plugins/smart-google-code-inserter/

Viewing 1 replies (of 1 total)
  • Plugin Author oturia

    (@oturia)

    Thanks for pointing that out, mkilian. I’ve updated the plugin with the removed short open tag on line 173.

Viewing 1 replies (of 1 total)
  • The topic ‘Nitpick: error if short_open_tag=Off’ is closed to new replies.