Plugin Directory

Changeset 839033


Ignore:
Timestamp:
01/15/2014 01:28:53 PM (12 years ago)
Author:
samface
Message:

Fixed a bug that caused routines to not log everything that should be logged

Location:
angry-creative-logger/trunk
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • angry-creative-logger/trunk/plugin.php

    r839002 r839033  
    44Plugin URI: http://angrycreative.se
    55Description: Inspects and logs possible issues with your Wordpress installation.
    6 Version: 0.3
     6Version: 0.3.1
    77Author: Robin Björklund, Sammy Nordström, Angry Creative AB
    88*/
  • angry-creative-logger/trunk/readme.txt

    r839002 r839033  
    44Requires at least: 3.0.1
    55Tested up to: 3.8
    6 Stable tag: 0.3
     6Stable tag: 0.3.1
    77License: GPLv2 or later
    88License URI: http://www.gnu.org/licenses/gpl-2.0.html
     
    2222== Changelog ==
    2323
    24 = 0.3 =
     24= 0.3.x =
    2525* Completely rewritten sources abstracting settings and inspection routines
    2626* Possible to override default log levels on inspection routines
  • angry-creative-logger/trunk/routines.php

    r839003 r839033  
    4646    } catch ( Exception $e ) {
    4747
    48         return AC_Inspector::log($e->getMessage(), __FUNCTION__);
     48        AC_Inspector::log($e->getMessage(), __FUNCTION__);
    4949
    5050    }
     
    9292
    9393            if($file_created) {
    94                 return AC_Inspector::log('Was able to create a file in `/' . $folder . '` despite DISALLOW_FILE_MODS being set to true. Check your file permissions.', __FUNCTION__);
     94                AC_Inspector::log('Was able to create a file in `/' . $folder . '` despite DISALLOW_FILE_MODS being set to true. Check your file permissions.', __FUNCTION__);
    9595            }
    9696
     
    9898
    9999            if(!$file_created){
    100                 return AC_Inspector::log('Was not able to create a file in `/' . $folder . '`. Check your file permissions.', __FUNCTION__);
     100                AC_Inspector::log('Was not able to create a file in `/' . $folder . '`. Check your file permissions.', __FUNCTION__);
    101101            }
    102102
     
    129129                    if ( !$visible ) {
    130130
    131                         return AC_Inspector::log('Site '.$site_blog_id.' is not visible to search engines.', __FUNCTION__);
     131                        AC_Inspector::log('Site '.$site_blog_id.' is not visible to search engines.', __FUNCTION__);
    132132
    133133                    }
     
    144144        if ( !$visible ) {
    145145
    146             return AC_Inspector::log('The site is not visible to search engines.', __FUNCTION__);
     146            AC_Inspector::log('The site is not visible to search engines.', __FUNCTION__);
    147147
    148148        }
Note: See TracChangeset for help on using the changeset viewer.