WordPress.org

Plugin Directory

Changeset 434965


Ignore:
Timestamp:
09/08/11 01:29:31 (3 years ago)
Author:
pross
Message:

Constants recommended

File:
1 edited

Legend:

Unmodified
Added
Removed
  • theme-check/trunk/checks/constants.php

    r426765 r434965  
    2222                    $error = ltrim( rtrim( $matches[0], '(' ) ); 
    2323                    $grep = tc_grep( $error, $php_key ); 
    24                     $this->error[] = "<span class='tc-lead tc-info'>INFO</span>: <strong>{$error}</strong> was found in the file <strong>{$filename}</strong>. Use <strong>{$check}</strong> instead.{$grep}"; 
    25                     $ret = false; 
     24                    $this->error[] = "<span class='tc-lead tc-recommended'>RECOMMENDED</span>: <strong>{$error}</strong> was found in the file <strong>{$filename}</strong>. Use <strong>{$check}</strong> instead.{$grep}"; 
    2625                } 
    2726            } 
Note: See TracChangeset for help on using the changeset viewer.