3 Plugin Name: Allow Hyphens in Short URLs
\r
4 Plugin URI: http://yourls.org/
\r
5 Description: Allow hyphens in short URLs (like <tt>http://sho.rt/hello-world</tt>)
\r
8 Author URI: http://ozh.org/
\r
12 if( !defined( 'YOURLS_ABSPATH' ) ) die();
\r
14 yourls_add_filter( 'get_shorturl_charset', 'ozh_hyphen_in_charset' );
\r
15 function ozh_hyphen_in_charset( $in ) {
\r