Skip to:
Content

BuddyPress.org


Ignore:
Timestamp:
04/20/2015 04:08:00 PM (11 years ago)
Author:
johnjamesjacoby
Message:

All: make sure URLs are escaped (2.2 branch)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/2.2/src/bp-core/bp-core-classes.php

    r9663 r9773  
    24252425
    24262426        // Add href attribute
    2427         $attributes = ! empty( $item->link ) ? ' href="' . esc_attr( esc_url( $item->link ) ) . '"' : '';
     2427        $attributes = ! empty( $item->link ) ? ' href="' . esc_url( $item->link ) . '"' : '';
    24282428
    24292429        // Construct the link
Note: See TracChangeset for help on using the changeset viewer.