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