Changeset 562916
- Timestamp:
- 06/23/2012 02:47:27 PM (14 years ago)
- Location:
- shorter-links/trunk
- Files:
-
- 2 edited
-
readme.txt (modified) (2 diffs)
-
shorter_links.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
shorter-links/trunk/readme.txt
r561032 r562916 5 5 Requires at least: 3.0 6 6 Tested up to: 3.4 7 Stable tag: 2.0. 17 Stable tag: 2.0.2 8 8 9 9 Override the default WordPress "shortlink" URL with one that … … 62 62 63 63 64 **2.0.2 - 23 June 2012** 65 Fall back to REQUEST_URI if there's nothing interesting in $query_vars. 66 64 67 **2.0.1 - 20 June 2012** 65 68 Updated to handle 4 digit short links that look like a year to WordPress. -
shorter-links/trunk/shorter_links.php
r561032 r562916 4 4 Plugin URI: http://wordpress.org/extend/plugins/shorter-links/ 5 5 Description: Overrides WordPress' shortlink functionality to allow custom shortcodes per post. 6 Version: 2.0. 16 Version: 2.0.2 7 7 Author: Rob Allen 8 8 Author URI: http://akrabat.com … … 27 27 $shortLink = $query_vars['year']; 28 28 } 29 if(empty($shortLink) && isset($_SERVER['REQUEST_URI'])) { 30 $shortLink = trim($_SERVER['REQUEST_URI'], '/'); 31 } 29 32 if (empty($shortLink)) { 30 33 return $query_vars;
Note: See TracChangeset
for help on using the changeset viewer.