Changeset 26487
- Timestamp:
- 11/30/2013 10:38:46 PM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/formatting.php
r26486 r26487 1863 1863 $smiley = trim( reset( $matches ) ); 1864 1864 $img = $wpsmiliestrans[ $smiley ]; 1865 $smiley_masked = esc_attr( $smiley );1866 1865 1867 1866 /** … … 1876 1875 $src_url = apply_filters( 'smilies_src', includes_url( "images/smilies/$img" ), $img, site_url() ); 1877 1876 1878 return " <img src='$src_url' alt='$smiley_masked' class='wp-smiley' /> ";1877 return sprintf( ' <img src="%s" alt="%s" class="wp-smiley" /> ', esc_url( $src_url ), esc_attr( $smiley ) ); 1879 1878 } 1880 1879
Note: See TracChangeset
for help on using the changeset viewer.