WordPress.org

Plugin Directory

Changeset 412305


Ignore:
Timestamp:
07/20/11 02:19:10 (3 years ago)
Author:
pross
Message:

bump timthumb, unique results for filenames.

Location:
theme-check/trunk/checks
Files:
2 edited

Legend:

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

    r410848 r412305  
    3838        foreach( $blacklist as $file => $reason ) { 
    3939            if ( $filename = preg_grep( '/' . $file . '/', $filenames ) ) { 
    40                 $error = implode( $filename, ' ' ); 
     40                $error = implode( array_unique( $filename ), ' ' ); 
    4141                $this->error[] = "<span class='tc-lead tc-warning'>WARNING</span>: <strong>{$error}</strong> {$reason} found."; 
    4242                $ret = false; 
  • theme-check/trunk/checks/timthumb.php

    r410848 r412305  
    66        $ret = true; 
    77         
    8         $latest = '1.30'; // set to latest timthumb http://code.google.com/p/timthumb/source/browse/trunk/timthumb.php  
     8        $latest = '1.31'; // set to latest timthumb http://code.google.com/p/timthumb/source/browse/trunk/timthumb.php  
    99         
    1010        foreach ( $php_files as $name => $content ) { 
Note: See TracChangeset for help on using the changeset viewer.