WordPress.org

Make WordPress Core


Ignore:
Timestamp:
06/02/11 17:05:55 (7 years ago)
Author:
ryan
Message:

Validation fixes. Props ocean90, xknown. fixes #17364

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-admin/includes/class-wp-users-list-table.php

    r18010 r18114  
    113113            /* translators: User role name with count */ 
    114114            $name = sprintf( __('%1$s <span class="count">(%2$s)</span>'), $name, $avail_roles[$this_role] ); 
    115             $role_links[$this_role] = "<a href='" . esc_html( add_query_arg( 'role', $this_role, $url ) ) . "'$class>$name</a>"; 
     115            $role_links[$this_role] = "<a href='" . esc_url( add_query_arg( 'role', $this_role, $url ) ) . "'$class>$name</a>"; 
    116116        } 
    117117 
Note: See TracChangeset for help on using the changeset viewer.