WordPress.org

Ready to get started?Download WordPress

Forums

Smart Google Analytics Code
[resolved] Nitpick: error if short_open_tag=Off (2 posts)

  1. mkilian
    Member
    Posted 1 year ago #

    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/

  2. oturia
    Member
    Plugin Author

    Posted 1 year ago #

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

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags

No tags yet.