Plugin Directory

Changeset 2463660


Ignore:
Timestamp:
01/27/2021 03:42:56 PM (5 years ago)
Author:
willnorris
Message:

Update to version 1.2.7 from GitHub

Location:
hum
Files:
4 edited
1 copied

Legend:

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

    r2417466 r2463660  
    66 * Author: Will Norris
    77 * Author URI: https://willnorris.com/
    8  * Version: 1.2.6
     8 * Version: 1.2.7
    99 * License: MIT
    1010 * License URI: http://opensource.org/licenses/MIT
     
    207207     */
    208208    public function rewrite_rules() {
    209         add_rewrite_rule( '([a-z](\/.*)?$)', 'index.php?hum=$matches[1]', 'top' );
     209        $local_types = $this->local_types();
     210        $local_types = implode( '', $local_types );
     211
     212        add_rewrite_rule( "([{$local_types}i](\/.*)?$)", 'index.php?hum=$matches[1]', 'top' );
    210213    }
    211214
  • hum/tags/1.2.7/readme.txt

    r2435259 r2463660  
    44Requires at least: 3.0
    55Tested up to: 5.6
    6 Stable tag: 1.2.6
     6Stable tag: 1.2.7
    77License: MIT
    88License URI: http://opensource.org/licenses/MIT
     
    108108
    109109Project maintined on github at [willnorris/wordpress-hum](https://github.com/willnorris/wordpress-hum).
     110
     111= 1.2.7 =
     112
     113 - redirect only known types (see [#wp180868][])
     114
     115[full changelog](https://github.com/willnorris/wordpress-hum/compare/1.2.6...1.2.7)
    110116
    111117= 1.2.6 =
     
    160166
    161167= 1.1 =
     168
    162169 - allow custom domain to be configured using `HUM_SHORTLINK_BASE` constant or
    163170   via the General Settings admin page.
     
    179186[#6]: https://github.com/willnorris/wordpress-hum/issues/6
    180187[#17]: https://github.com/willnorris/wordpress-hum/pull/17
     188[#wp180868]: https://wordpress.org/support/topic/causing-404-on-category-tag-pages/
    181189
    182190= 1.0 =
     191
    183192 - initial public release
    184193
     
    187196
    188197= 1.1 =
     198
    189199Adds a new admin UI for setting a custom domain for shortlinks, includes
    190200smarter URL matching, and adds various small improvements and bug fixes.
  • hum/trunk/hum.php

    r2417466 r2463660  
    66 * Author: Will Norris
    77 * Author URI: https://willnorris.com/
    8  * Version: 1.2.6
     8 * Version: 1.2.7
    99 * License: MIT
    1010 * License URI: http://opensource.org/licenses/MIT
     
    207207     */
    208208    public function rewrite_rules() {
    209         add_rewrite_rule( '([a-z](\/.*)?$)', 'index.php?hum=$matches[1]', 'top' );
     209        $local_types = $this->local_types();
     210        $local_types = implode( '', $local_types );
     211
     212        add_rewrite_rule( "([{$local_types}i](\/.*)?$)", 'index.php?hum=$matches[1]', 'top' );
    210213    }
    211214
  • hum/trunk/readme.txt

    r2435259 r2463660  
    44Requires at least: 3.0
    55Tested up to: 5.6
    6 Stable tag: 1.2.6
     6Stable tag: 1.2.7
    77License: MIT
    88License URI: http://opensource.org/licenses/MIT
     
    108108
    109109Project maintined on github at [willnorris/wordpress-hum](https://github.com/willnorris/wordpress-hum).
     110
     111= 1.2.7 =
     112
     113 - redirect only known types (see [#wp180868][])
     114
     115[full changelog](https://github.com/willnorris/wordpress-hum/compare/1.2.6...1.2.7)
    110116
    111117= 1.2.6 =
     
    160166
    161167= 1.1 =
     168
    162169 - allow custom domain to be configured using `HUM_SHORTLINK_BASE` constant or
    163170   via the General Settings admin page.
     
    179186[#6]: https://github.com/willnorris/wordpress-hum/issues/6
    180187[#17]: https://github.com/willnorris/wordpress-hum/pull/17
     188[#wp180868]: https://wordpress.org/support/topic/causing-404-on-category-tag-pages/
    181189
    182190= 1.0 =
     191
    183192 - initial public release
    184193
     
    187196
    188197= 1.1 =
     198
    189199Adds a new admin UI for setting a custom domain for shortlinks, includes
    190200smarter URL matching, and adds various small improvements and bug fixes.
Note: See TracChangeset for help on using the changeset viewer.