Plugin Directory

Changeset 1057457


Ignore:
Timestamp:
12/31/2014 01:34:46 PM (11 years ago)
Author:
Chrgiga
Message:

Update version 1.0.2

Location:
js-file-selector/trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • js-file-selector/trunk/jsfileselector.php

    r1055119 r1057457  
    44Plugin URI: http://www.chrgiga.com/js-file-selector
    55Description: Add Javascript files and/or Javascript functions to any single page or post
    6 Version: 1.0.1
     6Version: 1.0.2
    77Author: Christian Gil
    88Author URI: http://www.chrgiga.com
     
    6868    foreach ($files as $js_dir => $js_list) {
    6969      $name_dir = str_replace($path_template, '', $js_dir);
     70      $name_dir = $name_dir == '' ? '/' : $name_dir;
     71
    7072      if ($name_dir != '' && $option_group != $name_dir) {
    7173        $option_js .= '<optgroup label="'.$name_dir.'">';
    7274        $option_group = $name_dir;
    73       } else if ($name_dir != '') {
     75      } else {
    7476        $option_js .= '</optgroup>';
    7577      }
  • js-file-selector/trunk/readme.txt

    r1055119 r1057457  
    33Donate link: https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=BUAM6QGP997F4
    44Tags: js, page, post, Javascript, file javascript
    5 Requires at least: 3.0.1
     5Requires at least: 3.0
    66Tested up to: 4.1
    7 Stable tag: 1.0.1
     7Stable tag: 1.0.2
    88License: GPLv3 or later
    99License URI: http://www.gnu.org/licenses/gpl-3.0.html
     
    3434== Changelog ==
    3535
     36= 1.0.2 =
     37* Fixed a little error in the field select that showed the Javascript files of the root path in the wrong folders. This little error did not prejudice the functionality of the plugin.
     38
    3639= 1.0.1 =
    3740* Modified the central file to better manage call functions and styles plugin
     
    4346== Upgrade Notice ==
    4447
     48= 1.0.2 =
     49* Fixed a little error in the field select that showed the Javascript files of the root path in the wrong folders. This little error did not prejudice the functionality of the plugin.
     50
    4551= 1.0.1 =
    4652* Modified the central file to better manage call functions and styles plugin
Note: See TracChangeset for help on using the changeset viewer.