WordPress.org

Make WordPress Core

Changeset 23584


Ignore:
Timestamp:
03/02/2013 09:10:12 PM (7 years ago)
Author:
SergeyBiryukov
Message:

Use correct variable. see [23575]. see #21767.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-admin/includes/misc.php

    r23575 r23584  
    221221 */
    222222function url_shorten( $url ) {
    223     $short_url = str_replace( array( 'http://', 'www.' ), '', $short_url );
     223    $short_url = str_replace( array( 'http://', 'www.' ), '', $url );
    224224    $short_url = untrailingslashit( $short_url );
    225225    if ( strlen( $short_url ) > 35 )
Note: See TracChangeset for help on using the changeset viewer.