Changeset 2463660
- Timestamp:
- 01/27/2021 03:42:56 PM (5 years ago)
- Location:
- hum
- Files:
-
- 4 edited
- 1 copied
-
tags/1.2.7 (copied) (copied from hum/trunk)
-
tags/1.2.7/hum.php (modified) (2 diffs)
-
tags/1.2.7/readme.txt (modified) (5 diffs)
-
trunk/hum.php (modified) (2 diffs)
-
trunk/readme.txt (modified) (5 diffs)
Legend:
- Unmodified
- Added
- Removed
-
hum/tags/1.2.7/hum.php
r2417466 r2463660 6 6 * Author: Will Norris 7 7 * Author URI: https://willnorris.com/ 8 * Version: 1.2. 68 * Version: 1.2.7 9 9 * License: MIT 10 10 * License URI: http://opensource.org/licenses/MIT … … 207 207 */ 208 208 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' ); 210 213 } 211 214 -
hum/tags/1.2.7/readme.txt
r2435259 r2463660 4 4 Requires at least: 3.0 5 5 Tested up to: 5.6 6 Stable tag: 1.2. 66 Stable tag: 1.2.7 7 7 License: MIT 8 8 License URI: http://opensource.org/licenses/MIT … … 108 108 109 109 Project 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) 110 116 111 117 = 1.2.6 = … … 160 166 161 167 = 1.1 = 168 162 169 - allow custom domain to be configured using `HUM_SHORTLINK_BASE` constant or 163 170 via the General Settings admin page. … … 179 186 [#6]: https://github.com/willnorris/wordpress-hum/issues/6 180 187 [#17]: https://github.com/willnorris/wordpress-hum/pull/17 188 [#wp180868]: https://wordpress.org/support/topic/causing-404-on-category-tag-pages/ 181 189 182 190 = 1.0 = 191 183 192 - initial public release 184 193 … … 187 196 188 197 = 1.1 = 198 189 199 Adds a new admin UI for setting a custom domain for shortlinks, includes 190 200 smarter URL matching, and adds various small improvements and bug fixes. -
hum/trunk/hum.php
r2417466 r2463660 6 6 * Author: Will Norris 7 7 * Author URI: https://willnorris.com/ 8 * Version: 1.2. 68 * Version: 1.2.7 9 9 * License: MIT 10 10 * License URI: http://opensource.org/licenses/MIT … … 207 207 */ 208 208 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' ); 210 213 } 211 214 -
hum/trunk/readme.txt
r2435259 r2463660 4 4 Requires at least: 3.0 5 5 Tested up to: 5.6 6 Stable tag: 1.2. 66 Stable tag: 1.2.7 7 7 License: MIT 8 8 License URI: http://opensource.org/licenses/MIT … … 108 108 109 109 Project 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) 110 116 111 117 = 1.2.6 = … … 160 166 161 167 = 1.1 = 168 162 169 - allow custom domain to be configured using `HUM_SHORTLINK_BASE` constant or 163 170 via the General Settings admin page. … … 179 186 [#6]: https://github.com/willnorris/wordpress-hum/issues/6 180 187 [#17]: https://github.com/willnorris/wordpress-hum/pull/17 188 [#wp180868]: https://wordpress.org/support/topic/causing-404-on-category-tag-pages/ 181 189 182 190 = 1.0 = 191 183 192 - initial public release 184 193 … … 187 196 188 197 = 1.1 = 198 189 199 Adds a new admin UI for setting a custom domain for shortlinks, includes 190 200 smarter URL matching, and adds various small improvements and bug fixes.
Note: See TracChangeset
for help on using the changeset viewer.