Changeset 23584 for trunk/wp-admin/includes/misc.php
- Timestamp:
- 03/02/2013 09:10:12 PM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-admin/includes/misc.php
r23575 r23584 221 221 */ 222 222 function url_shorten( $url ) { 223 $short_url = str_replace( array( 'http://', 'www.' ), '', $ short_url );223 $short_url = str_replace( array( 'http://', 'www.' ), '', $url ); 224 224 $short_url = untrailingslashit( $short_url ); 225 225 if ( strlen( $short_url ) > 35 )
Note: See TracChangeset
for help on using the changeset viewer.