WordPress.org

Plugin Directory

Changeset 392929


Ignore:
Timestamp:
06/04/11 02:08:53 (3 years ago)
Author:
pross
Message:

Undefined index props Bruce Wamppler

File:
1 edited

Legend:

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

    r392486 r392929  
    2525        foreach ( $other_files as $oth_key => $othfile ) { 
    2626            $e = pathinfo($oth_key); 
    27             if (in_array($e['extension'],array('txt','js'))) {           
     27            if ( isset( $e['extension'] ) && in_array( $e['extension'], array( 'txt','js' ) ) ) {            
    2828                if (preg_match("/\r\n/",$othfile)) { 
    2929                    if (preg_match("/[^\r]\n/",$othfile)) { 
Note: See TracChangeset for help on using the changeset viewer.