Plugin Directory

Changeset 1111798


Ignore:
Timestamp:
03/13/2015 10:03:14 AM (11 years ago)
Author:
Sergejack
Message:

1.0.2

Location:
this-page-needs-files
Files:
15 added
4 edited

Legend:

Unmodified
Added
Removed
  • this-page-needs-files/trunk/binder/main2urls.php

    r1106746 r1111798  
    1717    }
    1818   
    19     $fileExtension = '/^(?:.*\/)?\w+\.(\w+)[^\/]*$/';
     19    $fileExtension = '/^(?:.*\/)?(?:\w+\.)+(\w+)[^\/]*$/';
    2020   
    2121    $returnValue = new TPNF_Model_Urls();
  • this-page-needs-files/trunk/js/main.js

    r1106746 r1111798  
    55    var relativeError = "http://..., https://..., ftp://..., etc.";
    66   
    7     var fileExtension = /^(?:.*\/)?\w+\.(\w+)[^\/]*$/;
     7    var fileExtension = /^(?:.*\/)?(?:\w+\.)+(\w+)[^\/]*$/;
    88   
    99    var indices = {};
  • this-page-needs-files/trunk/readme.txt

    r1108852 r1111798  
    22Contributors: Jacquemin Serge
    33Tags: Stylesheet, CSS, Javascript, JS, Specific, External, File, Page, Post
    4 Requires at least: 4.1
    5 Tested up to: 4.1.1
    6 Stable tag: 1.0.1
     4Requires at least: 4.0.1
     5Tested up to: 4.2
     6Stable tag: 1.0.2
    77License: Apache License, Version 2.0
    88License URI: http://www.apache.org/licenses/LICENSE-2.0
     
    193193== Changelog ==
    194194
    195 v1.0.1
     1951.0.2
     196
     197- Slightly better Regular Expression Pattern for auto detection of files' types
     198
     1991.0.1
    196200
    197201- SPL Types (PECL) not required anymore
    198202
    199 v1.0.0
     2031.0.0
    200204
    201205- Initial release.
  • this-page-needs-files/trunk/this-page-needs-files.php

    r1109268 r1111798  
    33 * Plugin Name: This page needs file
    44 * Description: Allow to include urls to javascript and css files inside the HTML header on a page/post specifc basis.
    5  * Version: 1.0.1
    6  * Date: 09/03/2015
     5 * Version: 1.0.2
     6 * Date: 13/03/2015
    77 * Author: Jacquemin Serge
    88 * Author URI: http://www.mch.be
     
    1616}
    1717
    18 if (!include('requirements.php')) {
     18if (!include(dirname(__FILE__) . '/requirements.php')) {
    1919    // requirements not met
    2020    return;
Note: See TracChangeset for help on using the changeset viewer.