Plugin Directory

Changeset 2961568


Ignore:
Timestamp:
09/01/2023 09:59:28 AM (3 years ago)
Author:
willnorris
Message:

Update to version 1.3.2 from GitHub

Location:
hum
Files:
4 edited
1 copied

Legend:

Unmodified
Added
Removed
  • hum/tags/1.3.2/hum.php

    r2892764 r2961568  
    66 * Author: Will Norris
    77 * Author URI: https://willnorris.com/
    8  * Version: 1.3.1
     8 * Version: 1.3.2
    99 * License: MIT
    1010 * License URI: http://opensource.org/licenses/MIT
     
    183183     * PBworks wiki, you could use:
    184184     *
    185      *     add_filter('hum_redirect_base_w',
    186      *         create_function('', 'return "http://willnorris.pbworks.com/";'));
     185     *     add_filter('hum_redirect_base_w', fn() => "http://willnorris.pbworks.com/");
    187186     *
    188187     * @uses apply_filters() Calls 'hum_redirect_{$type}' action
  • hum/tags/1.3.2/readme.txt

    r2892764 r2961568  
    33Tags: shortlink, whistle, diso
    44Requires at least: 3.0
    5 Tested up to: 6.2
    6 Stable tag: 1.3.1
     5Tested up to: 6.3
     6Stable tag: 1.3.2
    77Requires PHP: 5.6
    88License: MIT
     
    7272If you'd like to include your Amazone Affiliate ID in the `/i/` redirect URLs, implement the `amazon_affiliate_id` filter.  For example:
    7373
    74     add_filter('amazon_affiliate_id', create_function('', 'return "willnorris-20";'));
     74    add_filter('amazon_affiliate_id', fn() => "willnorris-20");
    7575
    7676= Additional Local Types =
     
    102102You can redirect all traffic for a prefix using a single line of PHP my implementing the `hum_redirect_base_{type}` filter where `{type}` is the prefix to redirect.  For example, I redirect all `/w/` URLs to wiki.willnorris.com using:
    103103
    104     add_filter('hum_redirect_base_w',
    105       create_function('', 'return "http://wiki.willnorris.com/";'));
     104    add_filter('hum_redirect_base_w', fn() => "http://wiki.willnorris.com/");
    106105
    107106
     
    109108
    110109Project maintined on github at [willnorris/wordpress-hum](https://github.com/willnorris/wordpress-hum).
     110
     111= 1.3.2 =
     112
     113 - update documentation
    111114
    112115= 1.3.1 =
  • hum/trunk/hum.php

    r2892764 r2961568  
    66 * Author: Will Norris
    77 * Author URI: https://willnorris.com/
    8  * Version: 1.3.1
     8 * Version: 1.3.2
    99 * License: MIT
    1010 * License URI: http://opensource.org/licenses/MIT
     
    183183     * PBworks wiki, you could use:
    184184     *
    185      *     add_filter('hum_redirect_base_w',
    186      *         create_function('', 'return "http://willnorris.pbworks.com/";'));
     185     *     add_filter('hum_redirect_base_w', fn() => "http://willnorris.pbworks.com/");
    187186     *
    188187     * @uses apply_filters() Calls 'hum_redirect_{$type}' action
  • hum/trunk/readme.txt

    r2892764 r2961568  
    33Tags: shortlink, whistle, diso
    44Requires at least: 3.0
    5 Tested up to: 6.2
    6 Stable tag: 1.3.1
     5Tested up to: 6.3
     6Stable tag: 1.3.2
    77Requires PHP: 5.6
    88License: MIT
     
    7272If you'd like to include your Amazone Affiliate ID in the `/i/` redirect URLs, implement the `amazon_affiliate_id` filter.  For example:
    7373
    74     add_filter('amazon_affiliate_id', create_function('', 'return "willnorris-20";'));
     74    add_filter('amazon_affiliate_id', fn() => "willnorris-20");
    7575
    7676= Additional Local Types =
     
    102102You can redirect all traffic for a prefix using a single line of PHP my implementing the `hum_redirect_base_{type}` filter where `{type}` is the prefix to redirect.  For example, I redirect all `/w/` URLs to wiki.willnorris.com using:
    103103
    104     add_filter('hum_redirect_base_w',
    105       create_function('', 'return "http://wiki.willnorris.com/";'));
     104    add_filter('hum_redirect_base_w', fn() => "http://wiki.willnorris.com/");
    106105
    107106
     
    109108
    110109Project maintined on github at [willnorris/wordpress-hum](https://github.com/willnorris/wordpress-hum).
     110
     111= 1.3.2 =
     112
     113 - update documentation
    111114
    112115= 1.3.1 =
Note: See TracChangeset for help on using the changeset viewer.