WordPress.org

Make WordPress Core


Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/4.4/src/wp-includes/widgets.php

    r35725 r36148  
    608608        $index = "sidebar-$index";
    609609    } else {
    610         $sanitized_index = sanitize_title( $index );
     610        $index = sanitize_title( $index );
    611611        foreach ( (array) $wp_registered_sidebars as $key => $value ) {
    612             if ( sanitize_title( $value['name'] ) == $sanitized_index ) {
     612            if ( sanitize_title( $value['name'] ) == $index ) {
    613613                $index = $key;
    614614                break;
Note: See TracChangeset for help on using the changeset viewer.