Plugin Directory

Changeset 2052811


Ignore:
Timestamp:
03/18/2019 04:54:46 PM (7 years ago)
Author:
blacklodgegames
Message:

misc bug fix to remove gzcompression on diagnostics

Location:
indiedev-game-marketer
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • indiedev-game-marketer/tags/2.0.1/admin/class-indiedev-game-marketer-admin.php

    r2052803 r2052811  
    588588                        <p>
    589589                        <strong>'.__('WARNING','indiedev-game-marketer').':</strong> '.__('Do not post this code in a public place.  The code below contains sensitive information about your site.  Only share this information with parties you trust, such as this plugins developer, your web developers, etc.  The information here may be useful for technicians to diagnose what may be causing an issue that you have.  To view this data, run it through the base64_decode() PHP function ', 'indiedev-game-marketer');
    590                         if(function_exists('gzcompress')) {_e(' followed by the gzuncompress() PHP function', 'indiedev-game-marketer');}
     590                       
    591591                        echo '</p>
    592592                    </div>
     
    698698            $output .='</pre>';
    699699            if (function_exists('base64_encode')) {
    700                 if(function_exists('gzcompress')) {
    701                     echo @base64_encode(gzcompress($output,9));
    702                 } else {
     700
    703701                    echo @base64_encode($output);
    704                 }
     702
    705703            } else {
    706704                echo $output.'
  • indiedev-game-marketer/trunk/admin/class-indiedev-game-marketer-admin.php

    r2052803 r2052811  
    588588                        <p>
    589589                        <strong>'.__('WARNING','indiedev-game-marketer').':</strong> '.__('Do not post this code in a public place.  The code below contains sensitive information about your site.  Only share this information with parties you trust, such as this plugins developer, your web developers, etc.  The information here may be useful for technicians to diagnose what may be causing an issue that you have.  To view this data, run it through the base64_decode() PHP function ', 'indiedev-game-marketer');
    590                         if(function_exists('gzcompress')) {_e(' followed by the gzuncompress() PHP function', 'indiedev-game-marketer');}
     590                       
    591591                        echo '</p>
    592592                    </div>
     
    698698            $output .='</pre>';
    699699            if (function_exists('base64_encode')) {
    700                 if(function_exists('gzcompress')) {
    701                     echo @base64_encode(gzcompress($output,9));
    702                 } else {
     700
    703701                    echo @base64_encode($output);
    704                 }
     702
    705703            } else {
    706704                echo $output.'
Note: See TracChangeset for help on using the changeset viewer.