Plugin Directory

Changeset 1079150


Ignore:
Timestamp:
01/30/2015 06:08:19 PM (11 years ago)
Author:
mneil
Message:

Skip compression when handle script handle is empty

Location:
mncombine/trunk
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • mncombine/trunk/README.txt

    r819955 r1079150  
    44Tags: css, javascript, js, cascade, style, sheet, combine, compress, uglify, minify, closure, admin, aggregate, cache
    55Requires at least: 3.3.1
    6 Tested up to: 3.8
    7 Stable tag: 1.1.3
     6Tested up to: 4.1
     7Stable tag: 1.1.5
    88
    99Easily manage the merging and compression of js and css files from plugins and themes
     
    5656== Changelog ==
    5757
     58= 1.1.5 =
     59* Skip checking when script handle is empty
     60
     61= 1.1.4 =
     62* Suppress errors on strstr($js, $use) when use is empty
     63
     64= 1.1.3 =
     65* Verified working on WP version 3.8.1
     66
    5867= 1.1.2 =
    5968* Verified against WP version 3.6.1
  • mncombine/trunk/class-plugin-mncombine.php

    r819955 r1079150  
    2525     * @var     string
    2626     */
    27     protected $version = '1.1.3';
     27    protected $version = '1.1.5';
    2828
    2929    /**
     
    659659      $match = false;
    660660      //loop the files list to combine
    661       foreach($assets['combine']['js'] as $js )
    662         //if the file is in the list
    663         if( strstr( $js, $use ) )
    664         {
    665           //we have a match, we'll continue below
    666           $match = true;
    667           break;
    668         }
     661      if( $use )
     662        foreach($assets['combine']['js'] as $js )
     663          //if the file is in the list
     664          if( @strstr( $js, $use ) )
     665          {
     666            //we have a match, we'll continue below
     667            $match = true;
     668            break;
     669          }
    669670      //file isn't in the combine list
    670671      if( !$match )
  • mncombine/trunk/lang/mn-combine.pot

    r819955 r1079150  
    33msgid ""
    44msgstr ""
    5 "Project-Id-Version: MnCombine 1.1.3\n"
     5"Project-Id-Version: MnCombine 1.1.5\n"
    66"Report-Msgid-Bugs-To: http://wordpress.org/tag/mncombine\n"
    77"POT-Creation-Date: 2013-11-12 23:56:16+00:00\n"
  • mncombine/trunk/mncombine.php

    r819955 r1079150  
    1515 * Plugin URI: http://mneilsworld.com/php-2/mncombine-wp-plugin-release
    1616 * Description: Easily manage the merging and compression of js and css files from plugins and themes
    17  * Version: 1.1.3
     17 * Version: 1.1.5
    1818 * Author: Michael Neil
    1919 * Author URI: http://mneilsworld.com/
Note: See TracChangeset for help on using the changeset viewer.